Can't reset or usb connect to console of SG-5100
-
@stephenw10 yes, the power LED is green. what do you mean the system log on the connected client? i'm not sure how to check that. i'm on macOS and when I check the About this Mac > System Report, I don't see anything in the USB tab.
I guess some additional context. I'm trying to connect to console via USB because I stopped getting an IP address assigned when connected via ethernet. This all happened after I experienced some power/electrical issues at my place.
-
Running
dmesg
at the command line should show it. Otherwise check:
https://docs.netgate.com/pfsense/en/latest/hardware/connect-to-console.html?highlight=macos#macos -
@stephenw10 hi, I was able to get connected to the console port.
I got this output at the end, then no response.
-
-
That looks like a failing eMMC module. If it's in warranty you should open a ticket with us. Otherwise I'd advise you fit an m.2 SATA SSD as soon as possible to avoid any further ware on the eMMC.
https://docs.netgate.com/pfsense/en/latest/solutions/sg-5100/m-2-sata-installation.html -
@stephenw10 Ohhh. thank you for the advise. What is typical warranty on the unit? 1yr?
I ordered the 5100 with the SSD installed.any specific brand of m.2 SATA SSD read/write spec. I should get?
I have not opened the unit yet, I do not know how it is look alike and I do not want to order a wrong type. (i know not to use NVMe)
-
@patian No specific brands - just not NVMe.
-
@patian said in Can't reset or usb connect to console of SG-5100:
I ordered the 5100 with the SSD installed.
From us directly? AFAIK we never supplied them with an SSD fitted.
The boot log doesn't go far enough to show if another driver is detected. If it is present you may only need to reinstall to it. Perhaps it was still booting from the eMMC incorrectly.
-
@rcoleman-netgate hi, I ordered this 5100 directly from netgate with an add-ons option to it. I am still looking for the copy of the order from my file.
I cannot remember what it is. It increased its memory or something... There was only 1 add-ons option to it to select.The boot log stopped as shown in the file and it did not go any further.
It might work if I simply reinstall the pfsences plus?
or eMMC simply death? -
If you run the installer from USB it will show you the available install targets. But I don't expect you will find one. The expansion option was almost certainly RAM.
-
@stephenw10 I have requested a support ticket for a copy of pfsense software. I will do a USB reinstall.
I just wonder why it failed. or if it is the hardware about to fail?
If the re-install fails to make it work again, does it mean the hardware is finished?
-
There's no way to recover the eMMC if it fails but you can boot from SSD without issue.
However if the eMMC fails entirely it causes a long delay at boot which can be inconvenient. There is currently no workaround for that.Steve
-
@stephenw10 Thank you for the advise.
If it is a eMMC failure, I can simply install a M. 2 SATA drive and re-install the pfsence onto the M.2 SATA drive.
5100 will boot from the new SATA drive, but it will take a longer time.
What size of M.2 SATA drive should be installed for the pfsense.
Is there a min spec. on the M.2 SATA drive to be installed onto the 5100?
Is there a setting to bypass the eMMC during boot?
Is it possible simply replace the eMMC module? -
The eMMC drive as it is has not failed entirely, it's still trying to boot from it. So you should be able fit an m.2 SSD and set that as the boot device in the BIOS.
If the eMMC fails entirely the BIOS still tries to boot from it but it no longer appears at all and the timeout is very long. -
@patian https://docs.netgate.com/pfsense/en/latest/solutions/sg-5100/m-2-sata-installation.html
-
Yeah, I'm not aware of any limitation on the m.2 SSD you can use other than it must be SATA and not NVMe. You probably want to smallest capacity drive you can find. 32GB is more than sufficient for pfSense.
-
@stephenw10 Thank you for the advise. I installed a new M2. SSD drive, re-installed the pfsense plus onto the SSD drive. I changed the BIOS to boot from the M2 Drive first.
Now it seems everything is back to normal. Thank you for all the inputs. I did not expect the hardware to fail after 2 years, simply bad luck....
-
@rcoleman-netgate i got a new usb cable and i can see the port now. however, when i connect to the device, it looks like it runs the bios(?) but continues to reboot itself over and over again. i can see the initial screen where i can select to:
Boot multi user
Boot single user
Escape to loader prompt
etc...after it defaults to boot multi user. there's a lot of output and finally ends with:
``
Tracing command kernel pid 0 tid 100098 td 0xfffff8000e49c740
sched_switch() at sched_switch+0x630/frame 0xfffffe002ce6e9a0
mi_switch() at mi_switch+0xd4/frame 0xfffffe002ce6e9d0
sleepq_wait() at sleepq_wait+0x2c/frame 0xfffffe002ce6ea00
_sleep() at _sleep+0x253/frame 0xfffffe002ce6ea80
taskqueue_thread_loop() at taskqueue_thread_loop+0xe9/frame 0xfffffe002ce6eab0
fork_exit() at fork_exit+0x7e/frame 0xfffffe002ce6eaf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe002ce6eaf0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
db:0:kdb.enter.default> capture off
db:0:kdb.enter.default> textdump dump
Textdump complete.
db:0:kdb.enter.default> reset
cpu_reset: Restarting BSP
cpu_reset_proxy: Stopped CPU 1this happens over and over. any advice?
-
@gumbyone Need to see the whole thing... but reinstallation is a good first step. Especially if it is running on a UFS partition.
-
Yes, we'd need to see the panic string to know for sure but if it;s booting UFS it's probably a filesystem issue. And that can usually be resolved by:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html#manual-filesystem-check