Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-usb fails to attach devices: "No unused port found!" #3649
Comments
andrewdavidwong
added
bug
C: other
labels
Mar 3, 2018
andrewdavidwong
added this to the Release 3.2 updates milestone
Mar 3, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
VinceW
Mar 6, 2018
I can confirm the solution @mdickers47 presented above.
File: /usr/lib/qubes/usb-import (version: 1.0.16+deb9u1)
Instead of line 43, in the above file it is line 40.
The current (non-working) line 40 is:
if [ "$hub" = "port" ]; then
After I changed this into:
if [ "$hub" = "prt" ]; then
It works for me.
Perhaps this issue could/should be mentioned on the documentation page (https://www.qubes-os.org/doc/usb/)?
VinceW
commented
Mar 6, 2018
•
|
I can confirm the solution @mdickers47 presented above. File: /usr/lib/qubes/usb-import (version: 1.0.16+deb9u1) Instead of line 43, in the above file it is line 40.
After I changed this into:
It works for me. Perhaps this issue could/should be mentioned on the documentation page (https://www.qubes-os.org/doc/usb/)? |
marmarek
closed this
in
marmarek/qubes-app-linux-usb-proxy@ac3456b
Mar 6, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.17-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-dom0-cur-test
label
Mar 21, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Mar 21, 2018
Closed
app-linux-usb-proxy v1.0.17 (r3.2) #458
qubesos-bot
added
the
r3.2-fc25-cur-test
label
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.17-1.fc26) has been pushed to the r3.2 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
the
r3.2-fc26-cur-test
label
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.17+deb10u1 has been pushed to the r3.2 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-buster-cur-test
r3.2-jessie-cur-test
labels
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.17+deb9u1 has been pushed to the r3.2 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-stretch-cur-test
label
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package app-linux-usb-proxy has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-centos7-cur-test
label
Mar 21, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Mar 21, 2018
Closed
app-linux-usb-proxy v1.0.17 (r4.0) #460
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.17+deb10u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-buster-cur-test
r4.0-jessie-cur-test
labels
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.17+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.17-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 21, 2018
Automated announcement from builder-github
The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.17-1.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Mar 21, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
the
r4.0-fc26-cur-test
label
Mar 21, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.17-1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
added
r4.0-fc26-stable
and removed
r4.0-fc26-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.17-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.17-1.fc26) has been pushed to the r3.2 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The component
|
qubesos-bot
removed
the
r3.2-fc26-cur-test
label
Apr 18, 2018
qubesos-bot
added
r3.2-fc26-stable
r3.2-jessie-stable
and removed
r3.2-jessie-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.17+deb9u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-stretch-stable
and removed
r3.2-stretch-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The package app-linux-usb-proxy has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-centos7-stable
and removed
r4.0-centos7-cur-test
labels
Apr 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Apr 18, 2018
Automated announcement from builder-github
The package qubes-usb-proxy-dom0-1.0.17-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Apr 18, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
qubesos-bot
added
r4.0-dom0-stable
and removed
r4.0-dom0-cur-test
labels
Apr 18, 2018
qubesos-bot
added
r4.0-buster-stable
r4.0-jessie-stable
and removed
r4.0-buster-cur-test
r4.0-jessie-cur-test
labels
May 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 14, 2018
Automated announcement from builder-github
The package qubes-usb-proxy_1.0.18+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
May 14, 2018
|
Automated announcement from builder-github The package
|
mdickers47 commentedMar 2, 2018
Qubes OS version:
R3.2
Affected component(s):
qubes-usb-proxy
Steps to reproduce the behavior:
On a simple R3.2 installation, that recently received version 1.0.16 of the qubes-usb-proxy and qubes-usb-proxy-dom0 packages.
The versions of kernel-qubes-vm on the machine are:
kernel-qubes-vm-4.4.14-11.pvops.qubes.x86_64
kernel-qubes-vm-4.4.38-11.pvops.qubes.x86_64
Run "qvm-usb -a" to attach any device to any VM to reproduce the failure below:
Expected behavior:
usb device becomes available
Actual behavior:
[user@dom0 ~]$ qvm-usb -a somevm sys-usb:2-2
ERROR: Device attach failed: No unused port found!sh: printf: I/O error
General notes:
I found that the shell script usb-import looks for the string "port" on line 43 to detect an "old" kernel header. My kernel actually emits the string "prt". I changed the test to "prt" on my local copy of usb-import and it is back to working.
This commit changed the test from "prt" to "port" and looks like it may have been a mistake:
QubesOS/qubes-app-linux-usb-proxy@5f94e10
Related issues:
Probably related to #3455