Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #60264 > unrolled thread
| Started by | wzab <wzab@ise.pw.edu.pl> |
|---|---|
| First post | 2018-02-21 19:10 +0100 |
| Last post | 2018-05-22 18:20 +0200 |
| Articles | 11 — 4 participants |
Back to article view | Back to linux.debian.kernel
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
| From | wzab <wzab@ise.pw.edu.pl> |
|---|---|
| Date | 2018-02-21 19:10 +0100 |
| Subject | Bug#891036: libusbip: error: port number exceeds 128 |
| Message-ID | <vlH06-1O8-3@gated-at.bofh.it> |
Package: usbip
Version: 2.0+4.14.13-1
Severity: important
Dear Maintainer,
When I try to access the USB devices exported with usbip from another
machine,
even before I try to access the remote usbip server I gaet the strange
error:
# modprobe vhci-hcd
# usbip port
libusbip: error: port number exceeds 128
usbip: error: open vhci_driver
usbip: error: list imported devices
Of course I'm not able to attach any device.
# usbip attach -b 4-1 -r 192.168.0.82
libusbip: error: port number exceeds 128
usbip: error: open vhci_driver
usbip: error: query
Even though the device is visible for my machine:
# usbip list -r 192.168.0.82
Exportable USB devices
======================
- 192.168.0.82
4-1: C-Media Electronics, Inc. : Audio Adapter (0d8c:000c)
: /sys/devices/platform/soc/1c1b400.usb/usb4/4-1
: (Defined at Interface level) (00/00/00)
: 0 - Audio / Control Device / unknown protocol (01/01/00)
: 1 - Audio / Streaming / unknown protocol (01/02/00)
: 2 - Audio / Streaming / unknown protocol (01/02/00)
: 3 - Human Interface Device / No Subclass / None (03/00/00)
I have attempted to attach the device to the virtual machine (Knoppix
8.1) running
under QEMU. Everything worked correctly. So obviously it is a problem
with the current
version of Debian/testing.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8),
LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages usbip depends on:
ii libc6 2.26-6
ii libudev1 236-3
ii libwrap0 7.6.q-27
ii usbutils 1:007-4+b1
usbip recommends no packages.
usbip suggests no packages.
-- no debconf information
[toc] | [next] | [standalone]
| From | wzab <wzab@ise.pw.edu.pl> |
|---|---|
| Date | 2018-02-21 20:00 +0100 |
| Subject | Bug#891036: More details - the problem is associated with the vhci-hcd driver. |
| Message-ID | <vlHMu-24n-3@gated-at.bofh.it> |
| In reply to | #60264 |
I have just found, that the problem occurs earlier. Just after I load the vhci-hcd driver, I can see the following in the kernel log: [ 115.909607] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 115.909614] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 5 [ 115.909645] vhci_hcd: created sysfs vhci_hcd.0 [ 115.909730] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.909734] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.909737] usb usb5: Product: USB/IP Virtual Host Controller [ 115.909740] usb usb5: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.909742] usb usb5: SerialNumber: vhci_hcd.0 [ 115.910019] hub 5-0:1.0: USB hub found [ 115.910035] hub 5-0:1.0: 31 ports detected [ 115.911147] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 115.911152] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 6 [ 115.911186] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.911237] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.911240] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.911243] usb usb6: Product: USB/IP Virtual Host Controller [ 115.911245] usb usb6: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.911248] usb usb6: SerialNumber: vhci_hcd.0 [ 115.911518] hub 6-0:1.0: USB hub found [ 115.911534] hub 6-0:1.0: config failed, hub has too many ports! (err -19) [ 115.911827] vhci_hcd vhci_hcd.1: USB/IP Virtual Host Controller [ 115.911831] vhci_hcd vhci_hcd.1: new USB bus registered, assigned bus number 7 [ 115.911899] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.911902] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.911904] usb usb7: Product: USB/IP Virtual Host Controller [ 115.911907] usb usb7: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.911909] usb usb7: SerialNumber: vhci_hcd.1 [ 115.912198] hub 7-0:1.0: USB hub found [ 115.912212] hub 7-0:1.0: 31 ports detected [ 115.913269] vhci_hcd vhci_hcd.1: USB/IP Virtual Host Controller [ 115.913273] vhci_hcd vhci_hcd.1: new USB bus registered, assigned bus number 8 [ 115.913306] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.913359] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.913362] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.913365] usb usb8: Product: USB/IP Virtual Host Controller [ 115.913367] usb usb8: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.913370] usb usb8: SerialNumber: vhci_hcd.1 [ 115.913626] hub 8-0:1.0: USB hub found [ 115.913641] hub 8-0:1.0: config failed, hub has too many ports! (err -19) [ 115.913923] vhci_hcd vhci_hcd.2: USB/IP Virtual Host Controller [ 115.913926] vhci_hcd vhci_hcd.2: new USB bus registered, assigned bus number 9 [ 115.913994] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.913997] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.913999] usb usb9: Product: USB/IP Virtual Host Controller [ 115.914001] usb usb9: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.914004] usb usb9: SerialNumber: vhci_hcd.2 [ 115.914237] hub 9-0:1.0: USB hub found [ 115.914251] hub 9-0:1.0: 31 ports detected [ 115.914914] vhci_hcd vhci_hcd.2: USB/IP Virtual Host Controller [ 115.914918] vhci_hcd vhci_hcd.2: new USB bus registered, assigned bus number 10 [ 115.914948] usb usb10: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.914989] usb usb10: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.914992] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.914994] usb usb10: Product: USB/IP Virtual Host Controller [ 115.914996] usb usb10: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.914998] usb usb10: SerialNumber: vhci_hcd.2 [ 115.915245] hub 10-0:1.0: USB hub found [ 115.915258] hub 10-0:1.0: config failed, hub has too many ports! (err -19) [ 115.915501] vhci_hcd vhci_hcd.3: USB/IP Virtual Host Controller [ 115.915504] vhci_hcd vhci_hcd.3: new USB bus registered, assigned bus number 11 [ 115.915559] usb usb11: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.915562] usb usb11: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.915564] usb usb11: Product: USB/IP Virtual Host Controller [ 115.915567] usb usb11: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.915569] usb usb11: SerialNumber: vhci_hcd.3 [ 115.915796] hub 11-0:1.0: USB hub found [ 115.915809] hub 11-0:1.0: 31 ports detected [ 115.916752] vhci_hcd vhci_hcd.3: USB/IP Virtual Host Controller [ 115.916756] vhci_hcd vhci_hcd.3: new USB bus registered, assigned bus number 12 [ 115.916785] usb usb12: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.916828] usb usb12: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.916831] usb usb12: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.916833] usb usb12: Product: USB/IP Virtual Host Controller [ 115.916836] usb usb12: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.916838] usb usb12: SerialNumber: vhci_hcd.3 [ 115.917042] hub 12-0:1.0: USB hub found [ 115.917054] hub 12-0:1.0: config failed, hub has too many ports! (err -19) [ 115.917309] vhci_hcd vhci_hcd.4: USB/IP Virtual Host Controller [ 115.917312] vhci_hcd vhci_hcd.4: new USB bus registered, assigned bus number 13 [ 115.917372] usb usb13: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.917374] usb usb13: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.917376] usb usb13: Product: USB/IP Virtual Host Controller [ 115.917378] usb usb13: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.917380] usb usb13: SerialNumber: vhci_hcd.4 [ 115.917548] hub 13-0:1.0: USB hub found [ 115.917553] hub 13-0:1.0: 31 ports detected [ 115.917943] vhci_hcd vhci_hcd.4: USB/IP Virtual Host Controller [ 115.917944] vhci_hcd vhci_hcd.4: new USB bus registered, assigned bus number 14 [ 115.917953] usb usb14: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.917966] usb usb14: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.917966] usb usb14: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.917967] usb usb14: Product: USB/IP Virtual Host Controller [ 115.917967] usb usb14: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.917968] usb usb14: SerialNumber: vhci_hcd.4 [ 115.918049] hub 14-0:1.0: USB hub found [ 115.918053] hub 14-0:1.0: config failed, hub has too many ports! (err -19) [ 115.918134] vhci_hcd vhci_hcd.5: USB/IP Virtual Host Controller [ 115.918135] vhci_hcd vhci_hcd.5: new USB bus registered, assigned bus number 15 [ 115.918149] usb usb15: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.918150] usb usb15: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.918150] usb usb15: Product: USB/IP Virtual Host Controller [ 115.918151] usb usb15: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.918151] usb usb15: SerialNumber: vhci_hcd.5 [ 115.918206] hub 15-0:1.0: USB hub found [ 115.918209] hub 15-0:1.0: 31 ports detected [ 115.918585] vhci_hcd vhci_hcd.5: USB/IP Virtual Host Controller [ 115.918587] vhci_hcd vhci_hcd.5: new USB bus registered, assigned bus number 16 [ 115.918600] usb usb16: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.918616] usb usb16: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.918617] usb usb16: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.918618] usb usb16: Product: USB/IP Virtual Host Controller [ 115.918619] usb usb16: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.918620] usb usb16: SerialNumber: vhci_hcd.5 [ 115.918701] hub 16-0:1.0: USB hub found [ 115.918706] hub 16-0:1.0: config failed, hub has too many ports! (err -19) [ 115.918909] vhci_hcd vhci_hcd.6: USB/IP Virtual Host Controller [ 115.918910] vhci_hcd vhci_hcd.6: new USB bus registered, assigned bus number 17 [ 115.919003] usb usb17: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.919004] usb usb17: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.919005] usb usb17: Product: USB/IP Virtual Host Controller [ 115.919006] usb usb17: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.919007] usb usb17: SerialNumber: vhci_hcd.6 [ 115.919143] hub 17-0:1.0: USB hub found [ 115.919150] hub 17-0:1.0: 31 ports detected [ 115.919584] vhci_hcd vhci_hcd.6: USB/IP Virtual Host Controller [ 115.919586] vhci_hcd vhci_hcd.6: new USB bus registered, assigned bus number 18 [ 115.919598] usb usb18: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.919616] usb usb18: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.919617] usb usb18: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.919618] usb usb18: Product: USB/IP Virtual Host Controller [ 115.919619] usb usb18: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.919620] usb usb18: SerialNumber: vhci_hcd.6 [ 115.919717] hub 18-0:1.0: USB hub found [ 115.919723] hub 18-0:1.0: config failed, hub has too many ports! (err -19) [ 115.919861] vhci_hcd vhci_hcd.7: USB/IP Virtual Host Controller [ 115.919862] vhci_hcd vhci_hcd.7: new USB bus registered, assigned bus number 19 [ 115.919888] usb usb19: New USB device found, idVendor=1d6b, idProduct=0002 [ 115.919890] usb usb19: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.919891] usb usb19: Product: USB/IP Virtual Host Controller [ 115.919891] usb usb19: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.919892] usb usb19: SerialNumber: vhci_hcd.7 [ 115.920008] hub 19-0:1.0: USB hub found [ 115.920014] hub 19-0:1.0: 31 ports detected [ 115.920615] vhci_hcd vhci_hcd.7: USB/IP Virtual Host Controller [ 115.920617] vhci_hcd vhci_hcd.7: new USB bus registered, assigned bus number 20 [ 115.920636] usb usb20: We don't know the algorithms for LPM for this host, disabling LPM. [ 115.920657] usb usb20: New USB device found, idVendor=1d6b, idProduct=0003 [ 115.920658] usb usb20: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 115.920659] usb usb20: Product: USB/IP Virtual Host Controller [ 115.920660] usb usb20: Manufacturer: Linux 4.14.0-3-amd64 vhci_hcd [ 115.920661] usb usb20: SerialNumber: vhci_hcd.7 [ 115.920809] hub 20-0:1.0: USB hub found [ 115.920818] hub 20-0:1.0: config failed, hub has too many ports! (err -19)
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-21 20:30 +0100 |
| Subject | Bug#891036: Problem occurs in 4.13 and 4.14, but not in 4.12 |
| Message-ID | <vlIfw-2tK-5@gated-at.bofh.it> |
| In reply to | #60264 |
I have repeated my tests, starting my Debian/testing system with the 4.13.0-2 kernel, and the same problem occured. Then I have started the system with yet older 4.12.0-2 kernel ( uname -a returns: Linux wzab 4.12.0-2-amd64 #1 SMP Debian 4.12.13-1 (2017-09-19) x86_64 GNU/Linux ) Now the vhci_hcd driver loads correctly: [ 240.938326] usbip_core: USB/IP Core v1.0.0 [ 240.949762] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller [ 240.949768] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 5 [ 240.949797] vhci_hcd: created sysfs vhci_hcd [ 240.949873] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.949876] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.949878] usb usb5: Product: USB/IP Virtual Host Controller [ 240.949880] usb usb5: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.949882] usb usb5: SerialNumber: vhci_hcd [ 240.950101] hub 5-0:1.0: USB hub found [ 240.950110] hub 5-0:1.0: 31 ports detected [ 240.950872] vhci_hcd vhci_hcd.1: USB/IP Virtual Host Controller [ 240.950875] vhci_hcd vhci_hcd.1: new USB bus registered, assigned bus number 6 [ 240.950956] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.950964] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.950973] usb usb6: Product: USB/IP Virtual Host Controller [ 240.950981] usb usb6: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.950984] usb usb6: SerialNumber: vhci_hcd.1 [ 240.951297] hub 6-0:1.0: USB hub found [ 240.951314] hub 6-0:1.0: 31 ports detected [ 240.952645] vhci_hcd vhci_hcd.2: USB/IP Virtual Host Controller [ 240.952651] vhci_hcd vhci_hcd.2: new USB bus registered, assigned bus number 7 [ 240.952720] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.952724] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.952727] usb usb7: Product: USB/IP Virtual Host Controller [ 240.952730] usb usb7: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.952734] usb usb7: SerialNumber: vhci_hcd.2 [ 240.953124] hub 7-0:1.0: USB hub found [ 240.953140] hub 7-0:1.0: 31 ports detected [ 240.954167] vhci_hcd vhci_hcd.3: USB/IP Virtual Host Controller [ 240.954171] vhci_hcd vhci_hcd.3: new USB bus registered, assigned bus number 8 [ 240.954215] usb usb8: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.954218] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.954220] usb usb8: Product: USB/IP Virtual Host Controller [ 240.954222] usb usb8: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.954224] usb usb8: SerialNumber: vhci_hcd.3 [ 240.954442] hub 8-0:1.0: USB hub found [ 240.954453] hub 8-0:1.0: 31 ports detected [ 240.955338] vhci_hcd vhci_hcd.4: USB/IP Virtual Host Controller [ 240.955342] vhci_hcd vhci_hcd.4: new USB bus registered, assigned bus number 9 [ 240.955388] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.955391] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.955393] usb usb9: Product: USB/IP Virtual Host Controller [ 240.955395] usb usb9: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.955397] usb usb9: SerialNumber: vhci_hcd.4 [ 240.955615] hub 9-0:1.0: USB hub found [ 240.955626] hub 9-0:1.0: 31 ports detected [ 240.956650] vhci_hcd vhci_hcd.5: USB/IP Virtual Host Controller [ 240.956654] vhci_hcd vhci_hcd.5: new USB bus registered, assigned bus number 10 [ 240.956698] usb usb10: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.956701] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.956704] usb usb10: Product: USB/IP Virtual Host Controller [ 240.956706] usb usb10: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.956708] usb usb10: SerialNumber: vhci_hcd.5 [ 240.956941] hub 10-0:1.0: USB hub found [ 240.956951] hub 10-0:1.0: 31 ports detected [ 240.958709] vhci_hcd vhci_hcd.6: USB/IP Virtual Host Controller [ 240.958714] vhci_hcd vhci_hcd.6: new USB bus registered, assigned bus number 11 [ 240.958950] usb usb11: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.958952] usb usb11: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.958953] usb usb11: Product: USB/IP Virtual Host Controller [ 240.958954] usb usb11: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.958955] usb usb11: SerialNumber: vhci_hcd.6 [ 240.959145] hub 11-0:1.0: USB hub found [ 240.959398] hub 11-0:1.0: 31 ports detected [ 240.964367] vhci_hcd vhci_hcd.7: USB/IP Virtual Host Controller [ 240.964370] vhci_hcd vhci_hcd.7: new USB bus registered, assigned bus number 12 [ 240.964393] usb usb12: New USB device found, idVendor=1d6b, idProduct=0002 [ 240.964394] usb usb12: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 240.964395] usb usb12: Product: USB/IP Virtual Host Controller [ 240.964396] usb usb12: Manufacturer: Linux 4.12.0-2-amd64 vhci_hcd [ 240.964397] usb usb12: SerialNumber: vhci_hcd.7 [ 240.965612] hub 12-0:1.0: USB hub found [ 240.965619] hub 12-0:1.0: 31 ports detected [ 240.966927] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0 The cpuinfo in my system is as follows: # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7200.07 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 799.804 cache size : 8192 KB physical id : 0 siblings : 8 core id : 1 cpu cores : 4 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.09 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 2 cpu cores : 4 apicid : 4 initial apicid : 4 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.10 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 6 initial apicid : 6 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.09 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 4 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.61 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 1 cpu cores : 4 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.16 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 6 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 2 cpu cores : 4 apicid : 5 initial apicid : 5 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.16 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz stepping : 3 microcode : 0x22 cpu MHz : 800.024 cache size : 8192 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts bugs : bogomips : 7201.16 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: -- Wojciech M Zabolotny, PhD Institute of Electronic Systems Faculty of Electronics and Information Technology Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-21 21:10 +0100 |
| Subject | Bug#891036: Problem still persists in kernel 4.15 |
| Message-ID | <vlISe-2XG-11@gated-at.bofh.it> |
| In reply to | #60264 |
I have installed the kernel 4.15 from Debian/sid Now I get the following messages in kernel log after "modprobe vhci-hcd": [ 234.776615] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 234.776622] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 5 [ 234.776649] vhci_hcd: created sysfs vhci_hcd.0 [ 234.776715] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.776719] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.776723] usb usb5: Product: USB/IP Virtual Host Controller [ 234.776726] usb usb5: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.776729] usb usb5: SerialNumber: vhci_hcd.0 [ 234.776945] hub 5-0:1.0: USB hub found [ 234.776958] hub 5-0:1.0: 15 ports detected [ 234.777424] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller [ 234.777428] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 6 [ 234.777457] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.777498] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.777502] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.777505] usb usb6: Product: USB/IP Virtual Host Controller [ 234.777508] usb usb6: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.777511] usb usb6: SerialNumber: vhci_hcd.0 [ 234.777712] hub 6-0:1.0: USB hub found [ 234.777724] hub 6-0:1.0: 15 ports detected [ 234.778341] vhci_hcd vhci_hcd.1: USB/IP Virtual Host Controller [ 234.778345] vhci_hcd vhci_hcd.1: new USB bus registered, assigned bus number 7 [ 234.778399] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.778402] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.778405] usb usb7: Product: USB/IP Virtual Host Controller [ 234.778408] usb usb7: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.778411] usb usb7: SerialNumber: vhci_hcd.1 [ 234.778627] hub 7-0:1.0: USB hub found [ 234.778638] hub 7-0:1.0: 15 ports detected [ 234.779078] vhci_hcd vhci_hcd.1: USB/IP Virtual Host Controller [ 234.779081] vhci_hcd vhci_hcd.1: new USB bus registered, assigned bus number 8 [ 234.779113] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.779153] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.779157] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.779160] usb usb8: Product: USB/IP Virtual Host Controller [ 234.779163] usb usb8: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.779166] usb usb8: SerialNumber: vhci_hcd.1 [ 234.779348] hub 8-0:1.0: USB hub found [ 234.779360] hub 8-0:1.0: 15 ports detected [ 234.779985] vhci_hcd vhci_hcd.2: USB/IP Virtual Host Controller [ 234.779988] vhci_hcd vhci_hcd.2: new USB bus registered, assigned bus number 9 [ 234.780041] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.780045] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.780048] usb usb9: Product: USB/IP Virtual Host Controller [ 234.780051] usb usb9: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.780054] usb usb9: SerialNumber: vhci_hcd.2 [ 234.780243] hub 9-0:1.0: USB hub found [ 234.780254] hub 9-0:1.0: 15 ports detected [ 234.780779] vhci_hcd vhci_hcd.2: USB/IP Virtual Host Controller [ 234.780784] vhci_hcd vhci_hcd.2: new USB bus registered, assigned bus number 10 [ 234.780816] usb usb10: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.780863] usb usb10: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.780868] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.780871] usb usb10: Product: USB/IP Virtual Host Controller [ 234.780875] usb usb10: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.780878] usb usb10: SerialNumber: vhci_hcd.2 [ 234.781116] hub 10-0:1.0: USB hub found [ 234.781127] hub 10-0:1.0: 15 ports detected [ 234.781634] vhci_hcd vhci_hcd.3: USB/IP Virtual Host Controller [ 234.781637] vhci_hcd vhci_hcd.3: new USB bus registered, assigned bus number 11 [ 234.781680] usb usb11: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.781683] usb usb11: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.781685] usb usb11: Product: USB/IP Virtual Host Controller [ 234.781687] usb usb11: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.781689] usb usb11: SerialNumber: vhci_hcd.3 [ 234.781844] hub 11-0:1.0: USB hub found [ 234.781853] hub 11-0:1.0: 15 ports detected [ 234.782195] vhci_hcd vhci_hcd.3: USB/IP Virtual Host Controller [ 234.782198] vhci_hcd vhci_hcd.3: new USB bus registered, assigned bus number 12 [ 234.782218] usb usb12: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.782249] usb usb12: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.782252] usb usb12: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.782254] usb usb12: Product: USB/IP Virtual Host Controller [ 234.782257] usb usb12: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.782259] usb usb12: SerialNumber: vhci_hcd.3 [ 234.782410] hub 12-0:1.0: USB hub found [ 234.782418] hub 12-0:1.0: 15 ports detected [ 234.782888] vhci_hcd vhci_hcd.4: USB/IP Virtual Host Controller [ 234.782891] vhci_hcd vhci_hcd.4: new USB bus registered, assigned bus number 13 [ 234.782942] usb usb13: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.782947] usb usb13: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.782950] usb usb13: Product: USB/IP Virtual Host Controller [ 234.782954] usb usb13: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.782957] usb usb13: SerialNumber: vhci_hcd.4 [ 234.783181] hub 13-0:1.0: USB hub found [ 234.783197] hub 13-0:1.0: 15 ports detected [ 234.783783] vhci_hcd vhci_hcd.4: USB/IP Virtual Host Controller [ 234.783788] vhci_hcd vhci_hcd.4: new USB bus registered, assigned bus number 14 [ 234.783820] usb usb14: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.783867] usb usb14: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.783871] usb usb14: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.783875] usb usb14: Product: USB/IP Virtual Host Controller [ 234.783878] usb usb14: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.783882] usb usb14: SerialNumber: vhci_hcd.4 [ 234.784130] hub 14-0:1.0: USB hub found [ 234.784143] hub 14-0:1.0: 15 ports detected [ 234.784583] vhci_hcd vhci_hcd.5: USB/IP Virtual Host Controller [ 234.784585] vhci_hcd vhci_hcd.5: new USB bus registered, assigned bus number 15 [ 234.784607] usb usb15: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.784608] usb usb15: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.784610] usb usb15: Product: USB/IP Virtual Host Controller [ 234.784611] usb usb15: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.784612] usb usb15: SerialNumber: vhci_hcd.5 [ 234.784714] hub 15-0:1.0: USB hub found [ 234.784719] hub 15-0:1.0: 15 ports detected [ 234.784974] vhci_hcd vhci_hcd.5: USB/IP Virtual Host Controller [ 234.784976] vhci_hcd vhci_hcd.5: new USB bus registered, assigned bus number 16 [ 234.784988] usb usb16: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.785004] usb usb16: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.785006] usb usb16: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.785007] usb usb16: Product: USB/IP Virtual Host Controller [ 234.785008] usb usb16: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.785009] usb usb16: SerialNumber: vhci_hcd.5 [ 234.785132] hub 16-0:1.0: USB hub found [ 234.785141] hub 16-0:1.0: 15 ports detected [ 234.785502] vhci_hcd vhci_hcd.6: USB/IP Virtual Host Controller [ 234.785505] vhci_hcd vhci_hcd.6: new USB bus registered, assigned bus number 17 [ 234.785537] usb usb17: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.785539] usb usb17: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.785540] usb usb17: Product: USB/IP Virtual Host Controller [ 234.785541] usb usb17: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.785543] usb usb17: SerialNumber: vhci_hcd.6 [ 234.785678] hub 17-0:1.0: USB hub found [ 234.785688] hub 17-0:1.0: 15 ports detected [ 234.785976] vhci_hcd vhci_hcd.6: USB/IP Virtual Host Controller [ 234.785978] vhci_hcd vhci_hcd.6: new USB bus registered, assigned bus number 18 [ 234.785990] usb usb18: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.786007] usb usb18: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.786008] usb usb18: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.786010] usb usb18: Product: USB/IP Virtual Host Controller [ 234.786011] usb usb18: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.786012] usb usb18: SerialNumber: vhci_hcd.6 [ 234.786120] hub 18-0:1.0: USB hub found [ 234.786127] hub 18-0:1.0: 15 ports detected [ 234.786649] vhci_hcd vhci_hcd.7: USB/IP Virtual Host Controller [ 234.786651] vhci_hcd vhci_hcd.7: new USB bus registered, assigned bus number 19 [ 234.786673] usb usb19: New USB device found, idVendor=1d6b, idProduct=0002 [ 234.786674] usb usb19: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.786675] usb usb19: Product: USB/IP Virtual Host Controller [ 234.786676] usb usb19: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.786677] usb usb19: SerialNumber: vhci_hcd.7 [ 234.786755] hub 19-0:1.0: USB hub found [ 234.786759] hub 19-0:1.0: 15 ports detected [ 234.786963] vhci_hcd vhci_hcd.7: USB/IP Virtual Host Controller [ 234.786966] vhci_hcd vhci_hcd.7: new USB bus registered, assigned bus number 20 [ 234.786978] usb usb20: We don't know the algorithms for LPM for this host, disabling LPM. [ 234.787147] usb usb20: New USB device found, idVendor=1d6b, idProduct=0003 [ 234.787149] usb usb20: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 234.787150] usb usb20: Product: USB/IP Virtual Host Controller [ 234.787151] usb usb20: Manufacturer: Linux 4.15.0-1-amd64 vhci_hcd [ 234.787152] usb usb20: SerialNumber: vhci_hcd.7 [ 234.787274] hub 20-0:1.0: USB hub found [ 234.787279] hub 20-0:1.0: 15 ports detected So it seems, that everything is correct. However, when I try to run "usbip port" afterwards, I still get: root@wzab:/home/wzab# usbip port libusbip: error: port number exceeds 128 usbip: error: open vhci_driver usbip: error: list imported devices -- Wojciech M Zabolotny, PhD Institute of Electronic Systems Faculty of Electronics and Information Technology Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-21 21:20 +0100 |
| Subject | Bug#891036: Even after updating "usbip" to usbip_2.0+4.15.4-1_amd64.deb problem remains |
| Message-ID | <vlJ1U-31q-7@gated-at.bofh.it> |
| In reply to | #60264 |
I have also updated the "usbip" package to version usbip_2.0+4.15.4-1_amd64.deb However, the problem with the number of ports still exists: # usbip port libusbip: error: port number exceeds 128 usbip: error: open vhci_driver usbip: error: list imported devices -- Wojciech M Zabolotny, PhD Institute of Electronic Systems Faculty of Electronics and Information Technology Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | Wojtek Zabolotny <W.Zabolotny@elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-22 14:40 +0100 |
| Subject | Bug#891036: The problem is related to the number of ports created in vhci_hcd.0 |
| Message-ID | <vlZgm-5tv-5@gated-at.bofh.it> |
| In reply to | #60264 |
When I load the vhci-hcd driver in version 4.14, and then run "usbip --debug port", I get: [...] usbip: debug: names.c:428:[parse] line 18067 subclass fe:01 Device Firmware Update usbip: debug: names.c:428:[parse] line 18068 subclass fe:02 IRDA Bridge usbip: debug: names.c:428:[parse] line 18069 subclass fe:03 Test and Measurement usbip: debug: names.c:461:[parse] line 18070 protocol fe:03:01 TMC usbip: debug: names.c:461:[parse] line 18071 protocol fe:03:02 USB488 usbip: debug: names.c:374:[parse] line 18072 class ff Vendor Specific Class usbip: debug: names.c:428:[parse] line 18073 subclass ff:ff Vendor Specific Subclass usbip: debug: names.c:461:[parse] line 18074 protocol ff:ff:ff Vendor Specific Protocol libusbip: debug: vhci_driver.c:264:[usbip_vhci_driver_open] available ports: 496 libusbip: error: port number exceeds 128 usbip: error: open vhci_driver usbip: error: list imported devices When i check /sys/devices/platform/vhci_hcd.0/nports it indeed contains 496 . In other /sys/devices/platform/vhci_hcd.* directories there is no nports attribute at all. -- Wojciech M Zabolotny, PhD Institute of Electronic Systems Faculty of Electronics and Information Technology Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-22 23:20 +0100 |
| Subject | Bug#891036: The problem is related to the number of ports created in vhci_hcd.0 |
| Message-ID | <vm7nA-2DF-23@gated-at.bofh.it> |
| In reply to | #60297 |
On the system where I have installed the 4.15.xxx kernel and usbip from
Debian/sid, I get the following results from "usbip --debug port":
[...]
usbip: debug: names.c:428:[parse] line 18068 subclass fe:02 IRDA Bridge
usbip: debug: names.c:428:[parse] line 18069 subclass fe:03 Test and
Measurement
usbip: debug: names.c:461:[parse] line 18070 protocol fe:03:01 TMC
usbip: debug: names.c:461:[parse] line 18071 protocol fe:03:02 USB488
usbip: debug: names.c:374:[parse] line 18072 class ff Vendor Specific Class
usbip: debug: names.c:428:[parse] line 18073 subclass ff:ff Vendor
Specific Subclass
usbip: debug: names.c:461:[parse] line 18074 protocol ff:ff:ff Vendor
Specific Protocol
libusbip: debug: vhci_driver.c:264:[usbip_vhci_driver_open] available
ports: 240
libusbip: error: port number exceeds 128
usbip: error: open vhci_driver
usbip: error: list imported devices
The line where the condition is checked is
https://elixir.bootlin.com/linux/v4.15.4/source/tools/usb/usbip/libsrc/vhci_driver.c#L263
vhci_driver
<https://elixir.bootlin.com/linux/v4.15.4/ident/vhci_driver>->nports = get_nports <https://elixir.bootlin.com/linux/v4.15.4/ident/get_nports>();
dbg <https://elixir.bootlin.com/linux/v4.15.4/ident/dbg>("available
ports: %d", vhci_driver
<https://elixir.bootlin.com/linux/v4.15.4/ident/vhci_driver>->nports);
if (vhci_driver
<https://elixir.bootlin.com/linux/v4.15.4/ident/vhci_driver>->nports <= 0) {
err("no available ports");
goto err;
} else if (vhci_driver
<https://elixir.bootlin.com/linux/v4.15.4/ident/vhci_driver>->nports > MAXNPORT <https://elixir.bootlin.com/linux/v4.15.4/ident/MAXNPORT>) {
err("port number exceeds %d", MAXNPORT <https://elixir.bootlin.com/linux/v4.15.4/ident/MAXNPORT>);
goto err;
}
Maybe the viable workaround would be just to increase the MAXNPORT number?
--
Wojciech M Zabolotny, PhD
Institute of Electronic Systems
Faculty of Electronics and Information Technology
Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-22 23:50 +0100 |
| Subject | Bug#891036: The problem is related to the number of ports created in vhci_hcd.0 |
| Message-ID | <vm7QB-2QM-3@gated-at.bofh.it> |
| In reply to | #60316 |
In fact I don't understand how the vhci_hcd is supposed to work.
The constants are defined as follows:
https://elixir.bootlin.com/linux/v4.15.4/source/drivers/usb/usbip/vhci.h#L75
/* Number of supported ports. Value has an upperbound of USB_MAXCHILDREN */
#ifdef CONFIG_USBIP_VHCI_HC_PORTS
#define VHCI_HC_PORTS CONFIG_USBIP_VHCI_HC_PORTS
#else
#define VHCI_HC_PORTS 8
#endif
/* Each VHCI has 2 hubs (USB2 and USB3), each has VHCI_HC_PORTS ports */
#define VHCI_PORTS (VHCI_HC_PORTS*2)
#ifdef CONFIG_USBIP_VHCI_NR_HCS
#define VHCI_NR_HCS CONFIG_USBIP_VHCI_NR_HCS
#else
#define VHCI_NR_HCS 1
#endif
#define MAX_STATUS_NAME 16
Then in the line
https://elixir.bootlin.com/linux/v4.15.4/source/drivers/usb/usbip/vhci_hcd.c#L46
we can see:
int vhci_num_controllers = VHCI_NR_HCS;
But, when I have unpacked the sources of the Debian kernel:
("apt source usbip" downloads and unpacks the kernel sources)
In the debian/config/config I can see:
CONFIG_USBIP_CORE=m
CONFIG_USBIP_VHCI_HCD=m
CONFIG_USBIP_VHCI_HC_PORTS=15
CONFIG_USBIP_VHCI_NR_HCS=8
CONFIG_USBIP_HOST=m
So the number of created controllers is equal to 8, and for each
controller there are 30 ports created (2 * 15)
That results in 240 ports, that is above the MAXNPORT number defined in
https://elixir.bootlin.com/linux/v4.15.4/source/tools/usb/usbip/libsrc/vhci_driver.h#L16
#define MAXNPORT 128
To obtain the working configuration it is necessary either to increase
the MAXNPORT to 240 or even to 256 or to decrease the
CONFIG_USBIP_VHCI_NR_HCS to 4
--
Wojciech M Zabolotny, PhD
Institute of Electronic Systems
Faculty of Electronics and Information Technology
Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-23 01:10 +0100 |
| Subject | Bug#891036: Workaround found, the problem is with Debian configuration of kernel |
| Message-ID | <vm962-3WS-1@gated-at.bofh.it> |
| In reply to | #60317 |
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
[toc] | [prev] | [next] | [standalone]
| From | "wzabolot@elektron.elka.pw.edu.pl" <wzabolot@elektron.elka.pw.edu.pl> |
|---|---|
| Date | 2018-02-23 02:10 +0100 |
| Subject | Bug#891036: Proposal - how to make usbip more resistant to misconfiguration |
| Message-ID | <vma25-4Ff-5@gated-at.bofh.it> |
| In reply to | #60317 |
Hi,
I have found that the
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891036 is not the only
one related to misconfiguration of the usbip driver and tools.
A few weeks ago the similar bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878866 was discovered.
It seems that the configuration of usbip is fragile, and it is easy to
make a mistake leading to the setup that doesn't work correctly.
I suppose, that additional mechanisms should be added to prevent such
problems:
1. It should be checked DURING THE COMPILATION, that the number of
ports in a single virtual hub does not exceed 128.
2. The MAXNPORT constant in tools/usb/usbip/libsrc/vhci_driver.h should
be defined as:
#define MAXNPORT ( VHCI_PORTS * VHCI_NR_HCS )
I have not tested the above modifications. If I find some time to verify
them, and if they are correct, I'll submit the official patches.
With best regards,
Wojtek
--
Wojciech M Zabolotny, PhD
Institute of Electronic Systems
Faculty of Electronics and Information Technology
Warsaw University of Technology
[toc] | [prev] | [next] | [standalone]
| From | Gergely Risko <risko@debian.org> |
|---|---|
| Date | 2018-05-22 18:20 +0200 |
| Message-ID | <vSib0-pl-3@gated-at.bofh.it> |
| In reply to | #60264 |
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,
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web