New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc page for VM startup troubelshoting #2843

Open
rootkovska opened this Issue Jun 2, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@rootkovska
Member

rootkovska commented Jun 2, 2017

It'd be useful for (more advanced) users to have a page useful for fixing/debugging occasional VM startup failures. Typically these are caused by:

  1. Memory shortage, usually memory being taken away from the VM at some crucial moment during its boot time, which brings the OOM killer into action, and the end result is VM not booting successfully,

  2. Incorrectly assigned devices for some service VMs. These problems might be causes e.g. by:

  • users erroneously assigning the same device(s) to 2 or more VMs (which is perfectly ok) and then try to start both (which is not, of course),
  • users restoring VMs (with devices assigned) from a backup, which was made on a different system (which used different BDF addresses, e.g. for the WiFi card),
  • very common on recent Intel chips: users assigning only one of the USB controllers, while the other leaving in another VM, but due to some god-knows-what-magic both of these devices are actually the same one device, and - as a result of this - Xen being unable to perform proper PCI device reset on the device to be assigned. A workaround for this is to do: qvm-prefs <vmname> -s pci_strictreset false :)
  1. For HVM-based VMs, and specifically for Windows AppVMs: by Windows performing some sort of cleanup (Start in Safe Mode screen, etc). The work around for this is to enable Run in debug mode in the Manager.

@rootkovska rootkovska added this to the Documentation/website milestone Jun 2, 2017

@ij1

This comment has been minimized.

Show comment
Hide comment
@ij1

ij1 Jun 2, 2017

Yes please!

I'd also like to see this kind of startup debugging related information included:

  • How to get logs/state information from a partial or failed start
  • Info about the "minimal" components required for the Qubes integration to work (qrexec, gui agent, etc?)

ij1 commented Jun 2, 2017

Yes please!

I'd also like to see this kind of startup debugging related information included:

  • How to get logs/state information from a partial or failed start
  • Info about the "minimal" components required for the Qubes integration to work (qrexec, gui agent, etc?)

@andrewdavidwong andrewdavidwong added the task label Jun 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment