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

[Xen-users] Xen domU tap:aio problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen domU tap:aio problem
From: Andrey <basketboy@xxxxx>
Date: Fri, 26 Dec 2008 15:35:58 +0300
Delivery-date: Fri, 26 Dec 2008 04:36:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081125)
Hello,

I installed Xen 3.2.1 on Debian Lenny from packages. Then created image files with 'xen-create-image --size=2Gb --swap=128Mb --dhcp --dir=/xen --hostname=test'. Now I'm trying to run Debian in PV mode using the following configuration file:

kernel = "/boot/vmlinuz-2.6.26-1-xen-686"
ramdisk = "/boot/initrd.img-2.6.26-1-xen-686"
memory = 128
name = "test"
vif = [ '' ]
dhcp = "dhcp"
disk = ['tap:aio:/xen/domains/test/disk.img,xvda1,w', 'tap:aio:/xen/domains/test/swap.img,xvda2,w']
root = "/dev/xvda1 ro"
extras = 'console=xvc0'

And get the running process to hang on disk initalization stage:


Started domain test
[    0.004000]       .init : 0xc038d000 - 0xc03be000   ( 196 kB)
[    0.004000]       .data : 0xc02ccd00 - 0xc03858a0   ( 738 kB)
[    0.004000]       .text : 0xc0100000 - 0xc02ccd00   (1843 kB)
[ 0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.664057] Calibrating delay using timer specific routine.. 6008.09 BogoMIPS (lpj=12016199) [ 0.664095] Security Framework initialized [ 0.664107] SELinux: Disabled at boot. [ 0.664113] Capability LSM initialized [ 0.664126] Mount-cache hash table entries: 512 [ 0.664236] Initializing cgroup subsys ns [ 0.664245] Initializing cgroup subsys cpuacct [ 0.664250] Initializing cgroup subsys devices [ 0.664275] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.664283] CPU: L2 cache: 6144K [ 0.664296] Checking 'hlt' instruction... OK. [ 0.664655] SMP alternatives: switching to UP code [ 0.679036] Freeing SMP alternatives: 16k freed [ 0.679124] Brought up 1 CPUs [ 0.681279] net_namespace: 660 bytes [ 0.681429] NET: Registered protocol family 16 [ 0.682443] Brought up 1 CPUs [ 0.682457] PCI: Fatal: No config space access function found [ 0.682462] PCI: setting up Xen PCI frontend stub [ 0.683020] ACPI: Interpreter disabled. [ 0.683027] Linux Plug and Play Support v0.97 (c) Adam Belay [ 0.683056] pnp: PnP ACPI: disabled
[    0.683256] suspend: event channel 7
[    0.683751] xen_mem: Initialising balloon driver.
[    0.685129] PCI: System does not support PCI
[    0.685135] PCI: System does not support PCI
[    0.685528] NET: Registered protocol family 2
[ 0.685597] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.685747] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.685778] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.685807] TCP: Hash tables configured (established 8192 bind 8192)
[    0.685813] TCP reno registered
[    0.685860] NET: Registered protocol family 1
[    0.685944] checking if image is initramfs... it is
[    0.697821] Freeing initrd memory: 8612k freed
[ 0.697994] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.698254] audit: initializing netlink socket (disabled)
[    0.698270] type=2000 audit(1230294161.711:1): initialized
[    0.698396] VFS: Disk quotas dquot_6.5.1
[    0.698420] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.698445] msgmni has been set to 272
[ 0.698523] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.698532] io scheduler noop registered
[    0.698536] io scheduler anticipatory registered
[    0.698540] io scheduler deadline registered
[    0.698550] io scheduler cfq registered (default)
[ 0.700553] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[    0.701775] brd: module loaded
[    0.701828] Xen virtual console successfully installed as hvc0
[    0.701862] Event-channel device installed.
[    0.710259] netfront: Initialising virtual ethernet driver.
[    0.710962] PNP: No PS/2 controller found. Probing ports directly.
[    0.711784] i8042.c: No controller found.
[    0.711867] mice: PS/2 mouse device common for all mice
[    0.712016] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.712031] No iBFT detected.
[    0.712031] TCP cubic registered
[    0.712031] NET: Registered protocol family 17
[    0.712031] Using IPI No-Shortcut mode
[    0.712164] registered taskstats version 1
[ 5.812197] XENBUS: Waiting for devices to initialise: 295s...290s...285s...

Also I created a few HVM domUs with FreeBSD and Windows and everything was fine with tap:aio driver. xend.log does not contain any error messages.

When I change tap:aio to file: PV domU is loaded fine. But I want to load

Where is the problem? I guess something is wrong with blktap driver in domU kernel (that is the same as dom0)?

Also I've noticed in syslog.log error messages about blktapctrl:

Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: Found driver: [raw image (aio)]
Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: Found driver: [raw image (sync)]
Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: Found driver: [vmware image (vmdk)] Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: Found driver: [ramdisk image (ram)]
Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: Found driver: [qcow disk (qcow)]
Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: couldn't find device number for 'blktap0'
Dec 26 12:45:49 vps-main BLKTAPCTRL[24550]: Unable to start blktapctrl

I sucesfully load xenblktap manually with modprobe, restart xend but with any luck about tap:aio hanging in domU.

Can anyone help please to solve this issue?

With regards, Andrey

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen domU tap:aio problem, Andrey <=