Nick Craig-Wood
2010-May-20 08:10 UTC
[Pkg-xen-devel] Bug#582364: xen-utils-3.4: blktapctrl doesn't start
Package: xen-utils-3.4 Version: 3.4.3~rc6-1 Severity: important blktapctrl doesn't start. This means that none of the tap: disks work (eg tap:aio). It produces this in the log BLKTAPCTRL[6569]: blktapctrl.c:788: blktapctrl: v1.0.0 BLKTAPCTRL[6569]: blktapctrl.c:790: Found driver: [raw image (aio)] BLKTAPCTRL[6569]: blktapctrl.c:790: Found driver: [raw image (sync)] BLKTAPCTRL[6569]: blktapctrl.c:790: Found driver: [vmware image (vmdk)] BLKTAPCTRL[6569]: blktapctrl.c:790: Found driver: [ramdisk image (ram)] BLKTAPCTRL[6569]: blktapctrl.c:790: Found driver: [qcow disk (qcow)] BLKTAPCTRL[6569]: blktapctrl.c:790: Found driver: [qcow2 disk (qcow2)] BLKTAPCTRL[6569]: blktapctrl_linux.c:92: couldn't find device number for 'blktap0' BLKTAPCTRL[6569]: blktapctrl.c:857: couldn't open blktap interface BLKTAPCTRL[6569]: blktapctrl.c:916: Unable to start blktapctrl This appears to be because blktapctrl is trying to open one of these /sys/class/xen/blktap0/dev /sys/class/misc/blktap0/dev # strace -f /usr/lib/xen-3.4/bin/blktapctrl 2>&1 | grep /sys open("/sys/class/xen/blktap0/dev", O_RDONLY) = -1 ENOENT (No such file or directory) open("/sys/class/misc/blktap0/dev", O_RDONLY) = -1 ENOENT (No such file or directory) However the blktap module is creating this instead /sys/class/misc/blktap-control/dev My kernel is this ii linux-image-2.6.32-5-xen-amd64 2.6.32-13 Linux 2.6.32 for 64-bit PCs, Xen dom0 suppor -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (1000, 'stable'), (50, 'testing'), (10, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xen-utils-3.4 depends on: ii e2fslibs 1.41.3-1 ext2 filesystem libraries ii iproute 20080725-2 networking and traffic control too ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime libr ii libncurses5 5.7+20100313-2 shared libraries for terminal hand ii libxenstore3.0 3.4.3~rc3-2 Xenstore communications library fo ii python-central 0.6.14+nmu2 register and build utility for Pyt ii python2.5 2.5.2-15+lenny1 An interactive high-level object-o ii udev 0.125-7+lenny3 /dev/ and hotplug management daemo ii xen-utils-common 3.4.2-4 XEN administrative tools - common ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages xen-utils-3.4 recommends: ii bridge-utils 1.4-5 Utilities for configuring the Linu ii xen-hypervisor-3.4-amd64 [xe 3.4.3~rc3-2 The Xen Hypervisor on AMD64 Versions of packages xen-utils-3.4 suggests: pn xen-docs-3.4 <none> (no description available) -- no debconf information