XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Strange issue with booting XCP-NG

    Scheduled Pinned Locked Moved Compute
    85 Posts 9 Posters 33.4k Views 2 Watching
    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.
    • ? Offline
      A Former User @r1
      last edited by

      @r1 Its still strange though that this problem still persists. As I think there are more people using the Quadro P400.. (Correct me if I'm wrong of course).

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        Do you guys think that this has to do with UEFI? Otherwise I will have to reinstall XCP-NG in BIOS mode instead of UEFI mode...

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          r1 XCP-ng Team @Guest
          last edited by

          @appollonius I don't think it is driver issue (POST boot).. We may know more only from serial output.

          Are you able to boot as-is in BIOS mode without reinstall?

          ? 2 Replies Last reply Reply Quote 0
          • ? Offline
            A Former User @r1
            last edited by

            @r1 I could try that, will update when that has been done...

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @r1
              last edited by

              @r1 How do I boot in BIOS mode without a reinstall? Can that even be done, because I remember that when I installed xcp-ng I had to choose between BIOS or UEFI am I correct? (Could be something else though) otherwise if not I can give that a try.

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                r1 XCP-ng Team @Guest
                last edited by

                @appollonius I think it will depend on hardware settings. See if you have option to change the mode in motherboard settings?

                I don't have physical hardware access to validate this as I mostly use nested virtualization but XCP-ng /boot has required files support both for UEFI and BIOS mode.

                Maybe @stormi can confirm.

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @r1
                  last edited by

                  @r1 If this could be confirmed I would be happy to test it, otherwise I'll have to do it when I have a new system.. Because I dont want to mess up the current one just yet 🙂

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    r1 XCP-ng Team @Guest
                    last edited by

                    @appollonius I don't think there is any harm. You will be either be able to boot or not. You can always switch back to old settings.

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @r1
                      last edited by

                      @r1 Alright then I will give it a try somewhere today 🙂

                      1 Reply Last reply Reply Quote 0
                      • stormiS Offline
                        stormi Vates 🪐 XCP-ng Team
                        last edited by

                        Unless I'm mistaken, XCP-ng installed in UEFI mode won't boot in bios mode. There won't be anything written in the MBR.

                        ? 1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @stormi
                          last edited by

                          @stormi Ahh... So I would have to reinstall XCP-NG completely to be able to boot in BIOS?

                          stormiS 1 Reply Last reply Reply Quote 0
                          • stormiS Offline
                            stormi Vates 🪐 XCP-ng Team @Guest
                            last edited by

                            @appollonius yes

                            ? 1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User @stormi
                              last edited by

                              @stormi Damn... And that all to 'test' if the GPU is working in BIOS mode.

                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User
                                last edited by

                                Maybe I asked the wrong question here, but is the NVIDIA QUADRO P400 even supported? Maybe that could be an issue as well? If not I think I'll have to grab something like a Radeon WX2100..

                                1 Reply Last reply Reply Quote 0
                                • stormiS Offline
                                  stormi Vates 🪐 XCP-ng Team
                                  last edited by

                                  It's not supported for vGPUs https://xcp-ng.org/docs/compute.html#vgpu but it should not prevent other uses of XCP-ng in theory.

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User @stormi
                                    last edited by A Former User

                                    @stormi Ahh thanks for the webpage, though I still think BIOS mode wont fix this issue I believe.. So I will capture the serial output, to see what happens.

                                    1 Reply Last reply Reply Quote 0
                                    • stormiS Offline
                                      stormi Vates 🪐 XCP-ng Team
                                      last edited by stormi

                                      As I said (or tried to say), vGPU support has nothing to do with the ability to display the host console on screen.

                                      1 Reply Last reply Reply Quote 0
                                      • stormiS Offline
                                        stormi Vates 🪐 XCP-ng Team
                                        last edited by

                                        So BIOS mode might help, but there's no guarantee.

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @stormi
                                          last edited by

                                          @stormi I wanna try this first so I can see what is going wrong in UEFI mode. So I can pass it on to you guys, so you might be able to fix this issue in UEFI mode. Because there might be other people running into this issue as well 🙂

                                          1 Reply Last reply Reply Quote 1
                                          • ? Offline
                                            A Former User
                                            last edited by

                                            @r1 @stormi I digged alot today, I even exchanged the xen.gz with the possible fix that was mentioned above, where I discovered that it made my XCP-NG useless XD. Well I fixed it so I am back to normal now (hahaha). I read some more about this issue, but it could also be 'Grub' related. I have a source here: https://askubuntu.com/questions/825687/what-could-prevent-an-ubuntu-server-from-booting-without-a-vga-connected-monitor

                                            And then specifically 'nomodeset' I haven't tested it yet because the grub.cfg is different from the default grub.cfg and I don't want to break things again..., but could that be a possible solution to this?

                                            I have pasted the grub.cfg here, where could I put the 'nomodeset' option?

                                            serial --unit=0 --speed=115200
                                            terminal_input serial console
                                            terminal_output serial console
                                            set default=0
                                            set timeout=5
                                            if [ -s $prefix/grubenv ]; then
                                                    load_env
                                            fi
                                            
                                            if [ -n "$override_entry" ]; then
                                                    set default=$override_entry
                                            fi
                                            
                                            menuentry 'XCP-ng' {
                                                    search --label --set root root-cybuwv
                                                    multiboot2 /boot/xen.gz dom0_mem=4304M,max:4304M watchdog ucode=scan dom0_max_vcpus=1-16 crashkernel=256M,below=4G,console=vga vga=mode-0x0311 
                                                    module2 /boot/vmlinuz-4.19-xen root=LABEL=root-cybuwv ro nolvm hpet=disable console=hvc0 console=tty0 quiet vga=785 splash plymouth.ignore-serial-consoles xen.pciback.hide=(0000:07:00.0)
                                                    module2 /boot/initrd-4.19-xen.img
                                            }
                                            R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post