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

    Update 2.1.5 to 2.2 fails on APU

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    30 Posts 10 Posters 6.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.
    • A
      a_r
      last edited by

      i use 115200. I also tried 38400 but no luck…

      1 Reply Last reply Reply Quote 0
      • A
        a_r
        last edited by

        Finally I restored my pfsense. Here are the steps I tried:
        After I had no change to boot into the single user mode I used an USB Stick with an pfsense Live environment. There I was able to boot in the single user mode. Then I mount the original drive and rename the /usr/sbin/bsnmpd. After that I was able to boot but the Webinterface always showed a 500 internal Server error and no traffic was passed the pfsense. In the end I decide to reinstall 2.1.5 and restore my configuration. So I will wait for a fixed 2.2…

        1 Reply Last reply Reply Quote 0
        • L
          lousek
          last edited by

          @kdillen:

          @a_r:

          Hello!
          i have the same issue.
          I'm not so familiar with the command line. Would it be possible to explain the workaround a little bit more? Maybe it would be possible to post the commands?
          Tanks a lot!

          I will try, but some parts are different depending on the hardware used

          • Single user mode boot:  Select single user in the selection menu.
          • accept the shell command presented
          • run command:  mount
          • look for a line like this:  /dev/ada0s1a on / (ufs, local)
          • Remember the /dev/xxxxx part
          • run command:  fsck -y /dev/xxxxx
          • run again the same command
          • run command:  mount -o rw /
          • run command:  mv /usr/sbin/bsnmpd  /usr/sbin/bsnmpd.old
          • run command: reboot

          Now the system will start normally.  Do not forget to disable snmp after the boot.

          I got only a "command not found" when running mount, fsck or reboot.
          I noticed that /sbin/ was not in the PATH-variable, so I had to use the full path for mount, fsck and reboot: /sbin/mount, /sbin/fsck and /sbin/reboot

          1 Reply Last reply Reply Quote 0
          • L
            lousek
            last edited by

            I also tried to rename the bsnmpd.conf - without luck.

            I tried different things and in the end, it's working now …
            1. I installed 2.2 (memstick-serial-release) using an usb stick - using default values during installation process.
            2. I booted up the pfsense and configured the necessary VLAN, the WAN and the LAN interface via serial console.
            3. I imported the config.xml (copied away from the "old" failed installation via usb drive) over the webinterface - NOPE, after a reboot, I had the same problems again
            4. I started over (steps 1 & 2) and imported only parts (areas) from the old config.xml via the webinterface - SUCCESS. Just without OpenVPN certificates yet ...
            5. I exported the current configuration via the webinterface, inserted ONLY the <ca>- and <cert>-section of the old config.xml into the new config.xml. Then I restored the modified configuration via the webinterface (areas: "all") and rebooted - NOPE, same problems ...
            6. I started over (steps 1, 2, 4). First I thought there might be something wrong with the certificates, but: I exported the configuration via the webinterface, and restored EXACTLY THE SAME configuration via the webinterface (areas: "all") - NOPE, same problems ...
            7. In the end, I started over (steps 1, 2, 4), downloaded the current configuration via webinterface, inserted the <ca>- and <cert>-sections, copied this config to an usb-drive, and replaced the file /cf/conf/config.xml with this file. After a reboot, everything is working, even OpenVPN.

            I'm wondering if the WebGUI-Restore-Functionality is broken in 2.2 ... ?
            Export seems to work without problems, as I used it for my current configuration (step 7)

            Greetz
            lousek</cert></ca></cert></ca>

            1 Reply Last reply Reply Quote 0
            • G
              GLR
              last edited by

              If the problem is only related to bsnmpd and for those who can live without snmp, isn't it enough to simply disable snmp before upgrading and then upgrade to 2.2 ?

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                Someone that can replicate this, could you get me a config that exhibits the issue? I've tried a wide range of things and haven't found a way to replicate. Could PM it to me.

                @GLR:

                If the problem is only related to bsnmpd and for those who can live without snmp, isn't it enough to simply disable snmp before upgrading and then upgrade to 2.2 ?

                Yes, that would be adequate.

                1 Reply Last reply Reply Quote 0
                • G
                  GLR
                  last edited by

                  Isn't it enough to (try to) run 2.2 on an APU unit with bsnmpd enabled ?

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    Eh???

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmb
                      last edited by

                      We've tracked down the source of this one. It appears to be only when you're running from mSATA and have no SD card installed.
                      https://redmine.pfsense.org/issues/4403

                      Not down to a specific root cause yet, just know it appears to be specific to that circumstance where you don't have a SD card in the system, and you enable SNMP.

                      Anyone here seeing this happen who has a SD card installed in their APU?

                      1 Reply Last reply Reply Quote 0
                      • G
                        GLR
                        last edited by

                        Yes, I don't have any mSATA module but only a SD card.

                        1 Reply Last reply Reply Quote 0
                        • P
                          patrickinderkum.com
                          last edited by

                          Hi all

                          I've a similar same problem. As yu can see below the system is on SD.

                          I tried to upgrade with the webGui. Neither Manual Update nor Auto Update were working. It just rebooted with the old version.

                          CPU:AMD G-T40E Processor, 2 CPUs: 1 package(s) x 2 core(s)
                          Version: 2.1.5-RELEASE (amd64) built on Mon Aug 25 07:44:45 EDT 2014
                          Plattform: nanobsd (4g)

                          Did anyone manage to update on such configuration from 2.15 to 2.2? Any advice is most welcome!

                          Many thanks!
                          Patrick

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

                            If it rebooted to the previous version it's failed to update for some reason, not the same issue as described by this thread. Check the upgrade log in Diagnostics > Nanobsd for errors. Start a new thread if there's nothing in there about bsnmpd.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • D
                              deadshift
                              last edited by

                              This looks a whole lot like the upgrade failure that I got on my soekris 6501.  I'm running mSATA only, but I don't use snmp, and that's an Atom e6xx chip.  i386 full install.

                              1 Reply Last reply Reply Quote 0
                              • P
                                patrickinderkum.com
                                last edited by

                                Hi

                                In the meanwhile I found out that can't do changes anymore. It seemed that the hd is only readonly mountable.

                                I therefore decided to reinstall the whole system on v2.2. With the backup I got it finally working after a fair amount of efforts with the new version of pfsense.

                                Shit happens. :)

                                Patrick

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

                                  Indeed it does!  ::)

                                  In NanoBSD the filesystem is supposed to be mounted read-only. It gets re-mounted as read write only when a config change is saved. It is designed that way to prevent excess writes to flash media.
                                  https://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/

                                  Steve

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