USB/IP: sharing USB device disappearing at client side

2013-09-24 Thread Gonglei (Arei)
Hi, On KVM platform, I try to share an USB Mass Storage device from On host SUSE11SP2/usbip 1.1.1 (linux-3.11.1-stable)server to another host SUSE11SP2/usbip 1.1.1 client, creation of tunnel is successful: the drive shows up in lsusb on client. When I attach the usb device to a VM on the client

RE: USB2.0 disk format failure in windows guest

2013-04-17 Thread Gonglei (Arei)
> > > Fixing this will require qemu to copy the beginning and ending parts of > > these non-aligned qTDs into separate bounce buffers so that the URB > > length can be divisible by 512. > > Worth trying: http://www.kraxel.org/cgit/qemu/log/?h=usb.80 > > It puts the qemu usb passthrough code ups

RE: USB2.0 disk format failure in windows guest

2013-04-17 Thread Gonglei (Arei)
> > After our repeated verification and debug, we found that windows > > virtual machine USB disk format will send a 64Kbits's URB packet > > which was divided into four QTD (Size: 19968,16384,16384,12800): > > That's okay. > > > The first QTD offset is 32, split into five URB > > 4064/4096/4096

RE: USB2.0 disk format failure in windows guest

2013-04-15 Thread Gonglei (Arei)
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Tuesday, April 16, 2013 1:44 AM > To: Gonglei (Arei) > Cc: linux-usb@vger.kernel.org; Yanqiangjun; Hanweidong; Luonengjun; > kra...@redhat.com; hdego...@redhat.com; qemu-de...@nongnu