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] blktap2 not working on xen-4.0-testing?

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] blktap2 not working on xen-4.0-testing?
From: Nathan March <nathan@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Jul 2010 15:26:53 -0700
Delivery-date: Thu, 22 Jul 2010 15:28:15 -0700
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: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1
 Hi All,

According to http://wiki.xensource.com/xenwiki/XenKernelFeatures, Jeremy's kernel should support blktap2 properly but I'm not having any luck with it.

I've got CONFIG_XEN_BLKDEV_TAP set in the kernel (tried both built in and a module) and dmesg shows it coming up on bootup:
[    0.566220] blktap_device_init: blktap device major 253
[    0.566574] blktap_ring_init: blktap ring major: 251

but in /dev/xen/ I have no blktap device, just these:
crw-rw----  1 root root 10, 61 Jul 22 07:11 evtchn
crw-rw----  1 root root 10, 60 Jul 22 07:11 gntdev

stracing blktapctrl shows it looking for a blktap0 in there:
[pid 6545] open("/dev/xen/blktap0", O_RDWR) = -1 ENOENT (No such file or directory)

debug output from blktapctrl:
Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:790: blktapctrl: v1.0.0 Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:792: Found driver: [raw image (aio)] Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:792: Found driver: [raw image (sync)] Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:792: Found driver: [vmware image (vmdk)] Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:792: Found driver: [ramdisk image (ram)] Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:792: Found driver: [qcow disk (qcow)] Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:792: Found driver: [qcow2 disk (qcow2)] Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl_linux.c:86: blktap0 open failed Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:859: couldn't open blktap interface Jul 22 15:25:58 xen4.nmsrv.com BLKTAPCTRL[2730]: blktapctrl.c:922: Unable to start blktapctrl

Am I missing something obvious here?

Thanks,
Nathan

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

<Prev in Thread] Current Thread [Next in Thread>