{"id":41,"date":"2025-12-30T13:00:46","date_gmt":"2025-12-30T13:00:46","guid":{"rendered":"https:\/\/davis-technologies.com\/?p=41"},"modified":"2025-12-30T13:01:50","modified_gmt":"2025-12-30T13:01:50","slug":"opnsense-kernel-panic-on-boot","status":"publish","type":"post","link":"https:\/\/davis-technologies.com\/?p=41","title":{"rendered":"OPNsense Kernel Panic on Boot"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/davis-technologies.com\/wp-content\/uploads\/2025\/12\/IMG_8935-1024x768.jpeg\" alt=\"\" class=\"wp-image-42\" srcset=\"https:\/\/davis-technologies.com\/wp-content\/uploads\/2025\/12\/IMG_8935-1024x768.jpeg 1024w, https:\/\/davis-technologies.com\/wp-content\/uploads\/2025\/12\/IMG_8935-300x225.jpeg 300w, https:\/\/davis-technologies.com\/wp-content\/uploads\/2025\/12\/IMG_8935-768x576.jpeg 768w, https:\/\/davis-technologies.com\/wp-content\/uploads\/2025\/12\/IMG_8935-1536x1152.jpeg 1536w, https:\/\/davis-technologies.com\/wp-content\/uploads\/2025\/12\/IMG_8935-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Please note that this issue appeared on a Sophos XG Firewall that I have converted to an OPNsense.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Problem<\/h2>\n\n\n\n<p>This is now the second time, I have had this issue arise after an upgrade and reboot. The system goes into a kernel panic and fails to boot, meaning that it never starts the NICs so the only way to access it is through an IPMI (not setup) or by physically connecting a mouse and keyboard.<\/p>\n\n\n\n<p>Looking into the issue more, it looks to be an issue with the underlying OS, FREEBSD, and the Intel chipset. The specific issue is with the keyboard controller. The fix is to get Console access, and run some commands to turn the flags on, which we will cover below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resolution<\/h2>\n\n\n\n<p>You will first need to plug a keyboard and monitor into the unit so that you can access the console.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Physically reboot the device<\/li>\n\n\n\n<li>When the &#8220;OPNsense Boot Screen&#8221; appears press <em>3<\/em> to exit the menu and enter the console<\/li>\n\n\n\n<li>Type the following command <code>set hint.atkbc.0.disabled=\"1\"<\/code><\/li>\n\n\n\n<li>Press <em>Enter<\/em><\/li>\n\n\n\n<li>Type the following command <code>set hint.atkb.0.disabled=\"1\"<\/code><\/li>\n\n\n\n<li>Press <em>Enter<\/em><\/li>\n\n\n\n<li>Type the following command <code>boot<\/code><\/li>\n\n\n\n<li>Press <em>Enter<\/em><\/li>\n<\/ol>\n\n\n\n<p>You should now see the OPNsense running through its startup process. Note that if it was updating that it will need to finish the update script before becoming accessible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please note that this issue appeared on a Sophos XG Firewall that I have converted to an OPNsense. Problem This is now the second time, I have had this issue arise after an upgrade and reboot. The system goes into a kernel panic and fails to boot, meaning that it never starts the NICs so [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/davis-technologies.com\/index.php?rest_route=\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davis-technologies.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davis-technologies.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davis-technologies.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davis-technologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":2,"href":"https:\/\/davis-technologies.com\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/davis-technologies.com\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/davis-technologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davis-technologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davis-technologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}