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-devel

Re: [Xen-users] domU can not start in Xen 4.0.1-rc3-pre using tapdisk

To: luis.silva@xxxxxxxxxxxxx
Subject: Re: [Xen-users] domU can not start in Xen 4.0.1-rc3-pre using tapdisk
From: Jia Rao <rickenrao@xxxxxxxxx>
Date: Wed, 23 Jun 2010 10:51:22 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 Jun 2010 07:54:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Gn0jwPHrZP1m3gt9n9pWzWflu6D3c1t3Cgb1fbnsrBc=; b=jPsxpeHxlbVt+D3J+Z6TkaV0vNTRbWxy/o/grHm++o4LgoXJyxs1ueyVksaXQfPfh4 Ha+8lCRStkGdHe9FUVzufoHuv5sGQIjGmSC489VN0ixRONDVef62dyDsiw/MJNQ3cabl /iXwm7B0GG15G8qWu6Dspd0+46qrRsdw7YREI=
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; b=gfDNb/h+Eg5bFtE1Pt4VysBwnG36xvM3jSK5HptQlpGpo+N9mzPMmy97e37PUVnb9g 6g5cYFnmdIuK404sFapwXylzknI3keZSuZzUhn+gnOxTXc5n7KkJc6gUWJaNXMrnts+5 Wp6fg6ZDBDLWNv6P23e09GlFonbC9ggh0lalo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1277247422.2566.2.camel@luis-port>
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: <AANLkTimTUZw8ZxLtCckpsT3isRQuM1goJ2haIoOEp2Aa@xxxxxxxxxxxxxx> <1277247422.2566.2.camel@luis-port>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Yes, that solves the problem.
Thanks a lot.
BTW. what configuration will lead me to the blktap (blktap1) driver instead of the new blktap2 driver?

On Tue, Jun 22, 2010 at 6:57 PM, Luís Silva <luis.silva@xxxxxxxxxxxxx> wrote:
Hello,

I think that in order to use tap devices with pvops kernel you have to use "tap2:aio:path_to_file". At least it works for me... Even for 4.0.1 rc2 I had to use "tap2:tapdisk:aio:...".

Luís

On Tue, 2010-06-22 at 11:01 -0400, Jia Rao wrote:
The domU is using pygrub to boot its own 2.6.18.8-xen kernel. It can be booted successfully under 2.6.18.8-xen dom0 and xen 3.3.1.


However when upgrade dom0 to 2.6.32.15 and xen 4.0.1-rc3-pre, the domU can not boot with tapdisk. I am wondering it is something related to the blktap driver.


When using tap:aio: PATH/disk.img in domU disk configuration, the boot process hanged at a prompt:
XENBUS: Waiting for devices to initialise: 295s...290s...
Then after reboot, the domU can not mount the filesystem /dev/root and kernel panic.


When using tap:tapdisk:aio PATH/disk.img. the booting process terminated at a error:
Error: [Errno 2] No such file or directory: 'aio:/PATH/disk.img'


When using file:PATH/disk.img, domU can boot successfully.


Thus I am afraid it is somethin wrong with tapdisk driver in dom0


FYI
dom0: 2.6.32.15 centos 5.4
dom0 config: 
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=m
CONFIG_XEN_BLKBACK_PAGEMAP=y
CONFIG_XEN_PCIDEV_BACKEND=y
CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
CONFIG_XEN_BLKDEV_FRONTEND=m
CONFIG_XEN_NETDEV_FRONTEND=m


I did load the modules: blktap xen_blkfront xen_netfront before starting xend.


xen: 4.0.1-rc3-pre


any ideas?


Thanks.




_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>