WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] 2.6.18.8 xen.org dom0 kernel w/RHEL 5 PV on HVM guests

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] 2.6.18.8 xen.org dom0 kernel w/RHEL 5 PV on HVM guests
From: Andrew Evans <andrewe@xxxxxxxxxxxxx>
Date: Mon, 22 Mar 2010 11:13:43 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 22 Mar 2010 11:15:37 -0700
Domainkey-signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=ak0ffkuxvlCOHFoXa+7+9XtXEA/RKh46w758OIAE6mea07aZg9GfP49PrE4TWTln
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100318223239.GB1878@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BA28303.8030605@xxxxxxxxxxxxx> <20100318213810.GA1878@xxxxxxxxxxx> <4BA2A73D.6060805@xxxxxxxxxxxxx> <20100318223239.GB1878@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Thunderbird/3.0.3
On 03/18/10 15:32, Pasi Kärkkäinen wrote:
> Hmm.. can you try with the RHEL5 default hypervisor (3.1.2) ?
> (and the 2.6.18-xen dom0 kernel) 
>
> Would be good to know if it makes any difference.
>   

I installed the xen-3.0.3 RPM (xm dmesg/xm info says 3.1.2 -- what the
heck is up with Red Hat's version numbering?) but am getting the dreaded
"Hotplug scripts not working" errors. Looks like a TUN/TAP problem:

$ cat qemu-dm.4910.log
domid: 2
qemu: the number of cpus is 7
Change xvda to look like hda
Change xvdb to look like hdb
Change xvdc to look like hdc
Watching /local/domain/2/logdirty/next-active
Watching /local/domain/0/device-model/2/command
/etc/xen/qemu-ifup: could not launch network script
Could not initialize device 'tap'

$ cat xend-debug.log.1
Xend started at Thu Mar 18 23:25:38 2010.
Nothing to flush.
Nothing to flush.
can't add tap0 to bridge eth0: Operation not supported
can't add tap0 to bridge eth0: Operation not supported

$ cat /etc/xen/qemu-ifup
#!/bin/sh

#. /etc/rc.d/init.d/functions
#ulimit -c unlimited

echo 'config qemu network with xen bridge for ' $*

ifconfig $1 0.0.0.0 up
brctl addif $2 $1

strace of `brctl addif eth0 tap0` shows:

ioctl(4, 0x89a2, 0x7fff724c1e50)        = -1 EOPNOTSUPP (Operation not
supported)
ioctl(4, SIOCDEVPRIVATE, 0x7fff724c1e50) = -1 EOPNOTSUPP (Operation not
supported)
write(2, "can't add tap0 to bridge eth0: O"..., 55can't add tap0 to
bridge eth0: Operation not supported
) = 55
exit_group(1)                           = ?

I think the RHEL 5 2.6.18 dom0 kernel must support this ioctl, while the
xen.org 2.6.18.8 dom0 kernel must not. So RHEL 5's Xen 3.1.2 package on
xen.org 2.6.18.8 dom0 kernel looks like a dead end.

I'll go back to Xen 3.4.2 with xen.org 2.6.18.8 dom0. PV disk on HVM is
actually not very important to me at the moment.

-Andrew


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