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

    Latest pfsense+ 23.01 beta freezes on Hyper-v

    Scheduled Pinned Locked Moved Plus 23.05 Development Snapshots (Retired)
    67 Posts 10 Posters 19.2k 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

      If you can, look at /boot/loader.conf and /boot/loader.conf.local and post the contents from before the upgrade (or the first boot after if that works would be even better).

      The similar problem that happens in Hyper-V is definitely loader related, but it has to do with serial output. We have a potential fix but since it's in the loader it's a bit too disruptive to get into this release at this stage. Even though Hyper-V doesn't have serial consoles per se in Gen2 it may still interfere. Most of us still can't even reproduce the boot failure here in Hyper-V which is a bit maddening.

      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!

      V 1 Reply Last reply Reply Quote 0
      • V
        vbjp @jimp
        last edited by

        @jimp
        Got contents of loader.conf couldn't find loader.conf.local (sorry for picture format was easiest to grab this way)
        This is from 22.5 before upgrade to RC. Rolled back to vm snapshot.
        (Tried upgrade to 23.1 again but this time it crashed even on first boot)
        225bootconf.PNG

        Contents of boot folder no local file
        225bootf.PNG

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

          There isn't always a .local file unless someone created it manually, but it's good to check for it in case it is there. Nothing stands out in that loader config, definitely no sign of serial or console config which is what I was curious about.

          Did you check for and remove any optical drives from that VM? We have one person here who only saw it crash/fail to boot with an optical drive on the VM.

          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!

          V 1 Reply Last reply Reply Quote 0
          • V
            vbjp @jimp
            last edited by

            @jimp
            No DVD drive
            settings.PNG

            1 Reply Last reply Reply Quote 0
            • Bob.DigB
              Bob.Dig LAYER 8 @Bob.Dig
              last edited by Bob.Dig

              @bob-dig said in Latest pfsense+ 23.01 beta freezes on Hyper-v:

              Maybe MS is just doing MS things and it depends on the age of your Windows Installation and what not... I have problems running a service in a debian VM in Hyper-V, I always have to boot it twice.

              After this MS-patchday my problem with the debian VM is gone. But I had some other changes too... it is a possibility.

              1 Reply Last reply Reply Quote 0
              • jimpJ jimp moved this topic from Plus 23.01 Development Snapshots (Retired) on
              • V
                vbjp
                last edited by

                Just quick update. The official release of 23.01 still does not boot in Hyper-v.
                Tried on 2 different hosts (Both Windows server 2022 standard all updates installed) still getting stuck at boot.

                F 1 Reply Last reply Reply Quote 0
                • F
                  fiblimitless @vbjp
                  last edited by

                  @vbjp said in Latest pfsense+ 23.01 beta freezes on Hyper-v:

                  Just quick update. The official release of 23.01 still does not boot in Hyper-v.
                  Tried on 2 different hosts (Both Windows server 2022 standard all updates installed) still getting stuck at boot.

                  same issue while updating with all settings/packages/configuration in place.

                  If you open the Hyper-V machine and check the logs while updating, you will see a log saying disk out of space, and the system continues, as it finished. I believe that's the reason. corrupt/partial update.

                  Negate minimum requirement says you needs a minimum of 8GB. (mine was 5GB fixed)

                  You can expand the vhdx file and shell into pfsense and resize the partitions.

                  Here is a good link on how adjust your disk after expanding the vhdx
                  https://people.freebsd.org/~rodrigc/doc/handbook/disks-growing.html

                  Or

                  • backup your pfsense
                  • create a new vhdx disk (I set mine to 15GB)
                  • install pfSense-CE-2.6.0
                  • update to pfsense + 22.05 then 23.01
                  • restore the backup.

                  I can confirm it worked for me.
                  Cheers.

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    vbjp @fiblimitless
                    last edited by

                    @fiblimitless my pfsense vm has 30gb (other one has 60gb both not booting) drive assigned to it is that not enough? Possibly not same problem.

                    F 1 Reply Last reply Reply Quote 1
                    • F
                      fiblimitless @vbjp
                      last edited by

                      @vbjp shell into pfsense check your partitions: gpart show

                      what do you have?
                      d434a6df-3473-4b24-bf70-e40e5a84a34e-image.png

                      V 1 Reply Last reply Reply Quote 1
                      • stephenw10S stephenw10 referenced this topic on
                      • stephenw10S stephenw10 referenced this topic on
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes, is the disk space error actually whilst updating the main root filesystem or possibly the EFI partition?

                        1 Reply Last reply Reply Quote 0
                        • S
                          Snk
                          last edited by

                          I'm having the same problem... I tried to perform a new installation increasing the total disk size from 20 to 40GB and I still couldn't complete the update.
                          Hangs on: masks 0x00ff0000. 0x0000ff00. 0x000000ff. 0xff000000

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

                            Are you seeing a drive space error whilst updating?

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Snk @stephenw10
                              last edited by

                              @stephenw10

                              I don't see any space errors in the GUI and not even in the console (accessed through Hyper-V)

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

                                Ok, so it just fails to boot at the first reboot during upgrade?
                                That's what we might expect given the previous failures.

                                Do you have the upgrade log showing what was updated before that reboot?
                                Specifically did it update the boot loader?

                                Steve

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Snk @stephenw10
                                  last edited by

                                  @stephenw10

                                  I ordered the update via GUI, I realized that some packages are pending update in the "Package Updater", but as recommended on the Netgate website, I didn't do any package update.
                                  pfsense downloads the full update and tells you to restart the VM.
                                  When starting the VM, it hangs at masks 0x00ff0000. 0x0000ff00. 0x000000ff. 0xff000000 and I don't have any more logs being shown in the VM console.
                                  Exactly the same message posted by the colleague appears:
                                  6e871dea-df1e-48d6-b6b4-ee7cfdaa4ba8-image.png

                                  Even redoing the installation from scratch and increasing the VM disk size, the same error occurs.
                                  Are there any other procedures you would recommend so that I can gather more logs?

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

                                    If you SSH to the firewall and then upgrade from the console menu using option 13 you can see exactly what happens before the reboot. That might give some idea as to what's happening.

                                    However we did look into this for some time before release and didn't yet find the root cause.

                                    https://redmine.pfsense.org/issues/13895

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      vbjp @fiblimitless
                                      last edited by

                                      @fiblimitless
                                      Sorry for late reply was busy.
                                      Here is what I get when I ran gpart show on my 22.05 vm before upgrade to 23.01 (can't run on upgraded as it does not boot)
                                      gpartshow.PNG

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Snk
                                        last edited by

                                        Any updates on the error in question?

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Snk
                                          last edited by

                                          Any news, guys?

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

                                            @snk said in Latest pfsense+ 23.01 beta freezes on Hyper-v:

                                            Any news, guys?

                                            Check the Redmine linked a few posts above.

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