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.
    • D
      doktornotor Banned
      last edited by

      bsnmp is something that should be replaced with net-snmp. Already done in PCBSD, FreeNAS… for good reasons.

      @kdillen:

      1 of my next projects is investigating ZenOSS Core

      That's the monster Java-based bloatware that eats 8+GB of RAM to get barely running? Good luck. I'd rather waste my time with something else.

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

        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!

        1 Reply Last reply Reply Quote 0
        • K
          kdillen
          last edited by

          @doktornotor:

          bsnmp is something that should be replaced with net-snmp. Already done in PCBSD, FreeNAS… for good reasons.

          @kdillen:

          1 of my next projects is investigating ZenOSS Core

          That's the monster Java-based bloatware that eats 8+GB of RAM to get barely running? Good luck. I'd rather waste my time with something else.

          I know but the customer wants to have it, so if I say no the I not earn my money.

          1 Reply Last reply Reply Quote 0
          • K
            kdillen
            last edited by

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

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

              Thanks for the answer. but i have one problem. If I boot the device over serial console (Win / putty) i cannot see the selection menu for the single user menu. Have anyone a idea? Do you see this screen?

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                What serial speed are you using - the BIS might be coming out at one speed (e.g. 38400) and then the FreeBSD/pfSense at another (e.g. 115200). My APU console spits out the menu at 115200.

                If it is some other issue, then the menu is started with:

                /etc/rc.initial
                

                But I am guessing your issue is just console speed?

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.