OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: sinayion on July 09, 2022, 07:15:59 am

Title: [SOLVED] Kernel panic/crash every boot after a shutdown
Post by: sinayion on July 09, 2022, 07:15:59 am
Hi all,

I have a Lenovo ThinkCentre M75s Small Form Factor Gen 2 Desktop (https://www.lenovo.com/us/en/p/desktops/thinkcentre/m-series-sff/thinkcentre-m75s-gen-2/11tc1mdm75s). After installing opnsense 22.1.2, I'm noticing kernel panics/crashes that happen as follows:
- I boot the system
- Log in
- Choose the prompt to shutdown (5)
- Turn system back on
- Notice the system has hung as a kernel panic/crash and never auto-reboots. Keyboard is also unresponsive at this time.

Here is a picture taken via my phone of the last screen: https://imgur.com/a/0UGkRta. Reboots never cause this issue (option 6). Even after updating the OS, the issue still happens.

For the sake of testing purposes, I installed FreeBSD 13.1 on the same machine, and noticed that a similar weird issue happens. After I invoke "shutdown -p now", when I turn the system back on the OS boots up, then auto-reboots before showing me the login prompt; after this reboot I see the login prompt. This never happens if I invoke the reboot command. There are never any crash logs in the FreeBSD OS location /var/crash.

Any ideas? Let me know if you need more info, and how I can get it for you.

Thanks
Title: Re: Kernel panic/crash every boot after a shutdown
Post by: xPliZit_xs on August 03, 2022, 03:14:47 pm
The solution for B550 chipset and above system is to disable HDA audio in the BIOS to avoid the Kernel panic.
Title: Re: Kernel panic/crash every boot after a shutdown
Post by: sinayion on August 09, 2022, 12:02:36 pm
The solution for B550 chipset and above system is to disable HDA audio in the BIOS to avoid the Kernel panic.

Thanks for this. I got the same advice on reddit. I'm assuming this is a bug FreeBSD needs to fix, and not opnsense?