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] Re: Xen 4.0 on gentoo hotplug scripts problem?

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Re: Xen 4.0 on gentoo hotplug scripts problem?
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Fri, 9 Apr 2010 09:15:06 +0100
Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>, xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 09 Apr 2010 01:18:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GaY9y0lJ0g64XvyPEs3XcD1iz0xC+2MOZrSpQUCiCGI=; b=LHh/riaRbZxFgFKut7CzWKQCbTtxfxH0GPT4aZum3g2fhIXIdxz4NVup8+2qpI7C0u oJRX8fDCaKloAvCqzegnozNZ+1YJxk7tYuCSabP/8K4Yj15Lbhf2BZk2wJOSUnSjLXBG Az3eXdYt7LVCtx+nx4Znr0BuTEOM3xdOsF2oU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dLXSoIHmIcM3xfqvi0FPP0D2Prcg1OjfskrDkDdFVYGLUulIIrb0YGid1uFCZGsDj5 X8M/lqIJla931ppiSqRKjFpEKGnj6Q/IPiq1hHD3P/qtyhH6l81vPQmPzkhwvyq+mb2o 8Fb8IfEOSUSub/xEIVXAJ0bbV0oBWan6dkNi8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100409081022.GZ1878@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: <s2gf4527be1004081350m38090bd0y872c582a071d952@xxxxxxxxxxxxxx> <707452.66702.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100408212041.GQ1878@xxxxxxxxxxx> <r2uf4527be1004090045ja596cebeqe6db90d95462601c@xxxxxxxxxxxxxx> <20100409081022.GZ1878@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Apr 9, 2010 at 9:10 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> On Fri, Apr 09, 2010 at 08:45:44AM +0100, Andrew Lyon wrote:
>> On Thu, Apr 8, 2010 at 10:20 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>> > On Thu, Apr 08, 2010 at 02:14:17PM -0700, Boris Derzhavets wrote:
>> >>    I believe profile should look like
>> >>
>> >>    memory=512
>> >>    name='Gentoo-32-test'
>> >>    vif=['bridge=eth(x)']
>> >>    bootloader='/usr/bin/pygrub'
>> >>    disk=['file:/mnt/tb1_store/Xen
>> >>    VMs/Gentoo-32/Gentoo-32.sda1,xvda,w','phy:/dev/test/test,xvdb ,w']
>> >>    extra='gentoo=nodevfs console=xvc0'
>> >>
>> >>    It's PV domU , so xvda,xvda,.....
>> >>
>> >>    Blktap driver is not important, no "tap:aio"
>> >>
>> >
>> > Also I think Xen 4.0.0 needs to have "disk = [ 
>> > "tap:tapdisk:aio:/path/images/disk.img,xvda,w" ]" to use blktap2.
>>
>> I tried that syntax but it does not work:
>>
>> name='Gentoo-32-test'
>> vif=['bridge=eth0']
>> bootloader='/usr/bin/pygrub'
>> disk=[ "tap:tapdisk:aio:/mnt/tb1_store/Xen 
>> VMs/Gentoo-32/Gentoo-32.sda1,xvda,w"]
>> extra='gentoo=nodevfs console=xvc0'
>>
>> Using config file "./Gentoo-32-test.cfg".
>> Error: [Errno 2] No such file or directory: 'aio:/mnt/tb1_store/Xen
>> VMs/Gentoo-32/Gentoo-32.sda1'
>>
>
> Hmm.. that's weird. The blktap2 syntax is correct based on the latest blktap2 
> README here:
> http://lxr.xensource.com/lxr/source/tools/blktap2/README
>
>> I changed the config back to file:/ and tried again, the xm create
>> process seemed to hang and the block script was stuck:
>>
>
> Ok, so you have some general problem, not really blktap2 related..
>
>>
>> root     14152  0.0  0.0  17596  1572 ?        S<   08:43   0:00
>> /bin/bash /etc/xen/scripts/block add
>>
>> eventually it errors  Error: Device 51712 (vbd) could not be
>> connected. /etc/xen/scripts/block failed; error detected.
>>
>> And the remove script is also stuck:
>>
>> /bin/bash /etc/xen/scripts/block remove
>>
>
> Did you install Xen 4.0.0 over some old version?
>
> Did you remove the old version first? Maybe your 4.0.0 is not 
> completely/properly installed..

I will try removing Xen first, including all of /etc/xen/

Andy

>
> Pasi
>
>

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

<Prev in Thread] Current Thread [Next in Thread>