Re: usbip port number limits

2017-11-29 Thread Juan Zea
>On 11/29/2017 07:25 PM, Yuyang Du wrote: >> Hi Shuah, >> >> On Tue, Nov 28, 2017 at 05:09:18PM -0700, Shuah Khan wrote: >>> On 11/28/2017 11:32 AM, Shuah Khan wrote: On 11/26/2017 06:33 PM, Yuyang Du wrote: > Hi Juan, > > On Fri, Nov 24, 2017 at 12:42:22PM +0100, Juan Zea wrote:

Re: usbip port number limits

2017-11-29 Thread Shuah Khan
On 11/29/2017 07:25 PM, Yuyang Du wrote: > Hi Shuah, > > On Tue, Nov 28, 2017 at 05:09:18PM -0700, Shuah Khan wrote: >> On 11/28/2017 11:32 AM, Shuah Khan wrote: >>> On 11/26/2017 06:33 PM, Yuyang Du wrote: Hi Juan, On Fri, Nov 24, 2017 at 12:42:22PM +0100, Juan Zea wrote: >

Re: usbip port number limits

2017-11-29 Thread Yuyang Du
Hi Shuah, On Tue, Nov 28, 2017 at 05:09:18PM -0700, Shuah Khan wrote: > On 11/28/2017 11:32 AM, Shuah Khan wrote: > > On 11/26/2017 06:33 PM, Yuyang Du wrote: > >> Hi Juan, > >> > >> On Fri, Nov 24, 2017 at 12:42:22PM +0100, Juan Zea wrote: > >>>The patch doesn't apply cleanly with the patch

Re: usbip port number limits

2017-11-28 Thread Shuah Khan
On 11/28/2017 11:32 AM, Shuah Khan wrote: > On 11/26/2017 06:33 PM, Yuyang Du wrote: >> Hi Juan, >> >> On Fri, Nov 24, 2017 at 12:42:22PM +0100, Juan Zea wrote: >>>The patch doesn't apply cleanly with the patch command, but given it is >>> that simple I've changed it myself (I'm telling you

Re: usbip port number limits

2017-11-28 Thread Shuah Khan
On 11/26/2017 06:33 PM, Yuyang Du wrote: > Hi Juan, > > On Fri, Nov 24, 2017 at 12:42:22PM +0100, Juan Zea wrote: >>The patch doesn't apply cleanly with the patch command, but given it is >> that simple I've changed it myself (I'm telling you just in case we're >> missing something). >> >>

Re: usbip port number limits

2017-11-26 Thread Yuyang Du
Hi Juan, On Fri, Nov 24, 2017 at 12:42:22PM +0100, Juan Zea wrote: >The patch doesn't apply cleanly with the patch command, but given it is > that simple I've changed it myself (I'm telling you just in case we're > missing something). > >The fingerprint reader, usb stick and wacom

Re: usbip port number limits

2017-11-24 Thread Juan Zea
tina Manea" > <valentina.mane...@gmail.com> > Enviados: Viernes, 24 de Noviembre 2017 8:22:44 > Asunto: Re: usbip port number limits > > On Wed, Nov 22, 2017 at 09:38:27AM +0100, Juan Zea wrote: > > I don't come up with any more detail... anything I'm missing?

Re: usbip port number limits

2017-11-23 Thread Yuyang Du
On Wed, Nov 22, 2017 at 09:38:27AM +0100, Juan Zea wrote: > I don't come up with any more detail... anything I'm missing? Hi Juan, Thank you so much for your patience. Really appreciate it. I came up with the following patch, with which at my side the BUG doesn't happen again with both a (low

Re: usbip port number limits

2017-11-22 Thread Juan Zea
bj...@mork.no>, linux-usb@vger.kernel.org, "Valentina Manea" > <valentina.mane...@gmail.com> > Enviados: Miércoles, 22 de Noviembre 2017 8:54:03 > Asunto: Re: usbip port number limits > > Hi Juan, > > On Tue, Nov 21, 2017 at 12:24:01PM +0100, Juan Zea wrote: >

Re: usbip port number limits

2017-11-22 Thread Yuyang Du
On Tue, Nov 21, 2017 at 07:33:41AM -0700, Shuah Khan wrote: > I have been debugging on 4.12 and this bad commit. Low speed devices can be > attached, but you see the following and then shutdown hangs. Oh, just tested a high speed USB stick, I got the message. I'm working on it. -- To unsubscribe

Re: usbip port number limits

2017-11-21 Thread Yuyang Du
Hi Juan, On Tue, Nov 21, 2017 at 12:24:01PM +0100, Juan Zea wrote: > Please excuse me... I have reported two different problems in this post, > and I think things are mixing up a bit. My bad. I've found two different > problems: > > 1.- When compiling vhci driver with multiple hubs (in

Re: usbip port number limits

2017-11-21 Thread Yuyang Du
Hi Shuah, On Tue, Nov 21, 2017 at 07:33:41AM -0700, Shuah Khan wrote: > > Thanks for finding the problem. usb2 devices don't work at all with the > offending commit: 03cd00d538a6feb0492cd153edf256ef7d7bd95e > > I have been debugging on 4.12 and this bad commit. Low speed devices can be >

Re: usbip port number limits

2017-11-21 Thread Shuah Khan
"Bjørn Mork" >> <bj...@mork.no>, linux-usb@vger.kernel.org, "Valentina Manea" >> <valentina.mane...@gmail.com> >> Enviados: Martes, 21 de Noviembre 2017 8:45:33 >> Asunto: Re: usbip port number limits >> >> On Wed, Nov 15,

Re: usbip port number limits

2017-11-21 Thread Juan Zea
;, linux-usb@vger.kernel.org, "Valentina Manea" > <valentina.mane...@gmail.com> > Enviados: Martes, 21 de Noviembre 2017 8:45:33 > Asunto: Re: usbip port number limits > > On Wed, Nov 15, 2017 at 07:58:24AM -0700, Shuah Khan wrote: > > Hi Ju

Re: usbip port number limits

2017-11-20 Thread Yuyang Du
On Wed, Nov 15, 2017 at 07:58:24AM -0700, Shuah Khan wrote: > Hi Juan, > > On 11/15/2017 07:43 AM, Juan Zea wrote: > > > >>> Also, will you be able to revert the usb3 commit > >>> 1c9de5bf428612458427943b724bea51abde520a > >>> > >>> and see if any of the problems go away. > >>> > >>> thanks,

Re: usbip port number limits

2017-11-15 Thread Shuah Khan
On 11/15/2017 01:52 AM, Juan Zea wrote: >> On 11/14/2017 09:25 AM, Juan Zea wrote: >>> Hi, >>> >>> I've been working on the issue. This is what I found about multi-controller >>> setup: >>> >>> The problem comes from the usbip tool trying to connect usb2 devices to >>> usb3 ports, like this:

Re: usbip port number limits

2017-11-15 Thread Shuah Khan
Hi Juan, On 11/15/2017 07:43 AM, Juan Zea wrote: > >>> Also, will you be able to revert the usb3 commit >>> 1c9de5bf428612458427943b724bea51abde520a >>> >>> and see if any of the problems go away. >>> >>> thanks, >>> -- Shuah >>> > >> I'm on it and will send results later. > >> Thanks, >>

Re: usbip port number limits

2017-11-15 Thread Juan Zea
>>Also, will you be able to revert the usb3 commit >>1c9de5bf428612458427943b724bea51abde520a >> >>and see if any of the problems go away. >> >>thanks, >>-- Shuah >> >I'm on it and will send results later. >Thanks, >Juan Ok, I'm back. The revert was quite complex, with several conflicts I

Re: usbip port number limits

2017-11-15 Thread Juan Zea
>On 11/14/2017 09:25 AM, Juan Zea wrote: >> Hi, >> >> I've been working on the issue. This is what I found about multi-controller >> setup: >> >> The problem comes from the usbip tool trying to connect usb2 devices to usb3 >> ports, like this: >> >> - usbip tool asks vhci driver for free

Re: usbip port number limits

2017-11-14 Thread Yuyang Du
On Tue, Nov 14, 2017 at 04:17:33PM -0700, Shuah Khan wrote: > On 11/14/2017 01:36 PM, Shuah Khan wrote: > Hi Yuyang Du, > > I am looking at the USB3 support patch and not finding where > USB_SPEED_LOW is handled. Any reason why dropping support for > that? > Hi Shuah, It's been a while since

Re: usbip port number limits

2017-11-14 Thread Shuah Khan
On 11/14/2017 01:36 PM, Shuah Khan wrote: > On 11/14/2017 09:25 AM, Juan Zea wrote: >> Hi, >> >>I've been working on the issue. This is what I found about >> multi-controller setup: >> >> The problem comes from the usbip tool trying to connect usb2 devices to usb3 >> ports, like this: >> >>

Re: usbip port number limits

2017-11-14 Thread Shuah Khan
On 11/14/2017 09:25 AM, Juan Zea wrote: > Hi, > >I've been working on the issue. This is what I found about > multi-controller setup: > > The problem comes from the usbip tool trying to connect usb2 devices to usb3 > ports, like this: > > - usbip tool asks vhci driver for free port. > -

Re: usbip port number limits

2017-11-14 Thread Juan Zea
entina.mane...@gmail.com>, "Shuah Khan" <sh...@kernel.org> Enviados: Martes, 31 de Octubre 2017 12:28:30 Asunto: Re: usbip port number limits Juan Zea <juan@qindel.com> writes: > Having a look at the code of the VHCI driver at > https://github.com

Re: usbip port number limits

2017-10-31 Thread Bjørn Mork
Juan Zea writes: > Having a look at the code of the VHCI driver at > https://github.com/torvalds/linux/tree/master/drivers/usb/usbip , I > found these two parameters: USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS > > I've compiled VHCI driver from latest source above, altering

usbip port number limits

2017-10-31 Thread Juan Zea
Hi, My name is Juan, and I work for Qindel, a small IT company based in Spain. I'm currently trying to do some development for our main product QVD. Specifically, I'm trying to get usbip to work with a great number of LXC containers. Due to the nature of LXC, all usbip ports are shared among