pfSense CE installation boots fine, fails to reboot
-
Hmm, so you don't have to reinstall? Just power cycle it to boot correctly?
Sounds like it could be a timing issue. If you interrupt the boot at the bootloader menu and then continue (by entering
boot
) does it succeed? -
That's correct. No re-install necessary. Just poweroff and cold boot. Perfectly fine. No corruption of the FS ever detected.
I just interrupted the boot process at the menu. Waited a minute and then fired off the boot command. Still fails.
Hard power off....Power back on...Successful boot.
I'm stumped.
-
Hmm, does it fail to the
mountroot>
prompt? Do any drives show there if you enter?
-
@stephenw10 It does fail to mountroot. No drives are found when you ? for the list.
For whatever reason, on reboot it just never finds the NVMe drive, but again...cold boot is fine.
I'll attempt to load it on a traditional HDD and see what's up. I don't think I have SATA SSD on hand...I'll look.
-
Hmm, weird.
I have seen NVMe drives that are only recognised at cold boot. But in those cases it fails to boot entirely.
You could try setting the loader value for
kern.cam.boot_delay=10000
to something higher. That's set in /boot/loader.conf.If that works add it to /boot/loader.conf.local.
-
@stephenw10 I added the 10000 value into the loader.conf. No difference. I can try and raise that. I'm currently installing to a SATA HDD to see how that behaves.
Definitely bizarre.
-
Yes, sorry, 10000 is the value we usually use. You might need something higher.
-
@stephenw10 Okay...So SATA HDD works fine. Looks like an issue with this specific NVMe drive. Going to search for another NVMe and try that to confirm.
Thanks!!!
-
Resolved!
For whatever reason, the Hynix NVMe wouldn't play ball with pfSense. Replaced with a Crucial and we're off to the races.
Thanks!
-
Nice