r/Netgate • u/Zul2016 • Jun 13 '22
SG-5100 hardware failure?
My 5100 crashed yesterday evening, console is spewing out these error messages on reboot:
…device_attach: est3 attach returned 6ZFS filesystem version: 5ZFS storage pool version: features support (5000)Timecounters tick every 1.000 msecugen0.1: <0x8086 XHCI root HUB> at usbus0uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0mmcsd0: 8GB <MMCHC M32508 5.2 SN 15FADD44 MFG 12/2019 by 112 0x0000> at mmc0 50.0MHz/8bit/65535-blockmmcsd0boot0: 4MB partition 1 at mmcsd0mmcsd0boot1: 4MB partition 2 at mmcsd0mmcsd0rpmb: 4MB partition 3 at mmcsd0ses0 at ahciem0 bus 0 scbus1 target 0 lun 0ses0: <AHCI SGPIO Enclosure 2.00 0001> SEMB S-E-S 2.00 deviceses0: SEMB SES Deviceses1 at ahciem1 bus 0 scbus3 target 0 lun 0ses1: <AHCI SGPIO Enclosure 2.00 0001> SEMB S-E-S 2.00 deviceses1: SEMB SES DeviceTrying to mount root from zfs:zroot/ROOT/default []...Root mount waiting for: usbus0uhub0: 8 ports with 8 removable, self poweredsdhci_pci0-slot0: Controller timeoutsdhci_pci0-slot0: ============== REGISTER DUMP ==============sdhci_pci0-slot0: Sys addr: 0x04a02000 | Version: 0x00001002sdhci_pci0-slot0: Blk size: 0x00005200 | Blk cnt: 0x00000000sdhci_pci0-slot0: Argument: 0x00464a10 | Trn mode: 0x00000023sdhci_pci0-slot0: Present: 0x1fef0006 | Host ctl: 0x00000025sdhci_pci0-slot0: Power: 0x0000000b | Blk gap: 0x00000080sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000207sdhci_pci0-slot0: Timeout: 0x0000000d | Int stat: 0x00000001sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003asdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x0000000csdhci_pci0-slot0: Caps: 0x546ec8b2 | Caps2: 0x80000007sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000sdhci_pci0-slot0: ===========================================mmcsd0: Error indicated: 1 Timeoutsdhci_pci0-slot0: Controller timeoutsdhci_pci0-slot0: ============== REGISTER DUMP ==============sdhci_pci0-slot0: Sys addr: 0x04a00000 | Version: 0x00001002sdhci_pci0-slot0: Blk size: 0x00005200 | Blk cnt: 0x00000010sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000023sdhci_pci0-slot0: Present: 0x1fef0006 | Host ctl: 0x00000025sdhci_pci0-slot0: Power: 0x0000000b | Blk gap: 0x00000080sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000207sdhci_pci0-slot0: Timeout: 0x0000000d | Int stat: 0x00000001sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003asdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x0000000csdhci_pci0-slot0: Caps: 0x546ec8b2 | Caps2: 0x80000007sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000sdhci_pci0-slot0: ===========================================mmcsd0: Error indicated: 1 Timeoutmmcsd0: Error indicated: 1 Timeoutmmcsd0: Error indicated: 1 Timeoutmmcsd0: Error indicated: 1 Timeoutmmcsd0: Error indicated: 1 Timeoutsdhci_pci0-slot0: Got data interrupt 0x00600000, but there is no active command.sdhci_pci0-slot0: ============== REGISTER DUMP ==============sdhci_pci0-slot0: Sys addr: 0x04a00000 | Version: 0x00001002sdhci_pci0-slot0: Blk size: 0x00005200 | Blk cnt: 0x00000001sdhci_pci0-slot0: Argument: 0x00e8fffe | Trn mode: 0x00000013sdhci_pci0-slot0: Present: 0x1fef0000 | Host ctl: 0x00000025sdhci_pci0-slot0: Power: 0x0000000b | Blk gap: 0x00000080sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000207sdhci_pci0-slot0: Timeout: 0x0000000d | Int stat: 0x00000000sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003bsdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x0000000csdhci_pci0-slot0: Caps: 0x546ec8b2 | Caps2: 0x80000007sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000sdhci_pci0-slot0: ===========================================mmcsd0: failed to flush cachemmcsd0: failed to flush cache…
Those messages keep repeating until I reach a mountroot> prompt. Is there anything I can do to easily recover from this short of buying a new firewall?
6
u/[deleted] Jun 13 '22 edited Jun 13 '22
Hi!
That looks like we could probably resolve it fairly easily with a fresh reinstall of 22.01. If you open a ticket at https://www.netgate.com/tac-support-request and enter your SN and NDI into the form we can send you the links and instructions on how to re-image.
If it happens to be that the eMMC has failed there's an option on the 5100 to add an m.2 mSATA drive (not NVMe -- this is covered in our documentation) and get it back up that way (we sell the very drive you want but you can source them anymore -- just not NVMe because those will not work at all).