[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Xen 4.0 on gentoo hotplug scripts problem?


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
  • Date: Fri, 9 Apr 2010 08:45:44 +0100
  • Cc: Boris Derzhavets <bderzhavets@xxxxxxxxx>, xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 09 Apr 2010 00:46:57 -0700
  • 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=k1KXkwYdr9LVqlSPwvCCYI5LlIuNhfND8i7n4GOxXGq5d3QJXY0JXxy6IAV2dJspVv eLUGpa5ZdRWpQSdU0VPsyNNJMRhAOfT+k2Q8awv6fVzVdn5hI8ZQKTAeVC0NHaBaKzvL w4DVoBxnsEq5prkTEj3cVXDwmkQFWmTTiWRhY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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'

I changed the config back to file:/ and tried again, the xm create
process seemed to hang and the block script was stuck:


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

Andy

>
> I just created this: http://wiki.xensource.com/xenwiki/blktap2
>
> -- Pasi
>
>>    Boris.
>>
>>    Boris.
>>
>>    --- On Thu, 4/8/10, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
>>
>>      From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
>>      Subject: Re: [Xen-users] Re: Xen 4.0 on gentoo hotplug scripts problem?
>>      To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
>>      Cc: "xen-users List" <xen-users@xxxxxxxxxxxxxxxxxxx>
>>      Date: Thursday, April 8, 2010, 4:50 PM
>>
>>      memory=512
>>      name='Gentoo-32-test'
>>      vif=['']
>>      bootloader='/usr/bin/pygrub'
>>      disk=['file:/mnt/tb1_store/Xen
>>      VMs/Gentoo-32/Gentoo-32.sda1,sda1,w','phy:/dev/test/test,sdb1,w']
>>      extra='gentoo=nodevfs console=xvc0'
>>
>>      On Thu, Apr 8, 2010 at 7:59 PM, Boris Derzhavets
>>      <[1]bderzhavets@xxxxxxxxx> wrote:
>>
>>        Please, post your DomU's profile.
>>
>>        Boris.
>>
>>        --- On Thu, 4/8/10, Andrew Lyon <[2]andrew.lyon@xxxxxxxxx> wrote:
>>
>>          From: Andrew Lyon <[3]andrew.lyon@xxxxxxxxx>
>>          Subject: [Xen-users] Re: Xen 4.0 on gentoo hotplug scripts problem?
>>          To: "xen-users List" <[4]xen-users@xxxxxxxxxxxxxxxxxxx>
>>          Date: Thursday, April 8, 2010, 2:39 PM
>>
>>          On Thu, Apr 8, 2010 at 6:54 PM, Andrew Lyon
>>          <[5]andrew.lyon@xxxxxxxxx> wrote:
>>          > Hi,
>>          >
>>          > Ive just tried Xen 4.0 on Gentoo with 2.6.32 (also tried 2.6.31)
>>          > forward ported dom0 kernel, Xen itself seems to boot up
>>          successfully
>>          > and everything else on the system is working normally, but when I
>>          try
>>          > to start a domain xm create appears to hang and eventually I get a
>>          > hotplug scripts error:
>>          >
>>          > Error: Device 2049 (vbd) could not be connected.
>>          > /etc/xen/scripts/block failed; error detected.
>>          >
>>          > Which logs and other data would be helpful in diagnosing this
>>          problem?
>>          >
>>          > Andy
>>          >
>>
>>          Does Xen 4.0 require blktap2?
>>
>>          I've just checked the kernel config on this system and it is
>>          disabled:
>>
>>          # CONFIG_XEN_BLKDEV_TAP2 is not set
>>
>>          Andy
>>
>>          _______________________________________________
>>          Xen-users mailing list
>>          [6]Xen-users@xxxxxxxxxxxxxxxxxxx
>>          [7]http://lists.xensource.com/xen-users
>>
>>      -----Inline Attachment Follows-----
>>
>>      _______________________________________________
>>      Xen-users mailing list
>>      [8]Xen-users@xxxxxxxxxxxxxxxxxxx
>>      [9]http://lists.xensource.com/xen-users
>>
>> References
>>
>>    Visible links
>>    1. file:///mc/compose?to=bderzhavets@xxxxxxxxx
>>    2. file:///mc/compose?to=andrew.lyon@xxxxxxxxx
>>    3. file:///mc/compose?to=andrew.lyon@xxxxxxxxx
>>    4. file:///mc/compose?to=xen-users@xxxxxxxxxxxxxxxxxxx
>>    5. http://mc/compose?to=andrew.lyon@xxxxxxxxx
>>    6. http://mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>>    7. http://lists.xensource.com/xen-users
>>    8. file:///mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
>>    9. http://lists.xensource.com/xen-users
>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.