OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: davidolrik on July 31, 2020, 08:25:44 pm

Title: After upgrade to 20.7 - hangs during boot
Post by: davidolrik on July 31, 2020, 08:25:44 pm
Hi,

I Just updated to 20.7, and after reboot it just hangs. Hardware is a Deciso A10.

I can connect a console cable and press control+c to go into single user mode and then exit single user mode, after which it boots as normal.

Code: [Select]
ugen4.1: <AMD EHCI root HUB> at usbus4
ugen1.1: <AMD OHCI root HUB> at usbus1
uhub0: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen3.1: <AMD OHCI root HUB> at usbus3
ugen2.1: <AMD EHCI root HUB> at usbus2
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub1: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
uhub2: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub3: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
uhub4: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <TS128GSSD370S N1126KB> ACS-2 ATA SATA 3.x device
ada0: Serial Number C434162910
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 1024bytes)
ada0: Command Queueing enabled
ada0: 122104MB (250069680 512 byte sectors)
Trying to mount root from ufs:/dev/ufs/opnsense [rw,noatime]...
arc4random: no preloaded entropy cache
random: unblocking device.
uhub1: 4 ports with 4 removable, self powered
uhub3: 4 ports with 4 removable, self powered
uhub4: 4 ports with 4 removable, self powered
uhub0: 4 ports with 4 removable, self powered
uhub2: 4 ports with 4 removable, self powered

^C  <---- It hangs here.

2020-07-31T18:48:07.190743+02:00  init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter full pathname of shell or RETURN for /bin/sh:
#
# ^DMounting filesystems...
tunefs: soft updates remains unchanged as enabled
tunefs: file system reloaded
tunefs: issue TRIM to the disk remains unchanged as enabled
tunefs: file system reloaded
** /dev/ufs/opnsense
FILE SYSTEM CLEAN; SKIPPING CHECKS
clean, 54392121 free (21961 frags, 6796270 blocks, 0.0% fragmentation)
Setting hostuuid: 25368743-50b4-11e8-98b5-f490ea10068b.
Setting hostid: 0x9b4894a0.
Configuring syscons: blanktime.
Configuring crash dump device: /dev/null
swapon: /dev/ufs/swap: No such file or directory
.ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/ipsec /usr/local/lib/mysql /usr/local/lib/perl5/5.30/mach/CORE
32-bit compatibility ldconfig path: /usr/lib32
done.
>>> Invoking early script 'update'
>>> Invoking early script 'configd'
Starting configd.
>>> Invoking early script 'templates'
Generating configuration: OK
>>> Invoking early script 'backup'
>>> Invoking backup script 'captiveportal'
>>> Invoking backup script 'dhcpleases'

If I reboot again, it hangs the at the same place.
Title: Re: After upgrade to 20.7 - hangs during boot
Post by: alexharvard on August 02, 2020, 11:24:21 pm
Hi,

i had a similar issue.
Had to wait about 15 minutes, while these the router crashed two times and then booted successfully.
"Issue" only occurred on the first automated reboot right after upgrading to 20.7.

@davidolrik: How long did you wait before reboot it again?
Title: Re: After upgrade to 20.7 - hangs during boot
Post by: davidolrik on August 03, 2020, 09:29:40 am
I waited several hours, as I started the upgrade just before leaving work and only started looking into what went wrong when the kids complained about the lack of internet.

And the problem persists - every time I reboot, I have to connect to the console and control+c into single user mode, and then exit to complete the boot sequence.
Title: Re: After upgrade to 20.7 - hangs during boot
Post by: elfrom on August 04, 2020, 12:18:10 am
I experience exactly the same problem.
I have to do the following after reboot "Ctrl - c" - [enter] - "exit" - [enter]
Running headless i do it blindfolded  8) ;D
Title: Re: After upgrade to 20.7 - hangs during boot
Post by: davidolrik on August 21, 2020, 10:27:33 am
Updated to 2.7.1, and the problem is still there.
Title: Re: After upgrade to 20.7 - hangs during boot
Post by: AdSchellevis on August 22, 2020, 10:52:53 pm
The easiest fix is probably to reinstall the device, I've had a similar issue on a machine today after flushing the disk the issue was fixed.

probably same as https://github.com/opnsense/core/issues/4247#issuecomment-678692807

Best regards,

Ad