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

    Upgrade to 21.02-RELEASE borked on SG-3100

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    81 Posts 28 Posters 25.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.
    • ahking19A
      ahking19 @lohphat
      last edited by

      @lohphat if you have a SG-3100 don't upgrade until a fix is available. Stay on 2.4.5-p1.

      lohphatL 1 Reply Last reply Reply Quote 1
      • Y
        yaminb @jimp
        last edited by

        @jimp said in Upgrade to 21.02-RELEASE borked on SG-3100:

        hw.ncpu=1

        Really silly question just for completeness.

        I don't have a loader.conf.local.

        I made the change in loader.conf. I'm assuming this is good.

        /boot: cat loader.conf 
        kern.shutdown.secure_halt=1
        kern.cam.boot_delay=10000
        kern.ipc.nmbclusters="1000000"
        hw.ncpu=1
        boot_serial="YES"
        console="comconsole"
        comconsole_speed="115200"
        hw.e6000sw.default_disabled=1
        autoboot_delay="3"
        hw.hn.vf_transparent="0"
        hw.hn.use_if_start="1"
        
        
        D 1 Reply Last reply Reply Quote 1
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Create /boot/loader.conf.local if it doesn't exist, as loader.conf can be overwritten by pfSense.

          @lohphat said in Upgrade to 21.02-RELEASE borked on SG-3100:

          what the release QA process is and how this may have slipped through testing.

          Several of us have 3100s and use them in various ways, including a couple of us using them on the edge, running snapshots, but this problem takes a specific load and setup to trigger that apparently none of us hit somehow. Usually dogfooding the snapshots catches most things, but there are many more real-world configurations than we can possibly test.

          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!

          R 1 Reply Last reply Reply Quote 1
          • R
            rsherwood_va @jimp
            last edited by

            @jimp said in Upgrade to 21.02-RELEASE borked on SG-3100:

            Usually dogfooding the snapshots catches most things, but there are many more real-world configurations than we can possibly test.

            I don't think my config is all that exotic, but should I share it with you all? Do you know what the issue is?

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

              We found a way to reliably trigger it here in lab conditions so we can work on it, no need to provide more info at the moment.

              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!

              1 Reply Last reply Reply Quote 9
              • lohphatL
                lohphat @ahking19
                last edited by

                @ahking19 Clearly. I'm usually don't mind being a testing guinea pig but not this week, too much going on.

                SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

                1 Reply Last reply Reply Quote 0
                • M
                  Meizel
                  last edited by

                  Hi All,

                  Yesterday dune the update and you can tell, also for me not good.
                  My SG-3100 is stuck and keeps hanging in to A boot loop....

                  With the serial connected, I can see that the Marvell U-Boot is OK.
                  When it start to boot pfsense i got this error.

                  Netgate.PNG

                  So need to create A ticket for reinstalling pfsense.
                  So my network needs to rely on mu ubnt ER-8 pro.

                  Greetings Dennis

                  M 1 Reply Last reply Reply Quote 0
                  • E
                    EvaKnievel
                    last edited by

                    Ran into an interesting problem.

                    I can't add back my packages after moving back to an earlier version and I think it's because the place where it's checking for packages is the old place?

                    Here is the error

                    [2.4.5-RELEASE][admin@pfSense.i.lacy.ie]/root: pkg search FreeRadius
                    pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
                    pkg: Repository pfSense-core missing. 'pkg update' required
                    pkg: https://files01.netgate.com/pkg/pfSense_plus-v21_02_armv7-core/meta.txz: Not Found
                    pkg: https://files01.netgate.com/pkg/pfSense_plus-v21_02_armv7-core/packagesite.txz: Not Found
                    pkg: https://files01.netgate.com/pkg/pfSense_plus-v21_02_armv7-pfSense_plus-v21_02/meta.txz: Not Found
                    pkg: https://files01.netgate.com/pkg/pfSense_plus-v21_02_armv7-pfSense_plus-v21_02/packagesite.txz: Not Found
                    
                    L S 2 Replies Last reply Reply Quote 0
                    • bmeeksB
                      bmeeks
                      last edited by bmeeks

                      The update to 21.02 for SG-3100 appliances has been temporarily pulled to fix a bug. So that has probably confused the package system as well on those appliances.

                      If you can, just be patient for a day or two and Netgate should get a new update for the SG-3100 posted. If you can't wait, there are instructions for rolling back to the previous release. You will need to open a ticket with Netgate for that. There is no charge for providing you a rollback image, and they will send you the link via email shortly after you open a ticket. Start the process here: https://go.netgate.com/support/login.

                      1 Reply Last reply Reply Quote 0
                      • L
                        lnguyen @EvaKnievel
                        last edited by

                        @evaknievel

                        Under System | Update, set to Previous 2.4.5 to get the correct package repos for 2.4.5-p1.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Meizel @Meizel
                          last edited by

                          After my ticket for support.

                          Within two minutes got the answer from the netgate team, gread work for that ;)
                          within 10 minutes my SG-310 was running again.

                          Only i going to wait A few days to put it back in production.
                          Mainly because of testing this upgrade and their are still no packages available.
                          Its what Bill said "give Netgate the time to work it out"

                          1 Reply Last reply Reply Quote 0
                          • S
                            solarizde @EvaKnievel
                            last edited by solarizde

                            @evaknievel Sometimes if you switch the branch back it may the case that PKG itself gets stuck. A fix is in the prev branche to issue "pkg-static install -f pkg"

                            Small write up about that problem often Showing Shared object "libarchive.so.7" not found, required by "pkg"

                            For my SG-3100 it's strangly fine now. No crash since >24h but need to say I disabled all packages. Hope there is a "fix" soonish don't want to roll back completely.

                            1 Reply Last reply Reply Quote 0
                            • D
                              DeltaOne @yaminb
                              last edited by

                              @yaminb said in Upgrade to 21.02-RELEASE borked on SG-3100:

                              @jimp said in Upgrade to 21.02-RELEASE borked on SG-3100:

                              hw.ncpu=1

                              Really silly question just for completeness.

                              I don't have a loader.conf.local.

                              I made the change in loader.conf. I'm assuming this is good.

                              Our 3100 locked up after about 16 hours. Then twice more in the next 8 hours. We applied the "hw.ncpu=1" fix to loader.conf and it has been running fine for the last 8 hours. (Like @yaminb we could not find a loader.conf.local.)

                              L 1 Reply Last reply Reply Quote 0
                              • W
                                WarlordZico @WarlordZico
                                last edited by

                                @warlordzico said in Upgrade to 21.02-RELEASE borked on SG-3100:

                                I've upgraded my SG-3100 yesterday evening. I never had a respons from the SG-3100 anymore.
                                This morning i saw three blue leds slowly blinking in sync.
                                I pulled the power plug. The firewall restarted and finnished the setup. Till now, everything works with only one remark. Snort doesn't startup anymore. Tonight i'm gonna remove the snort package and do a clean install of it.

                                Running 21.02 without any package installed, no hickups till now.
                                Everything works fine except: i cann't install any package. Package manager has following error: unable to retrieve package information.

                                Next step, trying to get a Wireguard VPN running.

                                1 Reply Last reply Reply Quote 0
                                • E
                                  EvaKnievel
                                  last edited by

                                  @lnguyen perfect thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    lnguyen @DeltaOne
                                    last edited by

                                    @deltaone said in Upgrade to 21.02-RELEASE borked on SG-3100:

                                    Our 3100 locked up after about 16 hours. Then twice more in the next 8 hours. We applied the "hw.ncpu=1" fix to loader.conf and it has been running fine for the last 8 hours. (Like @yaminb we could not find a loader.conf.local.)

                                    I think what @jimp stated was:
                                    Create /boot/loader.conf.local if it doesn't exist, as loader.conf can be overwritten by pfSense.

                                    echo hw.ncpu=1 >> /boot/loader.conf.local
                                    

                                    I agree with this as it won't be overwritten and easily reverted once a patch is released by simply issuing:

                                    rm /boot/loader.conf.local
                                    
                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      DeltaOne @lnguyen
                                      last edited by

                                      @lnguyen said in Upgrade to 21.02-RELEASE borked on SG-3100:

                                      @deltaone said in Upgrade to 21.02-RELEASE borked on SG-3100:

                                      Our 3100 locked up after about 16 hours. Then twice more in the next 8 hours. We applied the "hw.ncpu=1" fix to loader.conf and it has been running fine for the last 8 hours. (Like @yaminb we could not find a loader.conf.local.)

                                      I think what @jimp stated was:
                                      Create /boot/loader.conf.local if it doesn't exist, as loader.conf can be overwritten by pfSense.

                                      echo hw.ncpu=1 >> /boot/loader.conf.local
                                      

                                      I agree with this as it won't be overwritten and easily reverted once a patch is released by simply issuing:

                                      rm /boot/loader.conf.local
                                      

                                      Good catch. In our case, we do want loader.conf to be over-written so we are again back at two CPUs.

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        lnguyen @DeltaOne
                                        last edited by

                                        @deltaone Just issue the command above and reboot. Once an official patch is released, you can issue the rm command and reboot.

                                        D 1 Reply Last reply Reply Quote 0
                                        • B
                                          behemyth
                                          last edited by

                                          @jimp

                                          If you make the loader.conf.local file, does the appliance use it since its the last one listed in the string?

                                          loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            DeltaOne @lnguyen
                                            last edited by

                                            @lnguyen said in Upgrade to 21.02-RELEASE borked on SG-3100:

                                            @deltaone Just issue the command above and reboot. Once an official patch is released, you can issue the rm command and reboot.

                                            Have done so. Thanks.

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