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

    23.05.1 -> 23.09 - PKG is broken - SG5100

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    25 Posts 4 Posters 1.5k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Those fsck errors are worrisome but there isn't enough detail to say if it's from an unclean shutdown/crash type FS issue or hardware. It's hard to tell on the mmc since it doesn't report data like SSDs do with SMART.

      Was that fsck run from single user mode? It didn't appear to fix anything even though you used -y.

      You might be able to use the reboot menu option to have it automatically run the fsck for you during boot.

      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      DyspareuniaD 1 Reply Last reply Reply Quote 1
      • DyspareuniaD
        Dyspareunia @jimp
        last edited by Dyspareunia

        @jimp said in 23.05.1 -> 23.09 - PKG is broken - SG5100:

        Was that fsck run from single user mode? It didn't appear to fix anything even though you used -y.

        No, I believe that requires I reboot into this mode using a console connection.

        I WFH and need to keep things up for now, I'll look at this as soon as I can.

        1 Reply Last reply Reply Quote 1
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Before you do that you might want to get ahold of TAC and make sure you have installer media for 23.09 in case the filesystem damage is too severe to be recovered. There is a chance running fsck may make it worse in some ways even though it is repairing damage.

          Hopefully it's just filesystem corruption, though.

          Honestly you may be better off reinstalling 23.09 clean and going to ZFS as it is a lot more robust against these sorts of problems.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          DyspareuniaD 1 Reply Last reply Reply Quote 1
          • DyspareuniaD
            Dyspareunia @jimp
            last edited by

            @jimp said in 23.05.1 -> 23.09 - PKG is broken - SG5100:

            Honestly you may be better off reinstalling 23.09 clean and going to ZFS as it is a lot more robust against these sorts of problems.

            Yeah way ahead of you, I contacted TAC yesterday and got the 23.09 image. I've been wanting to switch to ZFS for a while now as well as upgrade the storage on the device. Seems like now may be the time.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by stephenw10

              You should check the eMMC write life of the drive:
              https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html#emmc

              On the 5100 if the eMMC fails entirely it can cause problems booting at all. So if it's close to the write-life limit you should fit an SSD as soon as possible.

              Steve

              DyspareuniaD 1 Reply Last reply Reply Quote 1
              • DyspareuniaD
                Dyspareunia @stephenw10
                last edited by

                @stephenw10 said in 23.05.1 -> 23.09 - PKG is broken - SG5100:

                On the 5100 if the eMMC fails entirely it can cause problems booting at all. So if it's close to the write-life limit you should fit an SSD as soon as possible.

                Thanks for this, I took a look and I'm now properly terrified.

                # mmc extcsd read /dev/mmcsd0rpmb | egrep 'LIFE|EOL'
                
                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
                

                According to the link you gave me:

                0x0b
                The disk has used 100%-110% of its estimated life time.

                I've ordered a new SSD on Amazon, will arrive in the next few days.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  If you don't have a bunch of heavy packages installed I'd suggest enabling ram disks to prevent any significant further writes before the SSD is installed. That does require a reboot.

                  DyspareuniaD R 2 Replies Last reply Reply Quote 1
                  • DyspareuniaD
                    Dyspareunia @stephenw10
                    last edited by

                    @stephenw10 said in 23.05.1 -> 23.09 - PKG is broken - SG5100:

                    If you don't have a bunch of heavy packages installed I'd suggest enabling ram disks to prevent any significant further writes before the SSD is installed. That does require a reboot.

                    Thanks, done!

                    1 Reply Last reply Reply Quote 1
                    • R
                      rloeb @stephenw10
                      last edited by

                      @stephenw10 I am experiencing the same problems, but it's a near new 4100 running ZFS. Tried installing 23.09 from memstick (multiple times). Each time I assign the WAN and LAN ip addresses, but the device doesn't appear on the LAN an is not reachable.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        You're seeing ssl library or pkg issues after a clean re-install?

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