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: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Xen 4.0 on gentoo hotplug scripts problem?
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Fri, 9 Apr 2010 00:20:41 +0300
Cc: Andrew Lyon <andrew.lyon@xxxxxxxxx>, xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Apr 2010 14:27:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <707452.66702.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
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 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