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-devel

Re: [Xen-devel] anyone using pvusb?

To: xen-devel@xxxxxxxxxxxxxxxxxxx, james.harper@xxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] anyone using pvusb?
From: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
Date: Fri, 04 Sep 2009 09:49:59 +0900
Cc:
Delivery-date: Thu, 03 Sep 2009 17:51:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6C57085.13C89%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C6C57085.13C89%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hi James,

Is anyone successfully using pvusb under 3.4-testing and 2.6.18-xen?

Could you explain more details about the issue?

- changeset of xen/kernel, arch (x86 or x64)
- H/W (CPU, M/B, USB Host controller, ...)
- USB device (Device name and VendorId/ProdId)
- your setting (show me xenstore entries)

The device I'm testing with is a flash memory stick, and basically the
first BULK packet gets sent successfully, which I assume is a read
request, and then a packet is sent to be filled with data read from the
flash device and it either hangs there, or comes back with 0 bytes and
then the next packet hangs - usb_submit_urb returns success but the
complete callback routine is never called.

Failure of the SCSI-device scanning did not occur with the storage
devices that I've tested.

But, this error might happen due to the mismatch of the
urb->transfer_flags.
I've seen this in the very early version of pvusb.

Regards,
Noboru


Keir Fraser wrote:
Cc'ing the PVUSB author.

 -- Keir

On 03/09/2009 11:42, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

Is anyone successfully using pvusb under 3.4-testing and 2.6.18-xen?

I've been trying to figure out why my windows drivers are hanging after
the first or second BULK packet is sent, and only just occurred to me to
see if it actually works under Linux, and it doesn't.

The device I'm testing with is a flash memory stick, and basically the
first BULK packet gets sent successfully, which I assume is a read
request, and then a packet is sent to be filled with data read from the
flash device and it either hangs there, or comes back with 0 bytes and
then the next packet hangs - usb_submit_urb returns success but the
complete callback routine is never called.

Under Linux DomU (frontend), I get:

Sep  3 20:33:12 smtp2 kernel: usbcore: registered new driver usb-storage
Sep  3 20:33:12 smtp2 kernel: USB Mass Storage support registered.
Sep  3 20:33:12 smtp2 kernel: usb-storage: device found at 2
Sep  3 20:33:12 smtp2 kernel: usb-storage: waiting for device to settle
before scanning
Sep  3 20:33:23 smtp2 kernel: vusb vusb-0: Unlink after no-IRQ?
Controller is probably using the wrong IRQ.

Nothing is logged in the backend.

lsusb -v under the DomU appears to be just fine - everything is reported
correctly.

Any ideas?

Thanks

James


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



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





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