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

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

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    105 Posts 18 Posters 20.4k Views
    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.
    • R
      rcoleman-netgate Netgate @hayescompatible
      last edited by

      @hayescompatible What do you see on the console? What are your boot settings at in the BIOS? How did you install pfSense after installing the M.2? Have you tried resetting the BIOS to defaults and seeing if that helps?

      I have seen a failed eMMC, in the worst case stage, can effect the ability of the system to boot a system (this is not limited to the just the 5100).

      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

      hayescompatibleH 1 Reply Last reply Reply Quote 0
      • hayescompatibleH
        hayescompatible @rcoleman-netgate
        last edited by

        @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 Reply Quote 0
        • R
          rcoleman-netgate Netgate @hayescompatible
          last edited by rcoleman-netgate

          @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

          hayescompatibleH 1 Reply Last reply Reply Quote 0
          • hayescompatibleH
            hayescompatible @rcoleman-netgate
            last edited by

            @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:

            pfSense_System_Info.png

            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:

            BIOS_Main.png

            Here are the contents of the Boot screen:

            BIOS_Boot.png

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

            BIOS_Save_and_Exit.png

            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:

            IMG_4881.jpg

            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.
            hayescompatibleH R 2 Replies Last reply Reply Quote 0
            • hayescompatibleH
              hayescompatible @hayescompatible
              last edited by

              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

                @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

                hayescompatibleH 1 Reply Last reply Reply Quote 0
                • hayescompatibleH
                  hayescompatible @rcoleman-netgate
                  last edited by

                  @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 stephenw10S 2 Replies Last reply Reply Quote 0
                  • R
                    rcoleman-netgate Netgate @hayescompatible
                    last edited by

                    @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

                    hayescompatibleH 1 Reply Last reply Reply Quote 0
                    • hayescompatibleH
                      hayescompatible @rcoleman-netgate
                      last edited by

                      @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):

                      BIOS_Boot.png

                      Save & Exit:

                      BIOS_Save_and_Exit.png

                      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
                      • stephenw10S
                        stephenw10 Netgate Administrator @hayescompatible
                        last edited by

                        @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

                        hayescompatibleH 1 Reply Last reply Reply Quote 0
                        • hayescompatibleH
                          hayescompatible @stephenw10
                          last edited by

                          @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
                          • hayescompatibleH hayescompatible referenced this topic on
                          • H
                            haraldinho
                            last edited by

                            @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?

                            hayescompatibleH 1 Reply Last reply Reply Quote 0
                            • hayescompatibleH
                              hayescompatible @haraldinho
                              last edited by

                              @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
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                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

                                  @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.

                                  hayescompatibleH 1 Reply Last reply Reply Quote 0
                                  • hayescompatibleH
                                    hayescompatible @gabacho4
                                    last edited by hayescompatible

                                    @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 Reply Quote 0
                                    • G
                                      gabacho4 Rebel Alliance @hayescompatible
                                      last edited by

                                      @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

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

                                        hayescompatibleH 1 Reply Last reply Reply Quote 0
                                        • G
                                          gabacho4 Rebel Alliance
                                          last edited by

                                          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
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

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

                                            G 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.