All of lore.kernel.org
 help / color / mirror / Atom feed
* Question on RHEL 6 support
@ 2011-10-20 10:48 Alok Sinha
  2011-10-20 14:00 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 15+ messages in thread
From: Alok Sinha @ 2011-10-20 10:48 UTC (permalink / raw)
  To: Xen-devel


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

Hi,

   I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host) hypervisor.
   It seems that RHEL 6 loads the paravirt drivers by default and thus HVM mode is not working.

   Any idea on this?

   I saw somewhere that including xen_emul_unplug=never will help. Is there any other way it can be avoided?

-Alok

[-- Attachment #1.2: Type: text/html, Size: 758 bytes --]

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

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

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

* Re: Question on RHEL 6 support
  2011-10-20 10:48 Question on RHEL 6 support Alok Sinha
@ 2011-10-20 14:00 ` Pasi Kärkkäinen
  2011-10-20 14:13   ` Alok Sinha
  2011-10-21  4:59   ` Alok Sinha
  0 siblings, 2 replies; 15+ messages in thread
From: Pasi Kärkkäinen @ 2011-10-20 14:00 UTC (permalink / raw)
  To: Alok Sinha; +Cc: Xen-devel

On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
>    Hi,

Hello,

>       I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
>    hypervisor.
>       It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
>    mode is not working.
>       Any idea on this?

What do you mean with "HVM mode is not working" ?

PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
The default qemu-dm emulated ide controller and realtek nic are not very efficient..

>       I saw somewhere that including xen_emul_unplug=never will help. Is
>    there any other way it can be avoided?
>

You can also disable the xen platform pci device for that VM from dom0, 
then the VM will not activate PVHVM drivers.

-- Pasi

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

* Re: Question on RHEL 6 support
  2011-10-20 14:00 ` Pasi Kärkkäinen
@ 2011-10-20 14:13   ` Alok Sinha
  2011-10-21  4:59   ` Alok Sinha
  1 sibling, 0 replies; 15+ messages in thread
From: Alok Sinha @ 2011-10-20 14:13 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Xen-devel

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]



Sent from my iPhone

On 20-Oct-2011, at 7:32 PM, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:

> On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
>>   Hi,
> 
> Hello,
> 
>>      I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
>>   hypervisor.
>>      It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
>>   mode is not working.
>>      Any idea on this?
> 
> What do you mean with "HVM mode is not working" ?
> 
> PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
> The default qemu-dm emulated ide controller and realtek nic are not very efficient..
> 
>>      I saw somewhere that including xen_emul_unplug=never will help. Is
>>   there any other way it can be avoided?
>> 
> 
> You can also disable the xen platform pci device for that VM from dom0, 
> then the VM will not activate PVHVM drivers.
> 
> -- 

How? Is there cli/API?
Alok

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

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

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

* Re: Question on RHEL 6 support
  2011-10-20 14:00 ` Pasi Kärkkäinen
  2011-10-20 14:13   ` Alok Sinha
@ 2011-10-21  4:59   ` Alok Sinha
  2011-10-21  6:11     ` Pasi Kärkkäinen
  1 sibling, 1 reply; 15+ messages in thread
From: Alok Sinha @ 2011-10-21  4:59 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Xen-devel

Pasi,

   Thanks for your response.
   So how do I disable xen platform device for VM? Any pointers?
-Alok

On Oct 20, 2011, at 7:30 PM, Pasi Kärkkäinen wrote:

> On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
>>   Hi,
> 
> Hello,
> 
>>      I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
>>   hypervisor.
>>      It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
>>   mode is not working.
>>      Any idea on this?
> 
> What do you mean with "HVM mode is not working" ?
> 
> PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
> The default qemu-dm emulated ide controller and realtek nic are not very efficient..
> 
>>      I saw somewhere that including xen_emul_unplug=never will help. Is
>>   there any other way it can be avoided?
>> 
> 
> You can also disable the xen platform pci device for that VM from dom0, 
> then the VM will not activate PVHVM drivers.
> 
> -- Pasi
> 

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

* Re: Question on RHEL 6 support
  2011-10-21  4:59   ` Alok Sinha
@ 2011-10-21  6:11     ` Pasi Kärkkäinen
  2011-10-21  9:11       ` Alok Sinha
  2011-10-21 13:24       ` Paolo Bonzini
  0 siblings, 2 replies; 15+ messages in thread
From: Pasi Kärkkäinen @ 2011-10-21  6:11 UTC (permalink / raw)
  To: Alok Sinha; +Cc: Xen-devel

On Fri, Oct 21, 2011 at 10:29:46AM +0530, Alok Sinha wrote:
> Pasi,
> 
>    Thanks for your response.
>    So how do I disable xen platform device for VM? Any pointers?
>

You should be able to change it from /etc/xen/<name_of_the_vm> configfile.

Try:
xen_platform_pci=0

-- Pasi

> 
> On Oct 20, 2011, at 7:30 PM, Pasi Kärkkäinen wrote:
> 
> > On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
> >>   Hi,
> > 
> > Hello,
> > 
> >>      I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
> >>   hypervisor.
> >>      It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
> >>   mode is not working.
> >>      Any idea on this?
> > 
> > What do you mean with "HVM mode is not working" ?
> > 
> > PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
> > The default qemu-dm emulated ide controller and realtek nic are not very efficient..
> > 
> >>      I saw somewhere that including xen_emul_unplug=never will help. Is
> >>   there any other way it can be avoided?
> >> 
> > 
> > You can also disable the xen platform pci device for that VM from dom0, 
> > then the VM will not activate PVHVM drivers.
> > 
> > -- Pasi
> > 
> 

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

* Re: Question on RHEL 6 support
  2011-10-21  6:11     ` Pasi Kärkkäinen
@ 2011-10-21  9:11       ` Alok Sinha
  2011-10-21 10:34         ` Pasi Kärkkäinen
  2011-10-21 13:24       ` Paolo Bonzini
  1 sibling, 1 reply; 15+ messages in thread
From: Alok Sinha @ 2011-10-21  9:11 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Xen-devel

Thanks Pasi. I am trying that.

By the way, I am getting following error while creating a HVM with rhel as guest:


"ERROR: no interface found for primary=eth0"


-Alok



On Oct 21, 2011, at 11:41 AM, Pasi Kärkkäinen wrote:

> On Fri, Oct 21, 2011 at 10:29:46AM +0530, Alok Sinha wrote:
>> Pasi,
>> 
>>   Thanks for your response.
>>   So how do I disable xen platform device for VM? Any pointers?
>> 
> 
> You should be able to change it from /etc/xen/<name_of_the_vm> configfile.
> 
> Try:
> xen_platform_pci=0
> 
> -- Pasi
> 
>> 
>> On Oct 20, 2011, at 7:30 PM, Pasi Kärkkäinen wrote:
>> 
>>> On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
>>>>  Hi,
>>> 
>>> Hello,
>>> 
>>>>     I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
>>>>  hypervisor.
>>>>     It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
>>>>  mode is not working.
>>>>     Any idea on this?
>>> 
>>> What do you mean with "HVM mode is not working" ?
>>> 
>>> PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
>>> The default qemu-dm emulated ide controller and realtek nic are not very efficient..
>>> 
>>>>     I saw somewhere that including xen_emul_unplug=never will help. Is
>>>>  there any other way it can be avoided?
>>>> 
>>> 
>>> You can also disable the xen platform pci device for that VM from dom0, 
>>> then the VM will not activate PVHVM drivers.
>>> 
>>> -- Pasi
>>> 
>> 

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

* Re: Question on RHEL 6 support
  2011-10-21  9:11       ` Alok Sinha
@ 2011-10-21 10:34         ` Pasi Kärkkäinen
  2011-10-21 13:41           ` Alok Sinha
  0 siblings, 1 reply; 15+ messages in thread
From: Pasi Kärkkäinen @ 2011-10-21 10:34 UTC (permalink / raw)
  To: Alok Sinha; +Cc: Xen-devel

On Fri, Oct 21, 2011 at 02:41:36PM +0530, Alok Sinha wrote:
> Thanks Pasi. I am trying that.
> 
> By the way, I am getting following error while creating a HVM with rhel as guest:
> 
> 
> "ERROR: no interface found for primary=eth0"
> 

Where do you get that error? on dom0? in domU ? When does that happen?

-- Pasi


> 
> 
> 
> On Oct 21, 2011, at 11:41 AM, Pasi Kärkkäinen wrote:
> 
> > On Fri, Oct 21, 2011 at 10:29:46AM +0530, Alok Sinha wrote:
> >> Pasi,
> >> 
> >>   Thanks for your response.
> >>   So how do I disable xen platform device for VM? Any pointers?
> >> 
> > 
> > You should be able to change it from /etc/xen/<name_of_the_vm> configfile.
> > 
> > Try:
> > xen_platform_pci=0
> > 
> > -- Pasi
> > 
> >> 
> >> On Oct 20, 2011, at 7:30 PM, Pasi Kärkkäinen wrote:
> >> 
> >>> On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
> >>>>  Hi,
> >>> 
> >>> Hello,
> >>> 
> >>>>     I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
> >>>>  hypervisor.
> >>>>     It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
> >>>>  mode is not working.
> >>>>     Any idea on this?
> >>> 
> >>> What do you mean with "HVM mode is not working" ?
> >>> 
> >>> PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
> >>> The default qemu-dm emulated ide controller and realtek nic are not very efficient..
> >>> 
> >>>>     I saw somewhere that including xen_emul_unplug=never will help. Is
> >>>>  there any other way it can be avoided?
> >>>> 
> >>> 
> >>> You can also disable the xen platform pci device for that VM from dom0, 
> >>> then the VM will not activate PVHVM drivers.
> >>> 
> >>> -- Pasi
> >>> 
> >> 
> 

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

* Re: Question on RHEL 6 support
  2011-10-21  6:11     ` Pasi Kärkkäinen
  2011-10-21  9:11       ` Alok Sinha
@ 2011-10-21 13:24       ` Paolo Bonzini
  2011-10-21 13:40         ` Alok Sinha
  2011-10-21 14:14         ` Pasi Kärkkäinen
  1 sibling, 2 replies; 15+ messages in thread
From: Paolo Bonzini @ 2011-10-21 13:24 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Xen-devel, Alok Sinha

On 10/21/2011 08:11 AM, Pasi Kärkkäinen wrote:
>> >
>> >      Thanks for your response.
>> >      So how do I disable xen platform device for VM? Any pointers?
>> >
> You should be able to change it from/etc/xen/<name_of_the_vm>  configfile.
>
> Try:
> xen_platform_pci=0

That doesn't exist.

Paolo

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

* Re: Question on RHEL 6 support
  2011-10-21 13:24       ` Paolo Bonzini
@ 2011-10-21 13:40         ` Alok Sinha
  2011-10-21 13:43           ` Paolo Bonzini
  2011-10-21 14:14         ` Pasi Kärkkäinen
  1 sibling, 1 reply; 15+ messages in thread
From: Alok Sinha @ 2011-10-21 13:40 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Thomas, Xen-devel, Graves

Hmm...any other alternatives?

-Alok


On Oct 21, 2011, at 6:54 PM, Paolo Bonzini wrote:

> On 10/21/2011 08:11 AM, Pasi Kärkkäinen wrote:
>>>> 
>>>>     Thanks for your response.
>>>>     So how do I disable xen platform device for VM? Any pointers?
>>>> 
>> You should be able to change it from/etc/xen/<name_of_the_vm>  configfile.
>> 
>> Try:
>> xen_platform_pci=0
> 
> That doesn't exist.
> 
> Paolo

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

* Re: Question on RHEL 6 support
  2011-10-21 10:34         ` Pasi Kärkkäinen
@ 2011-10-21 13:41           ` Alok Sinha
  0 siblings, 0 replies; 15+ messages in thread
From: Alok Sinha @ 2011-10-21 13:41 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Xen-devel


This happens when I am creating the VM. This leaves the VM imaging incomplete,

-Alok


On Oct 21, 2011, at 4:04 PM, Pasi Kärkkäinen wrote:

> On Fri, Oct 21, 2011 at 02:41:36PM +0530, Alok Sinha wrote:
>> Thanks Pasi. I am trying that.
>> 
>> By the way, I am getting following error while creating a HVM with rhel as guest:
>> 
>> 
>> "ERROR: no interface found for primary=eth0"
>> 
> 
> Where do you get that error? on dom0? in domU ? When does that happen?
> 
> -- Pasi
> 
> 
>> 
>> 
>> 
>> On Oct 21, 2011, at 11:41 AM, Pasi Kärkkäinen wrote:
>> 
>>> On Fri, Oct 21, 2011 at 10:29:46AM +0530, Alok Sinha wrote:
>>>> Pasi,
>>>> 
>>>>  Thanks for your response.
>>>>  So how do I disable xen platform device for VM? Any pointers?
>>>> 
>>> 
>>> You should be able to change it from /etc/xen/<name_of_the_vm> configfile.
>>> 
>>> Try:
>>> xen_platform_pci=0
>>> 
>>> -- Pasi
>>> 
>>>> 
>>>> On Oct 20, 2011, at 7:30 PM, Pasi Kärkkäinen wrote:
>>>> 
>>>>> On Thu, Oct 20, 2011 at 04:18:07PM +0530, Alok Sinha wrote:
>>>>>> Hi,
>>>>> 
>>>>> Hello,
>>>>> 
>>>>>>    I am trying to run RHEL 6 as guest over XEN (RHEL 5.6 as host)
>>>>>> hypervisor.
>>>>>>    It seems that RHEL 6 loads the paravirt drivers by default and thus HVM
>>>>>> mode is not working.
>>>>>>    Any idea on this?
>>>>> 
>>>>> What do you mean with "HVM mode is not working" ?
>>>>> 
>>>>> PVHVM drivers (for HVM guests) are there to make disk/net performance a LOT better!
>>>>> The default qemu-dm emulated ide controller and realtek nic are not very efficient..
>>>>> 
>>>>>>    I saw somewhere that including xen_emul_unplug=never will help. Is
>>>>>> there any other way it can be avoided?
>>>>>> 
>>>>> 
>>>>> You can also disable the xen platform pci device for that VM from dom0, 
>>>>> then the VM will not activate PVHVM drivers.
>>>>> 
>>>>> -- Pasi
>>>>> 
>>>> 
>> 

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

* Re: Question on RHEL 6 support
  2011-10-21 13:40         ` Alok Sinha
@ 2011-10-21 13:43           ` Paolo Bonzini
  2011-10-21 13:50             ` Alok Sinha
  0 siblings, 1 reply; 15+ messages in thread
From: Paolo Bonzini @ 2011-10-21 13:43 UTC (permalink / raw)
  To: Alok Sinha; +Cc: Xen-devel, Thomas Graves

On 10/21/2011 03:40 PM, Alok Sinha wrote:
> Hmm...any other alternatives?

Hard to see without dmesg output or something like that.  It's simpler 
if you open a support ticket or BZ with Red Hat, since the Xen version 
in RHEL is quite old.

Paolo

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

* Re: Question on RHEL 6 support
  2011-10-21 13:43           ` Paolo Bonzini
@ 2011-10-21 13:50             ` Alok Sinha
  2011-10-21 13:55               ` Paolo Bonzini
  0 siblings, 1 reply; 15+ messages in thread
From: Alok Sinha @ 2011-10-21 13:50 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Thomas, Xen-devel, Graves

We have XEN 3.4.3 loaded, is that old?
Does RHEL 6 has compatibility issue with XEN 3? Does it need XEN 4?

-Alok

On Oct 21, 2011, at 7:13 PM, Paolo Bonzini wrote:

> On 10/21/2011 03:40 PM, Alok Sinha wrote:
>> Hmm...any other alternatives?
> 
> Hard to see without dmesg output or something like that.  It's simpler 
> if you open a support ticket or BZ with Red Hat, since the Xen version 
> in RHEL is quite old.
> 
> Paolo

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

* Re: Question on RHEL 6 support
  2011-10-21 13:50             ` Alok Sinha
@ 2011-10-21 13:55               ` Paolo Bonzini
  0 siblings, 0 replies; 15+ messages in thread
From: Paolo Bonzini @ 2011-10-21 13:55 UTC (permalink / raw)
  To: Alok Sinha; +Cc: Xen-devel, Thomas Graves

On 10/21/2011 03:50 PM, Alok Sinha wrote:
> We have XEN 3.4.3 loaded, is that old?

Ah ok, I understood you were using RHEL5's own Xen.  As I said, if you 
open a BZ you can upload your configuration and serial console output 
there.  Without those it's not worth guessing.

> Does RHEL 6 has compatibility issue with XEN 3? Does it need XEN 4?

It runs on RHEL5's own Xen, which is 3.1.2 -- with a lot of patches, but 
none particularly targeted to RHEL6.  If your hypervisor had problems 
with RHEL6 it would not go past GRUB at all, I think.

Paolo

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

* Re: Question on RHEL 6 support
  2011-10-21 13:24       ` Paolo Bonzini
  2011-10-21 13:40         ` Alok Sinha
@ 2011-10-21 14:14         ` Pasi Kärkkäinen
  2011-10-22 11:01           ` Paolo Bonzini
  1 sibling, 1 reply; 15+ messages in thread
From: Pasi Kärkkäinen @ 2011-10-21 14:14 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Xen-devel, Alok Sinha, Ian Campbell, Stefano Stabellini

On Fri, Oct 21, 2011 at 03:24:29PM +0200, Paolo Bonzini wrote:
> On 10/21/2011 08:11 AM, Pasi Kärkkäinen wrote:
>>> >
>>> >      Thanks for your response.
>>> >      So how do I disable xen platform device for VM? Any pointers?
>>> >
>> You should be able to change it from/etc/xen/<name_of_the_vm>  configfile.
>>
>> Try:
>> xen_platform_pci=0
>
> That doesn't exist.
>

Hmm, or is it:
xen_platform_device=0

Anyway there definitely is a configuration option for controlling the xen platform pci device,
which can enable or disable PVHVM drivers.

I can't just remember which one the option is called.. 
(and I can't grep the sources right now.. travelling.)

-- Pasi

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

* Re: Question on RHEL 6 support
  2011-10-21 14:14         ` Pasi Kärkkäinen
@ 2011-10-22 11:01           ` Paolo Bonzini
  0 siblings, 0 replies; 15+ messages in thread
From: Paolo Bonzini @ 2011-10-22 11:01 UTC (permalink / raw)
  To: Pasi Kärkkäinen
  Cc: Xen-devel, Alok Sinha, Ian Campbell, Stefano Stabellini

On 10/21/2011 04:14 PM, Pasi Kärkkäinen wrote:
>>> >>  Try:
>>> >>  xen_platform_pci=0
>> >
>> >  That doesn't exist.
>> >
> Hmm, or is it:
> xen_platform_device=0
>
> Anyway there definitely is a configuration option for controlling the xen platform pci device,
> which can enable or disable PVHVM drivers.
>
> I can't just remember which one the option is called..
> (and I can't grep the sources right now.. travelling.)

It's xen_platform_pci, but it doesn't exist on either RHEL5 Xen or 3.4.

Paolo

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

end of thread, other threads:[~2011-10-22 11:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20 10:48 Question on RHEL 6 support Alok Sinha
2011-10-20 14:00 ` Pasi Kärkkäinen
2011-10-20 14:13   ` Alok Sinha
2011-10-21  4:59   ` Alok Sinha
2011-10-21  6:11     ` Pasi Kärkkäinen
2011-10-21  9:11       ` Alok Sinha
2011-10-21 10:34         ` Pasi Kärkkäinen
2011-10-21 13:41           ` Alok Sinha
2011-10-21 13:24       ` Paolo Bonzini
2011-10-21 13:40         ` Alok Sinha
2011-10-21 13:43           ` Paolo Bonzini
2011-10-21 13:50             ` Alok Sinha
2011-10-21 13:55               ` Paolo Bonzini
2011-10-21 14:14         ` Pasi Kärkkäinen
2011-10-22 11:01           ` Paolo Bonzini

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.