opnsense 2.7 won't reboot

Started by jwketchum, October 02, 2020, 10:20:10 PM

Previous topic - Next topic
Opnsense 2.7.2 freezes on reboot, initiated from web interface.  Recovers after waiting ~15 minutes and cycling power.
Upgraded to 2.7.3, upgrade appears to complete successfully, with reboot initiated, but system does not reboot.  Again wait 15 minutes and cycle power, and system comes back up quickly with 2.7.3 apparently successfully installed. 

Subsequently log onto system with ssh and issue "shutdown -r now", and system shuts down cleanly and comes back up quickly.

Would appreciate any suggestions about what the problem may be.  I would like to be able to keep the system firmware/software up  to date, but it makes me nervous when the install does not proceed smoothly.

October 03, 2020, 08:28:12 AM #1 Last Edit: October 03, 2020, 09:08:15 AM by littlepepper
How does it freeze?

I used to use Opnsense on a Thinkpad with a Realtek PCIE Expresscard, it won't reboot and show POST unless I pull the Ethernet card out and push it in after POST.

By freeze, I mean doesn't restart. It appears to shutdown cleanly, but never comes back up.  This is what system.log has to say:
Oct  2 11:55:24 xxwall shutdown[37189]: reboot by root: 
Oct  2 11:55:24 xxwall shutdown[37189]: reboot by root: 
Oct  2 11:55:27 xxwall syslogd: exiting on signal 15
Oct  2 12:08:35 xxwall syslogd: kernel boot file is /boot/kernel/kernel
Oct  2 12:08:35 xxwall kernel: ---<<BOOT>>---

The upgrade completed and initiated a reboot at 11:55:24 -- 11:55:27.  13 minutes later, I cycled the power and the system booted normally.  In the intervening 13 minutes, the system was entirely unresponsive, although the power was on.  The network interface was not up and not responding to pings.  Nothing was written in the system log file.  I have seen the same behavior when I initiate a reboot manually from the web interface.  However if I log in using ssh and initiate a reboot from the command line with "shutdown -r now" the system shuts down and then restarts in less than 2 minutes, without cycling power:
Oct  2 12:27:07 xxwall shutdown[25295]: reboot by root: 
Oct  2 12:27:07 xxwall shutdown[25295]: reboot by root: 
Oct  2 12:27:12 xxwall syslogd: exiting on signal 15
Oct  2 12:28:39 xxwall syslogd: kernel boot file is /boot/kernel/kernel
Oct  2 12:28:39 xxwall kernel: ---<<BOOT>>---

I had the same problem until I installed 20.7.3, and now it reboots in less than 2 minutes. Have you tried rebooting since upgrading? Seems to have fixed it for me.