Konrad Rzeszutek Wilk
2012-Mar-26 20:59 UTC
Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don''t load the PV drivers.
So I tried to load the Ubuntu 11.04 - both x86 and amd64 with this little guest config: kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory=1024 maxvcpus = 2 serial=''pty'' vcpus = 2 disk = [ ''file:/home/konrad/Downloads/ubuntu-11.10-desktop-amd64.iso,hdc:cdrom,r'',''phy:/dev/vg_guest/ubuntu1110,hda,w''] boot="dn" vif = [ ''type=ioemu,model=e1000,mac=00:0f:4b:00:00:66, bridge=switch'' ] vnc=1 vnclisten="0.0.0.0" usb=1 xen_platform_pci=1 usbdevice=''tablet'' And found out that the i386 does not have PAE built in, so the whole Xen subsystem is turned off (oops) - that actually looks like a bug b/c I think the PV drivers in HVM mode ought to work in non-PAE mode.. It means that the guest is running completly as HVM. But then I thought - surely the x86_64 should work. So botted it up, saw xen-platform-pci do the unplugging off the QEMU drivers, and .. then no network nor any disk - it looks like both xen-netfront and xen-blkfront don''t get loaded? Looking in /lib/modules/*/ shows that they exist - so they are compiled in. Is that a known bug or should I open a BZ for that? Thanks.
Konrad Rzeszutek Wilk
2012-Mar-27 14:41 UTC
Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don''t load the PV drivers.
On Mon, Mar 26, 2012 at 04:59:05PM -0400, Konrad Rzeszutek Wilk wrote:> So I tried to load the Ubuntu 11.04 - both x86 and amd64 with thisGrrrr.. Ignore this email please. I hadn''t realized that 12.xx is the new one - and playing with that right now.> little guest config: > > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory=1024 > maxvcpus = 2 > serial=''pty'' > vcpus = 2 > disk = [ ''file:/home/konrad/Downloads/ubuntu-11.10-desktop-amd64.iso,hdc:cdrom,r'',''phy:/dev/vg_guest/ubuntu1110,hda,w''] > boot="dn" > vif = [ ''type=ioemu,model=e1000,mac=00:0f:4b:00:00:66, bridge=switch'' ] > vnc=1 > vnclisten="0.0.0.0" > usb=1 > xen_platform_pci=1 > usbdevice=''tablet'' > > And found out that the i386 does not have PAE built in, so the whole Xen > subsystem is turned off (oops) - that actually looks like a bug b/c I think > the PV drivers in HVM mode ought to work in non-PAE mode.. It means that > the guest is running completly as HVM. > > But then I thought - surely the x86_64 should work. So botted it up, saw > xen-platform-pci do the unplugging off the QEMU drivers, and .. then no > network nor any disk - it looks like both xen-netfront and xen-blkfront > don''t get loaded? Looking in /lib/modules/*/ shows that they exist - so they > are compiled in. > > Is that a known bug or should I open a BZ for that? Thanks. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
Ian Campbell
2012-Mar-27 14:45 UTC
Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don''t load the PV drivers.
On Mon, 2012-03-26 at 21:59 +0100, Konrad Rzeszutek Wilk wrote:> And found out that the i386 does not have PAE built in, so the whole Xen > subsystem is turned off (oops) - that actually looks like a bug b/c I think > the PV drivers in HVM mode ought to work in non-PAE mode..It is possible in theory for them to work but in practice CONFIG_XEN_PVHVM is rather entangled with CONFIG_XEN (which depends on PAE). It''s mostly a case of refactoring + getting the ifdeffery right, fiddly but doable. Ian.
Stefan Bader
2012-Mar-27 15:11 UTC
Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don''t load the PV drivers.
On 27.03.2012 16:41, Konrad Rzeszutek Wilk wrote:> On Mon, Mar 26, 2012 at 04:59:05PM -0400, Konrad Rzeszutek Wilk wrote: >> So I tried to load the Ubuntu 11.04 - both x86 and amd64 with this > > Grrrr.. Ignore this email please. I hadn''t realized that 12.xx is the new > one - and playing with that right now. >Yeah, unfortunately we sorted out the "better have blkfront and netfront built-in" too late. After the release went out and the cd/dvd images are not re-done for non-LTS. :( So installation has to be done with preventing the unplugging. Also at that point there still was one of the irq emulation bugs in, so NIC model should be e1000... -Stefan>> little guest config: >> >> kernel = "/usr/lib/xen/boot/hvmloader" >> builder=''hvm'' >> memory=1024 >> maxvcpus = 2 >> serial=''pty'' >> vcpus = 2 >> disk = [ ''file:/home/konrad/Downloads/ubuntu-11.10-desktop-amd64.iso,hdc:cdrom,r'',''phy:/dev/vg_guest/ubuntu1110,hda,w''] >> boot="dn" >> vif = [ ''type=ioemu,model=e1000,mac=00:0f:4b:00:00:66, bridge=switch'' ] >> vnc=1 >> vnclisten="0.0.0.0" >> usb=1 >> xen_platform_pci=1 >> usbdevice=''tablet'' >> >> And found out that the i386 does not have PAE built in, so the whole Xen >> subsystem is turned off (oops) - that actually looks like a bug b/c I think >> the PV drivers in HVM mode ought to work in non-PAE mode.. It means that >> the guest is running completly as HVM. >> >> But then I thought - surely the x86_64 should work. So botted it up, saw >> xen-platform-pci do the unplugging off the QEMU drivers, and .. then no >> network nor any disk - it looks like both xen-netfront and xen-blkfront >> don''t get loaded? Looking in /lib/modules/*/ shows that they exist - so they >> are compiled in. >> >> Is that a known bug or should I open a BZ for that? Thanks. >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Stefan Bader
2012-Mar-27 15:13 UTC
Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don''t load the PV drivers.
On 27.03.2012 17:11, Stefan Bader wrote:> On 27.03.2012 16:41, Konrad Rzeszutek Wilk wrote: >> On Mon, Mar 26, 2012 at 04:59:05PM -0400, Konrad Rzeszutek Wilk wrote: >>> So I tried to load the Ubuntu 11.04 - both x86 and amd64 with this >> >> Grrrr.. Ignore this email please. I hadn''t realized that 12.xx is the new >> one - and playing with that right now. >> > Yeah, unfortunately we sorted out the "better have blkfront and netfront > built-in" too late. After the release went out and the cd/dvd images are > not re-done for non-LTS. :( > So installation has to be done with preventing the unplugging. Also at that > point there still was one of the irq emulation bugs in, so NIC model should be > e1000...Errm, that actually was 11.10. But the unplugging was the same in 11.04 too...> > -Stefan >>>> little guest config: >>> >>> kernel = "/usr/lib/xen/boot/hvmloader" >>> builder=''hvm'' >>> memory=1024 >>> maxvcpus = 2 >>> serial=''pty'' >>> vcpus = 2 >>> disk = [ ''file:/home/konrad/Downloads/ubuntu-11.10-desktop-amd64.iso,hdc:cdrom,r'',''phy:/dev/vg_guest/ubuntu1110,hda,w''] >>> boot="dn" >>> vif = [ ''type=ioemu,model=e1000,mac=00:0f:4b:00:00:66, bridge=switch'' ] >>> vnc=1 >>> vnclisten="0.0.0.0" >>> usb=1 >>> xen_platform_pci=1 >>> usbdevice=''tablet'' >>> >>> And found out that the i386 does not have PAE built in, so the whole Xen >>> subsystem is turned off (oops) - that actually looks like a bug b/c I think >>> the PV drivers in HVM mode ought to work in non-PAE mode.. It means that >>> the guest is running completly as HVM. >>> >>> But then I thought - surely the x86_64 should work. So botted it up, saw >>> xen-platform-pci do the unplugging off the QEMU drivers, and .. then no >>> network nor any disk - it looks like both xen-netfront and xen-blkfront >>> don''t get loaded? Looking in /lib/modules/*/ shows that they exist - so they >>> are compiled in. >>> >>> Is that a known bug or should I open a BZ for that? Thanks. >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xen.org >>> http://lists.xen.org/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel