xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* domU can not start in Xen 4.0.1-rc3-pre using tapdisk
@ 2010-06-22 15:01 Jia Rao
  2010-06-22 22:57 ` Luís Silva
  0 siblings, 1 reply; 3+ messages in thread
From: Jia Rao @ 2010-06-22 15:01 UTC (permalink / raw)
  To: xen-users, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1303 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1791 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: domU can not start in Xen 4.0.1-rc3-pre using tapdisk
  2010-06-22 15:01 domU can not start in Xen 4.0.1-rc3-pre using tapdisk Jia Rao
@ 2010-06-22 22:57 ` Luís Silva
  2010-06-23 14:51   ` Jia Rao
  0 siblings, 1 reply; 3+ messages in thread
From: Luís Silva @ 2010-06-22 22:57 UTC (permalink / raw)
  To: Jia Rao; +Cc: xen-devel, xen-users


[-- Attachment #1.1.1: Type: text/plain, Size: 1910 bytes --]

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@lists.xensource.com
> http://lists.xensource.com/xen-users



[-- Attachment #1.1.2: Type: text/html, Size: 4113 bytes --]

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: domU can not start in Xen 4.0.1-rc3-pre using tapdisk
  2010-06-22 22:57 ` Luís Silva
@ 2010-06-23 14:51   ` Jia Rao
  0 siblings, 0 replies; 3+ messages in thread
From: Jia Rao @ 2010-06-23 14:51 UTC (permalink / raw)
  To: luis.silva; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 2247 bytes --]

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@axiomasoft.pt>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 listXen-users@lists.xensource.comhttp://lists.xensource.com/xen-users
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 4556 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-23 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 15:01 domU can not start in Xen 4.0.1-rc3-pre using tapdisk Jia Rao
2010-06-22 22:57 ` Luís Silva
2010-06-23 14:51   ` Jia Rao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).