Skip to contentSkip to conversation

Can create PV domain in 4.2 only with xm and not xl

DISCUSSION Andi Reinbrech 2 participants 2 messages Oct 6, 2012 – Oct 8, 2012

lore
Share & tools
lore
#0 lore raw

Hi Xenners,

This problem has been cropping up since late 4.2-unstable builds: I can create all my HVM guests (windows 7, 8, XP and XP64) with xl create, but my existing PV guests (Fedora based) don't start. They either hang or time out with an error that they can't connect to a vbd backend device.

This happens after the GRUB menu, so the bootloader is in fact accessed.

The strangest thing is, that by starting xend and creating the same domain with xm create works 100%, but after stopping xend afterwards I cannot create any more domains with xl, because udev gets messed up between xm and xl. Obviously I shouldn't, and don't want to mix the two.

Another strange thing is that xl create on this same domain works fine on kernel 3.5... But I can't use kernel >=3.5, as the PCI USB passthrough is broken.

So I am sitting with a catch-22: use kernel 3.5/3.6 and have xl work for all domains, but can't use my HVM Windows machine that needs PCI passthrough for VGA and USB, or use only kernel 3.3.4, but can't start PV domains unless I use xend.

Any suggestions would be appreciated! If I need to send configs or logs, please let me know.

Kind regards,
Andi

#1 lore raw
Quoted 15 lines · Andi Reinbrech

Hi Xenners,

This problem has been cropping up since late 4.2-unstable builds: I can create all my HVM guests (windows 7, 8, XP and XP64) with xl create, but my existing PV guests (Fedora based) don't start. They either hang or time out with an error that they can't connect to a vbd backend device.

This happens after the GRUB menu, so the bootloader is in fact accessed.

The strangest thing is, that by starting xend and creating the same domain with xm create works 100%, but after stopping xend afterwards I cannot create any more domains with xl, because udev gets messed up between xm and xl. Obviously I shouldn't, and don't want to mix the two.

Quoted 3 lines

Another strange thing is that xl create on this same domain works fine on kernel 3.5... But I can't use kernel >=3.5, as the PCI USB passthrough is broken.

The last of the patches for that should show up in the 3.5.x branch. And also in 3.6. Look for:

c341ca45ce56143804ef5a8f4db753e554e640b4

Author: Konrad Rzeszutek Wilk <[email protected]>
Date:   Tue Sep 25 16:48:24 2012 -0400

xen/pciback: Restore the PCI config space after an FLR.

Quoted 19 lines

So I am sitting with a catch-22: use kernel 3.5/3.6 and have xl work for all domains, but can't use my HVM Windows machine that needs PCI passthrough for VGA and USB, or use only kernel 3.3.4, but can't start PV domains unless I use xend.

Any suggestions would be appreciated! If I need to send configs or logs, please let me know.

Kind regards,
Andi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel