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] tap:aio not working...

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] tap:aio not working...
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Tue, 29 Apr 2008 17:09:39 -0600
Delivery-date: Tue, 29 Apr 2008 16:10:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I'm running SLES10 SP1 and have been using file:/ for my file-backed domUs.  
The domUs sit on a shared OCFS2 SAN-backed filesystem and are run on my three 
or four XEN servers.  I'm having issues with the loopback devices not being 
released when the domUs shutdown or migrate, so I decided to switch over to 
tap:aio for my file-backed domUs.  This isn't working, either.  Whereas the 
domUs with file: at least boot and run, the domUs with tap:aio: fail with this 
error:
 
Error: Device 51952 (vbd) could not be connected. Hotplug scripts not working.
 
I've searched the mailing lists and been through all the udev issues, and none 
of those seem to apply - my loop devices and vifs are connecting perfectly 
fine, just these tap:aio devices that won't work.  I've also verified that 
blktap and xenblk are loaded as modules.  I 
used udevmonitor to track what happens when I start domUs with tap:aio vs. file 
(loop) disks.  Here's file method:
 
UEVENT[1209507940.668013] add@/block/dm-30
UEVENT[1209507940.668040] offline@/block/dm-30
UEVENT[1209507940.668049] online@/block/dm-30
UEVENT[1209507940.668059] add@/block/dm-31
UEVENT[1209507940.668067] offline@/block/dm-31
UEVENT[1209507940.668074] online@/block/dm-31
UDEV  [1209507940.895265] add@/block/dm-31
UDEV  [1209507940.896125] offline@/block/dm-31
UDEV  [1209507940.949818] online@/block/dm-31
UDEV  [1209507940.951980] add@/block/dm-30
UDEV  [1209507940.952814] offline@/block/dm-30
UEVENT[1209507940.962962] mount@/block/dm-30
UDEV  [1209507940.979895] online@/block/dm-30
UDEV  [1209507940.980777] mount@/block/dm-30
UEVENT[1209507941.415122] umount@/block/dm-30
UDEV  [1209507941.415413] umount@/block/dm-30
UEVENT[1209507941.421063] remove@/block/dm-30
UEVENT[1209507941.422222] remove@/block/dm-31
UDEV  [1209507941.422598] remove@/block/dm-30
UDEV  [1209507941.423304] remove@/block/dm-31
UEVENT[1209507942.248473] add@/devices/xen-backend/vkbd-15-0
UDEV  [1209507942.248767] add@/devices/xen-backend/vkbd-15-0
UEVENT[1209507942.255938] add@/devices/xen-backend/vfb-15-0
UDEV  [1209507942.256133] add@/devices/xen-backend/vfb-15-0
UEVENT[1209507942.272675] add@/devices/xen-backend/vbd-15-51712
UEVENT[1209507942.297785] add@/devices/xen-backend/vif-15-0
UDEV  [1209507942.298036] add@/devices/xen-backend/vif-15-0
UEVENT[1209507942.301038] add@/class/net/vif15.0 
UEVENT[1209507942.301052] online@/devices/xen-backend/vif-15-0
UEVENT[1209507942.374108] add@/devices/xen-backend/console-15-0
UDEV  [1209507942.374558] add@/devices/xen-backend/console-15-0
UDEV  [1209507942.404498] online@/devices/xen-backend/vif-15-0
UDEV  [1209507942.459501] add@/class/net/vif15.0 
UDEV  [1209507942.616792] add@/devices/xen-backend/vbd-15-51712
and here's tap:aio method:
UEVENT[1209507805.006622] add@/devices/xen-backend/vbd-0-51952
UEVENT[1209507805.007163] add@/devices/xen/vbd-51952
UDEV  [1209507805.007937] add@/devices/xen/vbd-51952
UDEV  [1209507805.042766] add@/devices/xen-backend/vbd-0-51952
UEVENT[1209507905.016513] remove@/devices/xen-backend/vbd-0-51952
UEVENT[1209507905.067583] remove@/devices/xen/vbd-51952
UDEV  [1209507905.067852] remove@/devices/xen/vbd-51952
UDEV  [1209507905.078662] remove@/devices/xen-backend/vbd-0-51952
 
syslog messages are unhelpful - here's the output when I try with tap:aio:
Apr 29 16:55:02 xen02 kernel: blkback: ring-ref 8, event-channel 38, protocol 1 
(x86_64-abi)
Apr 29 16:55:02 xen02 kernel: blkback: ring-ref 8, event-channel 38, protocol 1 
(x86_64-abi)
Apr 29 16:55:02 xen02 logger: /etc/xen/scripts/block: add 
XENBUS_PATH=backend/vbd/0/51952
Apr 29 16:56:42 xen02 logger: /etc/xen/scripts/block: remove 
XENBUS_PATH=backend/vbd/0/51952
Apr 29 16:56:43 xen02 logger: /etc/xen/scripts/xen-hotplug-cleanup: 
XENBUS_PATH=backend/vbd/0/51952
 
Anyone have any hints as to what might be going on here?  Any possible 
solutions?
 
Thanks,
Nick
 
P.S. - FWIW, it doesn't seem to make a difference whether the files are local 
vs. SAN as to whether tap:aio works or not.



This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.

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

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