Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #61078
| Path | csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Gergely Risko <risko@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#891036: libusbip: error: port number exceeds 128 |
| Date | Tue, 22 May 2018 18:20:02 +0200 |
| Message-ID | <vSib0-pl-3@gated-at.bofh.it> (permalink) |
| References | <vlH06-1O8-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue May 22 16:15:08 2018 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -4.2 |
| Reply-To | Gergely Risko <risko@debian.org>, 891036@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 891036 |
| X-Debian-Pr-Package | usbip |
| X-Debian-Pr-Keywords | moreinfo |
| X-Debian-Pr-Source | linux, linux-grsec, linux-tools, usbip |
| X-Spam-Bayes | score:0.0000 Tokens: new, 26; hammy, 103; neutral, 36; spammy, 0. spammytokens: hammytokens:0.000-+--H*u:Gnus, 0.000-+--H*u:Emacs, 0.000-+--H*UA:Gnus, 0.000-+--UD:5.orig, 0.000-+--Closes |
| User-Agent | GNU Emacs with Gnus |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Greylist | delayed 1957 seconds by postgrey-1.36 at buxtehude; Tue, 22 May 2018 16:10:07 UTC |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1462121 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 22 May 2018 17:37:24 +0200 |
| X-Original-Message-ID | <8736yj1z2j.fsf@errge.nilcons.com> |
| X-Original-References | <b1abca9f-58c8-c755-6506-c4bf406129a8@ise.pw.edu.pl> |
| Xref | csiph.com linux.debian.bugs.dist:899061 linux.debian.kernel:61078 |
Cross-posted to 2 groups.
Show key headers only | View raw
Dear Ben,
The issue is definitely not fixed by this in 4.14.17-1:
* usbip: Reduce USBIP_VHCI_HC_PORTS to 15, the maximum allowed for SuperSpeed
hubs (Closes: #878866)
On the other hand simply increasing the limit in the userspace library
from 128 to 256 fixes the issue on my computer running
linux-image-4.16.0-1-amd64 (4.16.5-1). Please note that the patch is
only a userspace change in the usbip package, not a kernel change.
I tested the change without even rebuilding the package, just building
the userspace usbip executable with autogen+configure+make in the
tools/usb/usbip subdirectory and I managed to pass through a usb
device. No oopses, no problems, device is working as expected.
Cheers,
Gergely
--- linux-4.16.5.orig/tools/usb/usbip/libsrc/vhci_driver.h
+++ linux-4.16.5/tools/usb/usbip/libsrc/vhci_driver.h
@@ -13,7 +13,7 @@
#define USBIP_VHCI_BUS_TYPE "platform"
#define USBIP_VHCI_DEVICE_NAME "vhci_hcd.0"
-#define MAXNPORT 128
+#define MAXNPORT 256
enum hub_speed {
HUB_SPEED_HIGH = 0,
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#891036: libusbip: error: port number exceeds 128 wzab <wzab@ise.pw.edu.pl> - 2018-02-21 19:10 +0100
Bug#891036: More details - the problem is associated with the vhci-hcd driver. wzab <wzab@ise.pw.edu.pl> - 2018-02-21 20:00 +0100
Bug#891036: Problem occurs in 4.13 and 4.14, but not in 4.12 "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-21 20:30 +0100
Bug#891036: Problem still persists in kernel 4.15 "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-21 21:10 +0100
Bug#891036: Even after updating "usbip" to usbip_2.0+4.15.4-1_amd64.deb problem remains "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-21 21:20 +0100
Bug#891036: The problem is related to the number of ports created in vhci_hcd.0 Wojtek Zabolotny <W.Zabolotny@elka.pw.edu.pl> - 2018-02-22 14:40 +0100
Bug#891036: The problem is related to the number of ports created in vhci_hcd.0 "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-22 23:20 +0100
Bug#891036: The problem is related to the number of ports created in vhci_hcd.0 "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-22 23:50 +0100
Bug#891036: Workaround found, the problem is with Debian configuration of kernel "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-23 01:10 +0100
Bug#891036: Proposal - how to make usbip more resistant to misconfiguration "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> - 2018-02-23 02:10 +0100
Bug#891036: libusbip: error: port number exceeds 128 Gergely Risko <risko@debian.org> - 2018-05-22 18:20 +0200
csiph-web