Hi,
I''ve tried to use the tap:aio backend for a domU at a xen-3.4/latest
pvops git installation, it works fine with the file backend, however
with the tap:aio the domU stops at:
[ 5.324027] XENBUS: Waiting for devices to initialise:
295s...290s...285s...280s...275s...270s...265s...260s...255s...250s...245s...240s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s...
[ 300.324185] XENBUS: Timeout connecting to device: device/vbd/51712
(local state 3, remote state 1)
and then later on the domU is unable to find its root filesystem.
The domU config file is:
bootloader = "/usr/lib/xen-default/bin/pygrub"
vcpus = 1
memory = 2048
name = "devel"
vif = [ ''mac=00:16:3e:00:00:af, bridge=br-lan'' ]
disk = [ ''tap:aio:/var/local/images/devel.img,xvda,w'' ]
The relevant portion of xm log reads:
[2009-11-07 08:37:59 2419] DEBUG (XendDomainInfo:92)
XendDomainInfo.create([\047vm\047, [\047name\047, \047devel\047],
[\047memory\047, 2048], [\047vcpus\047, 1], [\047on_xend_start\047,
\047ignore\047], [\047on_xend_stop\047, \047ignore\047],
[\047bootloader\047, \047/usr/lib/xen-default/bin/pygrub\047],
[\047bootloader_args\047, \047\047], [\047image\047, [\047linux\047,
[\047videoram\047, 4]]], [\047s3_integrity\047, 1], [\047device\047,
[\047tap\047, [\047uname\047,
\047tap:aio:/var/local/images/devel.img\047], [\047dev\047,
\047xvda\047], [\047mode\047, \047w\047]]], [\047device\047,
[\047vif\047, [\047bridge\047, \047br-lan\047], [\047mac\047,
\04700:16:3e:00:00:af\047]]]])
[2009-11-07 08:37:59 2419] DEBUG (XendDomainInfo:2296)
XendDomainInfo.constructDomain
[2009-11-07 08:37:59 2419] DEBUG (balloon:166) Balloon: 135028 KiB free;
need 4096; done.
[2009-11-07 08:37:59 2419] DEBUG (XendDomain:452) Adding Domain: 1
[2009-11-07 08:37:59 2419] DEBUG (XendDomainInfo:2497)
XendDomainInfo.initDomain: 1 256
[2009-11-07 08:37:59 3102] DEBUG (XendBootloader:113) Launching
bootloader as [\047/usr/lib/xen-default/bin/pygrub\047,
\047--output=/var/run/xend/boot/xenbl.28940\047,
\047/var/local/images/devel.img\047].
[2009-11-07 08:38:05 2419] DEBUG (XendDomainInfo:2521)
_initDomain:shadow_memory=0x0, memory_static_max=0x80000000,
memory_static_min=0x0.
[2009-11-07 08:38:05 2419] DEBUG (balloon:172) Balloon: 134912 KiB free;
0 to scrub; need 2105344; retries: 25.
[2009-11-07 08:38:05 2419] DEBUG (balloon:187) Balloon: setting dom0
target to 1654 MiB.
[2009-11-07 08:38:05 2419] DEBUG (XendDomainInfo:1303) Setting memory
target of domain Domain-0 (0) to 1654 MiB.
[2009-11-07 08:38:06 2419] DEBUG (balloon:166) Balloon: 2106176 KiB
free; need 2105344; done.
[2009-11-07 08:38:06 2419] INFO (image:173) buildDomain os=linux dom=1
vcpus=1
[2009-11-07 08:38:06 2419] DEBUG (image:659) domid = 1
[2009-11-07 08:38:06 2419] DEBUG (image:660) memsize = 2048
[2009-11-07 08:38:06 2419] DEBUG (image:661) image
/var/run/xend/boot/boot_kernel.RiOMJh
[2009-11-07 08:38:06 2419] DEBUG (image:662) store_evtchn = 1
[2009-11-07 08:38:06 2419] DEBUG (image:663) console_evtchn = 2
[2009-11-07 08:38:06 2419] DEBUG (image:664) cmdline root=/dev/xvda1 ro
[2009-11-07 08:38:06 2419] DEBUG (image:665) ramdisk
/var/run/xend/boot/boot_ramdisk.JN3jV7
[2009-11-07 08:38:06 2419] DEBUG (image:666) vcpus = 1
[2009-11-07 08:38:06 2419] DEBUG (image:667) features [2009-11-07 08:38:06
2419] DEBUG (image:668) flags = 0
[2009-11-07 08:38:06 2419] INFO (XendDomainInfo:2160) createDevice: tap
: {\047bootable\047: 1, \047uname\047:
\047tap:aio:/var/local/images/devel.img\047, \047mode\047: \047w\047,
\047dev\047: \047xvda\047, \047uuid\047:
\047168b9d3e-c0b6-e626-69b8-52833a2b78cc\047}
[2009-11-07 08:38:06 2419] DEBUG (DevController:95) DevController:
writing {\047virtual-device\047: \04751712\047, \047device-type\047:
\047disk\047, \047protocol\047: \047x86_64-abi\047, \047backend-id\047:
\0470\047, \047state\047: \0471\047, \047backend\047:
\047/local/domain/0/backend/tap/1/51712\047} to
/local/domain/1/device/vbd/51712.
[2009-11-07 08:38:06 2419] DEBUG (DevController:97) DevController:
writing {\047domain\047: \047devel\047, \047frontend\047:
\047/local/domain/1/device/vbd/51712\047, \047uuid\047:
\047168b9d3e-c0b6-e626-69b8-52833a2b78cc\047, \047bootable\047:
\0471\047, \047dev\047: \047xvda\047, \047state\047: \0471\047,
\047params\047: \047aio:/var/local/images/devel.img\047, \047mode\047:
\047w\047, \047online\047: \0471\047, \047frontend-id\047: \0471\047,
\047type\047: \047tap\047} to /local/domain/0/backend/tap/1/51712.
[2009-11-07 08:38:06 2419] INFO (XendDomainInfo:2160) createDevice: vif
: {\047bridge\047: \047br-lan\047, \047mac\047:
\04700:16:3e:00:00:af\047, \047uuid\047:
\047a6b2fee2-2fd5-002e-b3e7-a6de37858ec3\047}
[2009-11-07 08:38:06 2419] DEBUG (DevController:95) DevController:
writing {\047mac\047: \04700:16:3e:00:00:af\047, \047handle\047:
\0470\047, \047protocol\047: \047x86_64-abi\047, \047backend-id\047:
\0470\047, \047state\047: \0471\047, \047backend\047:
\047/local/domain/0/backend/vif/1/0\047} to /local/domain/1/device/vif/0.
[2009-11-07 08:38:06 2419] DEBUG (DevController:97) DevController:
writing {\047bridge\047: \047br-lan\047, \047domain\047: \047devel\047,
\047handle\047: \0470\047, \047uuid\047:
\047a6b2fee2-2fd5-002e-b3e7-a6de37858ec3\047, \047script\047:
\047/etc/xen/scripts/vif-bridge\047, \047mac\047:
\04700:16:3e:00:00:af\047, \047frontend-id\047: \0471\047,
\047state\047: \0471\047, \047online\047: \0471\047, \047frontend\047:
\047/local/domain/1/device/vif/0\047} to /local/domain/0/backend/vif/1/0.
[2009-11-07 08:38:06 2419] DEBUG (XendDomainInfo:3052) Storing VM
details: {\047on_xend_stop\047: \047ignore\047, \047shadow_memory\047:
\0470\047, \047uuid\047: \0473000a6c7-4d0b-862d-4700-115c89dfcc80\047,
\047on_reboot\047: \047restart\047, \047start_time\047:
\0471257579486.85\047, \047on_poweroff\047: \047destroy\047,
\047bootloader_args\047: \047\047, \047on_xend_start\047:
\047ignore\047, \047on_crash\047: \047restart\047,
\047xend/restart_count\047: \0470\047, \047vcpus\047: \0471\047,
\047vcpu_avail\047: \0471\047, \047bootloader\047:
\047/usr/lib/xen-default/bin/pygrub\047, \047image\047: "(linux (kernel
) (videoram 4) (notes (HV_START_LOW 18446603336221196288) (FEATURES
\047!writable_page_tables|pae_pgdir_above_4gb\047) (VIRT_BASE
18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS
linux) (HYPERCALL_PAGE 18446744071578882048) (LOADER generic)
(SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071584600928)
(XEN_VERSION xen-3.0)))", \047name\047: \047devel\047}
[2009-11-07 08:38:06 2419] DEBUG (XendDomainInfo:1622) Storing domain
details: {\047console/ring-ref\047: \0471126502\047,
\047image/entry\047: \04718446744071584600928\047, \047console/port\047:
\0472\047, \047store/ring-ref\047: \0471126503\047,
\047image/loader\047: \047generic\047, \047vm\047:
\047/vm/3000a6c7-4d0b-862d-4700-115c89dfcc80\047,
\047control/platform-feature-multiprocessor-suspend\047: \0471\047,
\047image/hv-start-low\047: \04718446603336221196288\047,
\047image/guest-os\047: \047linux\047, \047image/virt-base\047:
\04718446744071562067968\047, \047memory/target\047: \0472097152\047,
\047image/guest-version\047: \0472.6\047, \047image/pae-mode\047:
\047yes\047, \047console/limit\047: \0471048576\047,
\047image/paddr-offset\047: \0470\047, \047image/hypercall-page\047:
\04718446744071578882048\047, \047image/suspend-cancel\047: \0471\047,
\047cpu/0/availability\047: \047online\047,
\047image/features/pae-pgdir-above-4gb\047: \0471\047,
\047image/features/writable-page-tables\047: \0470\047,
\047console/type\047: \047xenconsoled\047, \047name\047: \047devel\047,
\047domid\047: \0471\047, \047image/xen-version\047: \047xen-3.0\047,
\047store/port\047: \0471\047}
[2009-11-07 08:38:06 2419] DEBUG (DevController:95) DevController:
writing {\047protocol\047: \047x86_64-abi\047, \047state\047: \0471\047,
\047backend-id\047: \0470\047, \047backend\047:
\047/local/domain/0/backend/console/1/0\047} to
/local/domain/1/device/console/0.
[2009-11-07 08:38:06 2419] DEBUG (DevController:97) DevController:
writing {\047domain\047: \047devel\047, \047frontend\047:
\047/local/domain/1/device/console/0\047, \047uuid\047:
\047ac0b186f-31c1-bc8a-5f75-2a00c10d36ab\047, \047frontend-id\047:
\0471\047, \047state\047: \0471\047, \047location\047: \0472\047,
\047online\047: \0471\047, \047protocol\047: \047vt100\047} to
/local/domain/0/backend/console/1/0.
[2009-11-07 08:38:06 2419] DEBUG (XendDomainInfo:1709)
XendDomainInfo.handleShutdownWatch
[2009-11-07 08:38:06 2419] DEBUG (DevController:139) Waiting for devices
vif.
[2009-11-07 08:38:06 2419] DEBUG (DevController:144) Waiting for 0.
[2009-11-07 08:38:06 2419] DEBUG (DevController:629)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2009-11-07 08:38:07 2419] DEBUG (DevController:629)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2009-11-07 08:38:07 2419] DEBUG (DevController:643)
hotplugStatusCallback 1.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
vscsi.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
vbd.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
irq.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
vkbd.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
vfb.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
console.
[2009-11-07 08:38:07 2419] DEBUG (DevController:144) Waiting for 0.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
pci.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
ioports.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
tap.
[2009-11-07 08:38:07 2419] DEBUG (DevController:144) Waiting for 51712.
[2009-11-07 08:38:07 2419] DEBUG (DevController:629)
hotplugStatusCallback /local/domain/0/backend/tap/1/51712/hotplug-status.
[2009-11-07 08:38:07 2419] DEBUG (DevController:643)
hotplugStatusCallback 1.
[2009-11-07 08:38:07 2419] DEBUG (DevController:139) Waiting for devices
vtpm.
[2009-11-07 08:38:07 2419] INFO (XendDomain:1180) Domain devel (1) unpaused.
My dom0'' linux kernel config is attached.
Thanks for any ideas, pointers.
Geza
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users