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

    QEMU VM: Version 2.8 Won't Boot

    Scheduled Pinned Locked Moved Development
    24 Posts 6 Posters 1.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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Are these systems using Q35+SeaBIOS or Q35+OVMF (UEFI)?

      Granted I have only tried on Proxmox but mine are all working, even if I force modern virtio NICs. I don't have anything using passthrough, though.

      My VMs use either i440fx+SeaBIOS or (more commonly) q35+OVMF, though I did try one q35+SeaBIOS and it still worked here, too.

      That first screenshot it's hard to tell if it froze there or just stopped displaying kernel messages on that console. Maybe try adding a serial port to the VM (if it doesn't already have one) and attach to that and see if you get any other output there.

      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!

      N N 2 Replies Last reply Reply Quote 0
      • N
        netblues @jimp
        last edited by netblues

        @jimp I tried the uefi path, on q35 but it fails to boot completely.
        Most probably it needs a reinstall.
        Reinstalling with plus to a different vm isn't an option due to licensing too.

        (and I can't justify spending $120 AND put debug effort too.)

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

          @netblues said in QEMU VM: Version 2.8 Won't Boot:

          @jimp I tried the uefi path, on q35 but it fails to boot completely.
          Most probably it needs a reinstall.

          If you were running BIOS before, then it would need reinstalled. It needs an EFI disk added to the VM and then installed as EFI so it has a proper EFI partition/loader/etc. You'd most likely also need to make sure Secure Boot is disabled in there.

          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!

          N 1 Reply Last reply Reply Quote 0
          • N
            netblues @jimp
            last edited by

            @jimp Yes, indeed. Secure boot was disabled, but still, with no efi, its futile.

            1 Reply Last reply Reply Quote 0
            • N
              netblues @nickf1227
              last edited by

              @nickf1227 said in QEMU VM: Version 2.8 Won't Boot:

              an open source firewall on Linux

              Well, there is ipfire, but with all the bells and whistles pfsense has, rebasing to linux is only for april fools day ๐Ÿค 

              1 Reply Last reply Reply Quote 0
              • N
                nickf1227 @jimp
                last edited by

                @jimp Hey man, thanks for your reply

                That screenshot comes from the console itself while its booting, a-la a display device/VNC. Happy to give it another go with a serial connection, but I dont think thats possible without a virtio-VM agent?
                034333a5-8421-4cca-bedb-0aa0e85fb7bc-image.png

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

                  @nickf1227 said in QEMU VM: Version 2.8 Won't Boot:

                  @jimp Hey man, thanks for your reply

                  That screenshot comes from the console itself while its booting, a-la a display device/VNC. Happy to give it another go with a serial connection, but I dont think thats possible without a virtio-VM agent?

                  I'm not sure what all might be available on TrueNAS but at least on Proxmox for a serial console on a guest you run qm terminal <id> from the Proxmox host (e.g. over ssh). IIRC that's just part of qemu-server so it may be there already.

                  It may not be printing anything there but it's good to rule it out at least.

                  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 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by stephenw10

                    Since you're hitting this locally try setting the loader value: debug.acpi.disabled="pci"

                    It looks like this is an ACPI bug preventing the OS finding the PCI devices. Setting that falls back to probing the bus/tree.

                    I expect it to still fail but the changes output would be useful in diagnosing the problem.

                    Edit: Actually that seems to prevent any detection in Q35....

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      netblues @stephenw10
                      last edited by

                      @stephenw10 Finally its all related to uefi.
                      Booting via bios to q35 and newer freebsd leads to missing virtio interfaces.

                      Reinstalling with uefi boot makes virtio interfaces available.
                      This is probably an upgade nightmare, since there is no warning.
                      A warning can be easily added by checking if an update is on q35 without uefi boot.

                      Just an idea

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

                        It's a bug in the ACPI driver that happened to be present when we branched 25.03 and 2.8: https://reviews.freebsd.org/D48285

                        We picked back the fix two weeks ago it should be in the current public beta (May 10th). Are you testing that?

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          netblues @stephenw10
                          last edited by

                          @stephenw10 So you are saying that q35 with bios boot would work?
                          I need to boot 2.8 beta first under q35.
                          If the fix isn't there how can I test it?

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

                            Yes as I understand it that issue is fixed in the May 10th 2.8 beta. I assume you were testing with an earlier beta version?

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              chrcoluk @stephenw10
                              last edited by chrcoluk

                              @stephenw10 Since this is a pretty nasty issue, I will try to test myself, but 2.8 beta is as an update only release still right? no installer. This will delay things a bit but will test as soon as possible, using q35, and full virtio.

                              pfSense CE 2.7.2

                              M 1 Reply Last reply Reply Quote 1
                              • M
                                marcosm Netgate @chrcoluk
                                last edited by

                                @chrcoluk It can be installed fresh using the Netgate Installer.

                                C 1 Reply Last reply Reply Quote 1
                                • C
                                  chrcoluk @marcosm
                                  last edited by chrcoluk

                                  @marcosm said in QEMU VM: Version 2.8 Won't Boot:

                                  @chrcoluk It can be installed fresh using the Netgate Installer.

                                  Ok so I grabbed the latest netgate installer amd64 ISO, this will have an option for 2.8.0?

                                  I will do it over the weekend.

                                  pfSense CE 2.7.2

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

                                    Yes you can choose 2.8.0-beta from the installer menu.

                                    Edit: Now 2.8.0-RC

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