• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

SG-5100 takes over 20 minutes to boot after eMMC failure

Official Netgate® Hardware
18
105
20.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hayescompatible @rcoleman-netgate
    last edited by Jun 26, 2022, 6:14 PM

    @rcoleman-netgate I'll post screenshots of the console as I get them. I have some time this afternoon to reboot the router without affecting anyone else in the household.

    I obtained the latest pfSense Plus image from Netgate support, installed to the SSD from a USB key and then restored my most recent pfSense backup. Prior to the SSD installation, the 5100 was complaining of timeout errors on boot when accessing the boot partition on the eMMC.

    Was hoping there was a quicker way of getting to the BIOS settings or at least resetting the settings to factory defaults via jumpers on the motherboard but I'm afraid I will have to wait the half hour while it reboots and then possibly another half hour if the BIOS reset doesn't work…

    R 1 Reply Last reply Jun 26, 2022, 6:32 PM Reply Quote 0
    • R
      rcoleman-netgate Netgate @hayescompatible
      last edited by rcoleman-netgate Jun 26, 2022, 6:33 PM Jun 26, 2022, 6:32 PM

      @hayescompatible said in SG-5100 takes over 20 minutes to boot after eMMC failure:

      installed to the SSD from a USB key

      Did you install as UEFI or MBR?

      I suspect it's a case of how the BIOS is looking for the devices.
      There aren't any jumpers or anything you need on the board. The BIOS or the boot install is likely the culprit.

      Ryan
      Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
      Requesting firmware for your Netgate device? https://go.netgate.com
      Switching: Mikrotik, Netgear, Extreme
      Wireless: Aruba, Ubiquiti

      H 1 Reply Last reply Jun 26, 2022, 8:51 PM Reply Quote 0
      • H
        hayescompatible @rcoleman-netgate
        last edited by Jun 26, 2022, 8:51 PM

        @rcoleman-netgate I installed as UEFI because otherwise, the SSD is not recognized as a boot device by the BIOS.

        Here is the pfSense info as presented on the dashboard:

        login-to-view

        After I rebooted, I connected a keyboard and serial cable to the 5100, and jumped into the BIOS and loaded optimized defaults.

        Here is the main BIOS screen as it looked in my console:

        login-to-view

        Here are the contents of the Boot screen:

        login-to-view

        Here's the Save & Exit screen mainly to show the available boot disks:

        login-to-view

        After saving the changes and resetting, the 5100 froze. I did not bother waiting 30 minutes for it to come up, but I did wait about 5 minutes before I pulled the power and turned it on again.

        This time, the POST took about 30 seconds then the system came up. Progress?

        However, upon rebooting pfSense, the 5100 just locks up solid. The lights on the igb0 and igb1 ports remain solid amber, no blinking. I left it like that for about an hour while I ran errands but the 5100 never came back up:

        login-to-view

        This is 100% repeatable. I even went to the trouble of reinstalling pfSense Plus from the ISO I got from Netgate support with the BIOS+UEFI scheme but I get the same result.

        So to summarize:

        • From cold boot (power off), the 5100 boots after about 30 seconds.
        • From warm boot (restart from pfSense), the 5100 locks up solid.
        H R 2 Replies Last reply Jun 26, 2022, 8:54 PM Reply Quote 0
        • H
          hayescompatible @hayescompatible
          last edited by Jun 26, 2022, 8:54 PM

          Oh, and when I say it locks up solid, I mean after the 5100 actually restarts, like after I see these messages in the console:

          Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-2' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-3' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-4' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-5' to stop... done
          Waiting (max 60 seconds) for system thread `bufspacedaemon-6' to stop... done
          All buffers synced.
          Uptime: 11m0s
          ukbd0: detached
          uhid0: detached
          

          The console doesn't clear so I'm unclear as to whether it even POSTs.

          1 Reply Last reply Reply Quote 0
          • R
            rcoleman-netgate Netgate @hayescompatible
            last edited by Jun 26, 2022, 8:56 PM

            @hayescompatible said in SG-5100 takes over 20 minutes to boot after eMMC failure:

            However, upon rebooting pfSense, the 5100 just locks up solid. The lights on the igb0 and igb1 ports remain solid amber, no blinking. I left it like that for about an hour while I ran errands but the 5100 never came back up:

            What's plugged into the USB-3(a) port?

            Ryan
            Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
            Requesting firmware for your Netgate device? https://go.netgate.com
            Switching: Mikrotik, Netgear, Extreme
            Wireless: Aruba, Ubiquiti

            H 1 Reply Last reply Jun 26, 2022, 9:00 PM Reply Quote 0
            • H
              hayescompatible @rcoleman-netgate
              last edited by Jun 26, 2022, 9:00 PM

              @rcoleman-netgate said in SG-5100 takes over 20 minutes to boot after eMMC failure:

              @hayescompatible said in SG-5100 takes over 20 minutes to boot after eMMC failure:

              However, upon rebooting pfSense, the 5100 just locks up solid. The lights on the igb0 and igb1 ports remain solid amber, no blinking. I left it like that for about an hour while I ran errands but the 5100 never came back up:

              What's plugged into the USB-3(a) port?

              That was my keyboard.

              R S 2 Replies Last reply Jun 27, 2022, 2:45 AM Reply Quote 0
              • R
                rcoleman-netgate Netgate @hayescompatible
                last edited by Jun 27, 2022, 2:45 AM

                @hayescompatible Try taking the CD/DVD out of the boot sequence and move the UEFI above the MBR options.

                Ryan
                Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                Requesting firmware for your Netgate device? https://go.netgate.com
                Switching: Mikrotik, Netgear, Extreme
                Wireless: Aruba, Ubiquiti

                H 1 Reply Last reply Jun 27, 2022, 1:35 PM Reply Quote 0
                • H
                  hayescompatible @rcoleman-netgate
                  last edited by Jun 27, 2022, 1:35 PM

                  @rcoleman-netgate said in SG-5100 takes over 20 minutes to boot after eMMC failure:

                  @hayescompatible Try taking the CD/DVD out of the boot sequence and move the UEFI above the MBR options.

                  Tried that, same result (cold boot OK, warm boot locks up):

                  login-to-view

                  Save & Exit:

                  login-to-view

                  When I cold boot, the console clears and I see POST codes flash on the console, like A2, 99, B2 and maybe B4. On a warm boot, I see none of these (console doesn't even clear).

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator @hayescompatible
                    last edited by Jun 28, 2022, 5:37 PM

                    @hayescompatible said in SG-5100 takes over 20 minutes to boot after eMMC failure:

                    That was my keyboard.

                    Why do you have a keyboard connected directly? Is it always connected?

                    If so that differs from almost all other 5100 installs.

                    Steve

                    H 1 Reply Last reply Jun 28, 2022, 8:25 PM Reply Quote 0
                    • H
                      hayescompatible @stephenw10
                      last edited by Jun 28, 2022, 8:25 PM

                      @stephenw10 said in SG-5100 takes over 20 minutes to boot after eMMC failure:

                      @hayescompatible said in SG-5100 takes over 20 minutes to boot after eMMC failure:

                      That was my keyboard.

                      Why do you have a keyboard connected directly? Is it always connected?

                      If so that differs from almost all other 5100 installs.

                      Steve

                      ?

                      It was my own keyboard. I only had it connected because it’s easier than using my laptop keyboard to get into the BIOS settings on boot. In any event, this boot problem occurs whether or not a keyboard or anything else is connected to the console or USB ports.

                      1 Reply Last reply Reply Quote 0
                      • H hayescompatible referenced this topic on Jul 12, 2022, 7:42 PM
                      • H
                        haraldinho
                        last edited by Aug 5, 2022, 2:47 PM

                        @hayescompatible I am experiencing the same on my 5100 box. I also replaced my failed eMMC with an SSD. Did you find a solution to the problem?

                        H 1 Reply Last reply Aug 5, 2022, 3:58 PM Reply Quote 0
                        • H
                          hayescompatible @haraldinho
                          last edited by Aug 5, 2022, 3:58 PM

                          @haraldinho said in SG-5100 takes over 20 minutes to boot after eMMC failure:

                          @hayescompatible I am experiencing the same on my 5100 box. I also replaced my failed eMMC with an SSD. Did you find a solution to the problem?

                          My "solution" is to halt the system, unplug it and then plug it back in whenever I need to reboot. This seems to be the only way to prevent the system from locking up. Cold boot is fine, warm boot locks up the 5100. I've played with a bunch of different BIOS settings but nothing seems to help, even with "optimized defaults".

                          The thread's gone quiet so I can only assume since the 5100 is no longer sold that I'm SOL on this. I just wish I had known about the limitations of the eMMC beforehand so I could have installed an SSD sooner to avoid this.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Aug 5, 2022, 4:30 PM

                            Mmm, unfortunately I'm not aware of any solution to that issue. It's possible it could be solved by a future BIOS update but I've not seen anything there either.

                            1 Reply Last reply Reply Quote 0
                            • G
                              gabacho4 Rebel Alliance
                              last edited by Aug 5, 2022, 5:43 PM

                              @hayescompatible are you able to provide a link to the m.2 SATA you purchased? I’m going to learn from your sad misfortune and install m.2s in my 5100s before I meet a similar fate. It really sucks that something like this can basically ruin perfectly good hardware.

                              H 1 Reply Last reply Aug 5, 2022, 8:15 PM Reply Quote 0
                              • H
                                hayescompatible @gabacho4
                                last edited by hayescompatible Aug 5, 2022, 9:07 PM Aug 5, 2022, 8:15 PM

                                @gabacho4 said in SG-5100 takes over 20 minutes to boot after eMMC failure:

                                @hayescompatible are you able to provide a link to the m.2 SATA you purchased? I’m going to learn from your sad misfortune and install m.2s in my 5100s before I meet a similar fate. It really sucks that something like this can basically ruin perfectly good hardware.

                                Here's what I got:

                                https://www.cendirect.com/main_en/tech-specs-TS128GMTS430S-JO357QQB.html

                                Link to the product page on Transcend's site:

                                https://ca.transcend-info.com/product/internal-ssd/mts430s

                                I got the 128 GB drive since it's the smallest size they offer.

                                Had I known how prone the eMMC is to failure (I don't log much to the pfSense box, it's just the default logs and pfBlocker updates that likely do most of the writing to the drive), I would have installed this from the start a couple of years ago when I bought the 5100. I only found out over the course of troubleshooting the boot slowdown post-eMMC failure that there is a utility that can provide the health status of the eMMC:

                                https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html#emmc

                                Alas, too late for me.

                                G 2 Replies Last reply Aug 5, 2022, 8:25 PM Reply Quote 0
                                • G
                                  gabacho4 Rebel Alliance @hayescompatible
                                  last edited by Aug 5, 2022, 8:25 PM

                                  @hayescompatible appreciate the info on the SSD and the MMC monitoring. I’ll look into that tomorrow as I cannot afford for these to crap out, especially as one is a vpn endpoint 7000 miles away.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    gabacho4 Rebel Alliance @hayescompatible
                                    last edited by Aug 5, 2022, 8:30 PM

                                    @hayescompatible just to be sure, the ssd that the 5100 takes is indeed a sata III ( with 3 connection points versus 2)?

                                    H 1 Reply Last reply Aug 5, 2022, 9:05 PM Reply Quote 0
                                    • G
                                      gabacho4 Rebel Alliance
                                      last edited by Aug 5, 2022, 8:42 PM

                                      Well for the very distant 5100, my results are:

                                      eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x0b
                                      eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x0b
                                      eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01
                                      

                                      For my local box, it gives me:

                                      eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x0b
                                      eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x0b
                                      eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01
                                      

                                      How worried should I be? Seems like the drive is normal but the A and B values are at or above 100%

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Aug 5, 2022, 8:53 PM

                                        Mmm, that's not great, is that the first time you've checked the values?

                                        G 1 Reply Last reply Aug 5, 2022, 8:56 PM Reply Quote 0
                                        • G
                                          gabacho4 Rebel Alliance @stephenw10
                                          last edited by Aug 5, 2022, 8:56 PM

                                          @stephenw10 <<gulp>> Yup. Had no idea this was a thing to be honest. To date, I have never had a hard drive fail in any of my computer devices, including an 8 bay NAS that has been running Western Digital Red drives since like 2013. I've already ordered the m.2 but now I am worried about experiencing the same delayed restart shenanigans.

                                          1 Reply Last reply Reply Quote 0
                                          12 out of 105
                                          • First post
                                            12/105
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.