Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: "wzabolot@elektron.elka.pw.edu.pl" Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#891036: Workaround found, the problem is with Debian configuration of kernel Date: Fri, 23 Feb 2018 01:10:02 +0100 Message-ID: References: X-Original-To: 891036@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Feb 23 00:09:13 2018 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.96 Reply-To: "wzabolot@elektron.elka.pw.edu.pl" , 891036@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Kernel Team X-Debian-Pr-Message: followup 891036 X-Debian-Pr-Package: usbip X-Debian-Pr-Source: linux, linux-grsec, linux-tools, usbip X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 122; neutral, 45; spammy, 0. spammytokens: hammytokens:0.000-+--sk:config_, 0.000-+--sk:CONFIG_, 0.000-+--H*UA:52.6.0, 0.000-+--H*u:52.6.0, 0.000-+--H*u:x86_64 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: pl-PL X-Debian-Message: from BTS X-Mailing-List: archive/latest/1443266 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 21 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 23 Feb 2018 01:04:29 +0100 X-Original-Message-ID: <81137d23-e027-14d8-0660-e7de113fee44@elektron.elka.pw.edu.pl> X-Original-References: <6d54befc-2fbb-b1ca-cc93-00eefb5c867f@elektron.elka.pw.edu.pl> <7c22ea61-a9da-caa6-5b69-06e3dfefdb44@elektron.elka.pw.edu.pl> <7c22ea61-a9da-caa6-5b69-06e3dfefdb44@elektron.elka.pw.edu.pl> Xref: csiph.com linux.debian.bugs.dist:883255 linux.debian.kernel:60318 I have recompiled the kernel with modifed settings: In the debian/config/config I have changed: from CONFIG_USBIP_VHCI_NR_HCS=8 to CONFIG_USBIP_VHCI_NR_HCS=4 After installing the modified kernel I was able to get my remote device attached and it worked correctly. Probably the problem could be also solved by increasing the  MAXNPORT from 128 to  240 or even to 256 in tools/usb/usbip/libsrc/vhci_driver.h (modifying the kernel sources instead of the Debian configuration), but I have not verified yet if that approach works. -- Wojciech M Zabolotny, PhD Institute of Electronic Systems Faculty of Electronics and Information Technology Warsaw University of Technology