Netgate 3100 will not come up
-
I have seen boot loops in two places on the SG-3100. It can panic and reboot when it tries to mount the root filesystem, that's far more common. It happens ~30s into the boot, the complete cycle is somewhere ~50s depending on what you're booting from and what you have loaded.
It can also boot loop directly in uboot so it fails to load the FreeBSD boot loader and resets. That is much quicker so you see the LEDs reset maybe every 15s. I never actually timed that.
In both cases the boot cycle is fixed length and does not vary so that's useful to diagnose just by looking at the LEDs.
The fact the three LEDs start flashing blue indicates uboot is completing it's hardware setup and running the bootcmd env.In all cases you should see output on the serial console though so that's the first step.
Make sure you see a new device when you attach the cable.
Make sure the driver is loaded.Steve
-
I have been seeing your first example. Will the cycle stop when I log in through the console to run fsck?
-
Yes, when you boot to single user mode
it does not try to mount root soyou reach the prompt.Then you can run fsck repeatedly to correct all the issues and it will mount correctly at the next boot.
Steve
-
@stephenw10 said in Netgate 3100 will not come up:
Yes, when you boot to single user mode it does not try to mout root so you reach the prompt.
It does mount root, but as read-only, which is safer and unlikely to trigger the typical sorts of filesystem panics.
It is more rare but there are cases when even that will panic, but the filesystem has to be really, really hosed.
-
So is there a trick to boot into single user mode. The Marvel boot loader is so fast I keep missing something because it gets to the end and wants to reboot or shutdown.
I was able to get to a loader prompt loader> but I cannot do fsck from it.
-
@amarcino said in Netgate 3100 will not come up:
So is there a trick to boot into single user mode. The Marvel boot loader is so fast I keep missing something because it gets to the end and wants to reboot or shutdown.
I was able to get to a loader prompt loader> but I cannot do fsck from it.
Try this trick from an older thread:
https://forum.netgate.com/topic/125712/netgate-sg-3100-boot-loop-ufs_dirbad.
According to @Derelict in that thread, the ARM appliances don't present the same boot menu as the AMD/Intel boxes do.
-
Perfect, file system clean and I am watching my packages starting up!!!
I am now looking at a PF Sense menu in console and it sure is pretty!!!
-
@amarcino said in Netgate 3100 will not come up:
Perfect, file system clean and I am watching my packages starting up!!!
I am now looking at a PF Sense menu in console and it sure is pretty!!!
Good deal. Probably did not wait quite long enough before pulling power when you did the Halt System command. Whenever I've had to do that, I wait like a couple of minutes or more to be 100% sure.
-
Seeing how long it took to halt from the console, I think I rushed it yesterday.
Anyway, got things back and that is good. I will consider myself lucky to not have to go through that again.
:)
-
Backup you config file. Keep a copy of the firmware recovery image on a USB stick. You can put the config file on that USB stick for even faster recovery.
https://docs.netgate.com/pfsense/en/latest/backup/automatically-restore-during-install.html#configuration-from-usb-during-install
With that in place you'll probably never see any issues again.Steve
-
I want to thank you all, and the PFSense support team in helping me with this problem I had.