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

    VM Failing to Reboot

    Scheduled Pinned Locked Moved Unsolved Management
    92 Posts 4 Posters 3.2k Views 3 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.
    • K Offline
      kagbasi-ngc @dinhngtu
      last edited by

      dinhngtu I got into Safe Mode, then did nothing and just rebooted, result was still the same BSOD.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
        last edited by

        kagbasi-ngc It worked on my VM when I tried that procedure on my local lab system. Unfortunately without a closer inspection I can't tell what's going on. If you still want to recover the VM, I'd start at removing all the non-inbox drivers.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kagbasi-ngc @dinhngtu
          last edited by

          dinhngtu I’m not sure I understand what you mean by non-inbox drivers.

          I will talk with our ISSO to see if sending an export of the VM is allowable. If not, would you be interested in a video call where we can troubleshoot in realtime?

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
            last edited by

            kagbasi-ngc I think for that it'd be more appropriate to contact our support team, which will be able to help you directly on your infrastructure. I'd also like to keep any troubleshooting information on the forum in case someone runs into a similar problem.

            Non-inbox drivers mean drivers with "Inbox : No" as seen in your screenshot.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kagbasi-ngc @dinhngtu
              last edited by

              dinhngtu Roger that, agreed.

              I just got back to the lab, so I'm gonna try and remove those non-inbox drivers and see what happens.

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                kagbasi-ngc @kagbasi-ngc
                last edited by

                dinhngtu Unfortunately, I don't have good news. I removed all the non-inbox drivers, one by one (rebooting after removing each one), yet still the VM is crashing with the same BSOD message.

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
                  last edited by

                  kagbasi-ngc Could the VM get into Safe Mode?

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    kagbasi-ngc @dinhngtu
                    last edited by

                    dinhngtu Yes, it does. There is no Last Known Good State option however.

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
                      last edited by dinhngtu

                      kagbasi-ngc The fact that your VM still boots in Safe Mode means that there's still some drivers blocking Windows from booting in normal mode. Please enable boot logging by running bcdedit /store bcd /set {default} bootlog yes then post the boot logs of normal mode versus safe mode. This log is found at C:\Windows\ntbtlog.txt.

                      Could you send another copy of your SYSTEM hive?

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kagbasi-ngc @dinhngtu
                        last edited by

                        dinhngtu Just to clarify, the VM isn't booting into Safe Mode; I have to trigger it by smashing the F8 key at boot. It boots normally then goes to the BSOD.

                        I will get the logs for you shortly. Do you want me to drop them in the same location you sent earlier?

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
                          last edited by dinhngtu

                          kagbasi-ngc Just to confirm, if you use the F8 menu it boots into Safe Mode without getting a BSOD, right? Please upload the SYSTEM hive to the same location.

                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            kagbasi-ngc @dinhngtu
                            last edited by

                            dinhngtu Yes, it does. The only time I get the BSOD is if I allow the VM to boot normally without interfering.

                            K 1 Reply Last reply Reply Quote 0
                            • K Offline
                              kagbasi-ngc @kagbasi-ngc
                              last edited by

                              dinhngtu So I managed to enable the boot logging, allowed the VM to do a normally boot to BSOD, then I booted with Hiren's, however, I'm not seeing the log file at C:\Windows.

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
                                last edited by dinhngtu

                                kagbasi-ngc You might need the debugger in normal mode. Attach the debugger right at boot time and run the following command (beware the exact spelling):

                                sxe -c "lm1mna (poi(rdx));g" ld
                                

                                Click Go until Windows loads completely or until you get a VM crash in Windbg, then paste the entire Windbg output.

                                K 1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kagbasi-ngc @dinhngtu
                                  last edited by

                                  dinhngtu sorry for the delayed response, having trouble getting the debugger to reattach. I've re-input all the boot parameters, yet still, no data is being piped to the debug port on the host.

                                  Do you think perhaps the removal of the drivers we did yesterday has removed the VM's ability to talk to the host?

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
                                    last edited by

                                    kagbasi-ngc It shouldn't, the debugger drivers are built into Windows. If you're having issues with attaching the debugger, you can get into the F8 menu, start attaching WinDbg then choose Debugging mode in the F8 menu to start the guest. This should give WinDbg the correct timing to attach to the guest.

                                    K 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kagbasi-ngc @dinhngtu
                                      last edited by

                                      dinhngtu thanks for the pointers, but nothing I'm doing seems to be working. The debugger seems to have connected to the host successful, but the VM isn't transmitting any data to the debugport.

                                      D 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        dinhngtu Vates 🪐 XCP-ng Team @kagbasi-ngc
                                        last edited by

                                        kagbasi-ngc Does it get stuck at "Waiting to reconnect..."? Do you get anything when telnet-ing to the VM's serial port?

                                        K 2 Replies Last reply Reply Quote 0
                                        • K Offline
                                          kagbasi-ngc @dinhngtu
                                          last edited by

                                          dinhngtu Yes (see image below). I'm on my way back to the office now, should be there in about 45 mins and will try telnet to the host tcp port 7001 and see what I get.

                                          1000235726.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            kagbasi-ngc @dinhngtu
                                            last edited by

                                            dinhngtu said in VM Failing to Reboot:

                                            Do you get anything when telnet-ing to the VM's serial port?

                                            Sorry for the delayed response. I just attempted to telnet to the VM's serial port on the host, while watching IPTables, and here's the behavior I observed:

                                            • The PuTTY telnet session remains open while the VM is powered up and attempting to boot.

                                            • As soon as the BSOD is encountered and the VM powers off, the telnet session window terminates.

                                            • While watching IPTables, I can see the pkts count increment by 5 each time I attempt a connection.

                                            Given the above observations, I'm convinced that the host is setup correctly, but it's the VM that is not dumping any data to the serial console on the host.

                                            This is the IPTables rule I was watching:

                                            Chain	xapi-INPUT (1 references)
                                             pkts	bytes	target		prot	opt	in	out	source		destination
                                               70	3636	ACCEPT		tcp	--	*	*	0.0.0.0/0	0.0.0.0/0	ctstate NEW tcp dpt:7001
                                            
                                            D 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post