All of lore.kernel.org
 help / color / mirror / Atom feed
* Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers.
@ 2012-03-26 20:59 Konrad Rzeszutek Wilk
  2012-03-27 14:41 ` Konrad Rzeszutek Wilk
  2012-03-27 14:45 ` Ian Campbell
  0 siblings, 2 replies; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-03-26 20:59 UTC (permalink / raw)
  To: stefan.bader, xen-devel; +Cc: Ian Campbell, mike.mcclurg, Stefano Stabellini

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers.
  2012-03-26 20:59 Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers Konrad Rzeszutek Wilk
@ 2012-03-27 14:41 ` Konrad Rzeszutek Wilk
  2012-03-27 15:11   ` Stefan Bader
  2012-03-27 14:45 ` Ian Campbell
  1 sibling, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-03-27 14:41 UTC (permalink / raw)
  To: stefan.bader, xen-devel; +Cc: Ian Campbell, mike.mcclurg, Stefano Stabellini

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.

> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers.
  2012-03-26 20:59 Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers Konrad Rzeszutek Wilk
  2012-03-27 14:41 ` Konrad Rzeszutek Wilk
@ 2012-03-27 14:45 ` Ian Campbell
  1 sibling, 0 replies; 5+ messages in thread
From: Ian Campbell @ 2012-03-27 14:45 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Mike McClurg, xen-devel@lists.xensource.com,
	stefan.bader@canonical.com, Stefano Stabellini

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers.
  2012-03-27 14:41 ` Konrad Rzeszutek Wilk
@ 2012-03-27 15:11   ` Stefan Bader
  2012-03-27 15:13     ` Stefan Bader
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Bader @ 2012-03-27 15:11 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Ian Campbell, mike.mcclurg, xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 1973 bytes --]

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



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers.
  2012-03-27 15:11   ` Stefan Bader
@ 2012-03-27 15:13     ` Stefan Bader
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Bader @ 2012-03-27 15:13 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Ian Campbell, mike.mcclurg, xen-devel, Stefano Stabellini


[-- Attachment #1.1: Type: text/plain, Size: 2307 bytes --]

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



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-27 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 20:59 Ubuntu 11.04 (amd64 and i386) under Xen as PV on HVM guests don't load the PV drivers Konrad Rzeszutek Wilk
2012-03-27 14:41 ` Konrad Rzeszutek Wilk
2012-03-27 15:11   ` Stefan Bader
2012-03-27 15:13     ` Stefan Bader
2012-03-27 14:45 ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.