Professional Documents
Culture Documents
Log in / Register
Ubuntu
qemu package
Virtualbox virtualbox-
Fix Released Unknown
trac #747
Scott James
apcupsd
Invalid High Remnant Bug #60273
(Ubuntu)
(Canonical) Bug #145728
Gutsy Subscribe
Won't Fix Undecided Unassigned
someone else
Hardy Won't Fix Low Unassigned
Noti�ed of all
Jaunty Dustin changes
Fix Released Medium
Kirkland
Anders
1 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Häggström
Andreas
madfuload Chris Halse
Fix Released Undecided Unassigned
(Ubuntu) Rogers
Daniele Cruciani
Declined for Intrepid by Dustin Kirkland
Danny Wood
Gutsy Won't Fix Undecided Unassigned Denilson Sá
2 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Andrii Motsok
AnnaZed
usbview Anthony Liguori
Triaged Medium Unassigned
(Ubuntu)
Ashani Holland
3 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
WORKAROUND: Lancillotto
To re-enable it edit the file '/etc/init.d/mountdevsubfs.sh' and Liang Yan
uncomment the code after line 40 so it reads:
Marcel B
# Magic to make /proc/bus/usb work
Matt j
#
mkdir -p /dev/bus/usb/.usbfs Mauricio Faria
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode= de...
0600,listmode=0644 Michael A. Phillips
ln -s .usbfs/devices /dev/bus/usb/devices Michael Rowland
mount --rbind /dev/bus/usb /proc/bus/usb H...
Execute the script manually to enable the change before a system
Mohan W
reboot:
Mr. MInhaj
$ sudo /etc/init.d/mountdevsubfs.sh start
Name Changed
See original description Onno Benschop
OrthoDoc
Tags: regression-release PCTeacher012
Paolo Topa
Patrice Vetsel
lp:ubuntu/karmic/madfuload Peter Bullert
lp:ubuntu/karmic/midisport-�rmware
Phil Moreland
lp:ubuntu/karmic/fxload
Phillip Susi
lp:ubuntu/maverick/fxload
Punnsa
4 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
5 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in sysvinit:
:New → Invalid
kvm -4ubuntu3
gutsy-proposed
TJ (tj) wrote on 2007-10-29: #7 debdi�
d
kvm -4ubuntu3
kvm -4ubuntu3 gutsy-proposed debdi� (1.4 KiB, text/plain) hardy debdi�
d
qemu -2ubuntu5
Scott, thanks for the explanation. When I'd re-aimed kvm at
gutsy-proposed
/sys/bus/usb/ I hadn't realised that it looks a for a file
debdi�
'devices'. I thought it was looking for the base of a directory-
d
tree containing the devices, which is what /sys/bus/usb/devices qemu -2ubuntu5
is. hardy debdi�
d
I'm not sure who is primary maintainer at Ubuntu - several Rebased qemu
people are listed as adding patches, and it's a MOTU package. -1ubuntu2 Hardy
I'm an end-user that wants the fix. debdi�
I've withdrawn the previous patch and created patches for kvm d
usbview: Debdi�
and qemu that use /dev/bus/usb/ and attached the debdiffs for
for Hardy [incorrect]
Hardy and Gutsy-proposed here.
d
usbview: Debdi�
TJ (tj) wrote on 2007-10-29: #8 for gutsy-proposed
[incorrect]
kvm -4ubuntu3 hardy debdi� (1.4 KiB, text/plain) d
Patch to kvm-77
to allow USB
passthrough with
qemu
TJ (tj) wrote on 2007-10-29: #9
d
6 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
156085-b.debdi�
qemu -2ubuntu5 gutsy-proposed debdi� (1.4 KiB, text/plain)
d
QEMU (KVM) USB
sys-fs support
TJ (tj) wrote on 2007-10-29: #10 d
Add patch
These patches fix an issue where qemu/kvm expects to find the Screenshot of
USB devices file at /proc/bus/usb/devices and reports an error qemuctl displaying
when started with the -usb flag as result. The location was USB devices
changed in July as a result of a patch to sysvinit and is now (846x708)
/dev/bus/usb/devices. d
Proposed
/etc/init.d
Changed in kvm:
/mountdevusbfs.sh
:In Progress → Fix Committed
Changed in qemu:
d
:In Progress → Fix Committed mountdevubfs.sh
d
/var/log/udev with
TJ (tj) on 2007-10-29
Midisport plugged in
Changed in kvm:
d
:Fix Committed → In Progress Add attachment
TJ (tj) on 2007-10-29
virtualbox-trac
TJ (tj) wrote on 2007-10-31: #11 #747
[�xed]
7 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in qemu:
:nobody → persia
:Confirmed → In Progress
Changed in kvm:
:nobody → persia
:Confirmed → In Progress
Changed in kvm:
:In Progress → Fix Committed
Changed in qemu:
:persia → intuitivenipple
Changed in sysvinit:
:New → Invalid
8 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
:updated
Changed in qemu:
:intuitivenipple → nobody
:In Progress → Confirmed
Changed in kvm:
:Fix Committed → Fix Released
Also, you have the wrong version numbers for your gutsy-proposed
debdiffs. The versioning of SRUs are a bit different to normal
development versioning. For these packages I'd suggest
0.9.0-2ubuntu4.1 for qemu and 1:28-4ubuntu2.1 for kvm. (One of
the reasons for the different versioning is to make sure it
doesn't conflict with the versioning in the development release
- otherwise you could have a 0.9.0-2ubuntu5 in gutsy-updates and
a *different* 0.9.0-2ubuntu5 in hardy).
Changed in usbview:
:New → Confirmed
Changed in usbview:
:New → Confirmed
9 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
The three gutsy-proposed patches for usbview, qemu, and kvm look
good, please go ahead and get them uploaded. Please upload them
into hardy first, though.
Changed in usbview:
:Unknown → New
Are you sure that the patch for usbview is correct? I don't have
a /dev/bus/usb/devices file here. I have only subdirs in
/dev/bus/usb.
Changed in usbview:
:nobody → blueyed
:Confirmed → In Progress
Sorry, I've only applied the logic of the kvm patch, which
should be invalid then, too!?
10 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in usbview:
:blueyed → nobody
:In Progress → Confirmed
$ mkdir .usbfs
$ sudo mount -n -t usbfs -obusmode=0700,devmode=0600,listmode=
0644 usbfs .usbfs
$ ls .usbfs
001 002 003 004 005 devices
$ cat devices
$ cat .usbfs/devices
#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=
0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb
we have
11 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
or
Comments please?
TJ (tj) on 2007-11-15
:updated
I've tested the KVM Gutsy patch here. Without mounting the usbfs
(using my new mountdevusbfs.sh script) I get:
$ ls -a /dev/bus/usb
. .. 001 002 003 004 005
info usbhost
Could not open /dev/bus/usb/devices
But once the usbfs is mounted and the 'devices' link created, it
works:
info usbhost
12 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
:updated
Hi!
I am new to all this stuff about patching, and i want to ask you
some things. I am using ubuntu gustsy gibbon with qemu/kvm and
experiencing the described bug:
I followed this guide in order to use the debdiff file from TJ's
post (qemu -2ubuntu5 gutsy-proposed debdiff ) : https:/
/wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff.
13 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Thank you!
Changed in virtualbox:
:Unknown → New
Changed in kvm:
:persia → nobody
:Fix Released → Confirmed
I was trying to use QEMU with USB in Ubuntu 7.10 Gutsy when I
found this bug. I comment out the magic lines in /etc/init.
d/mountdevsubfs.sh, started it, but still couldn't use USB in
QEMU. Everything inside /proc/bus/usb/ and /dev/bus/usb was
owned by root and QEMU couldn't read/write in it. I searched the
web for something to change /dev/bus/usb/ and /proc/bus/usb/
permissions. QEMU docs says to "chown -R" all /proc/bus/usb/ and
this was a problem since it "doesn't exist".
14 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
$ ls -la /proc/bus/usb/003
total 0
dr-xr-xr-x 2 root root 0 2008-03-11 14:45 .
drwxr-xr-x 7 root root 0 2008-03-11 14:45 ..
-rw-rw-r-- 1 root usbusers 43 2008-03-11 14:45 001
15 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=
0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
Scott wrote:
> Support for /proc/bus/usb has been dropped because it is
racey, and permissions are difficult to set --
> compared with /dev/bus/usb which is maintained by udev and
doesn't have these issues.
Changed in sysvinit:
:Undecided → High
:none → ubuntu-8.04-beta
:Invalid → Triaged
Changed in sysvinit:
:ubuntu-8.04-beta → ubuntu-8.04
Please do not reopen tasks when it has been made clear that the
removal was deliberate
Changed in sysvinit:
:Triaged → Won't Fix
16 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in sysvinit:
:Triaged → Won't Fix
Changed in sysvinit:
:ubuntu-8.04 → none
Package: qemu
New: yes
State: installed
Automatically installed: yes
Version: 0.9.1-1ubuntu1
As far as I can tell, this also affects xsane for some scanners.
I've a Canon Canoscan LiDE 60 that used to work fine in Feisty,
but now doesn't get found. Since usbview is complaining about
/proc/bus/usb/devices, I suspect the same issue. Seems like
there's been a long trail on this one. Can we expect a fix soon?
As someone who tries to promote Linux and Open Source, bugs like
this really take the rug out from under us and send folk rushing
to spend $100s with M$.
JN
Changed in qemu:
:Unknown → Fix Released
TJ (tj) on 2008-09-03
17 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in kvm:
:nobody → intuitivenipple
:Low → Medium
TJ (tj) on 2008-09-04
Changed in qemu:
:nobody → intuitivenipple
:Low → Medium
Changed in kvm:
:intuitivenipple → kirkland
:Confirmed → In Progress
:New → Won't Fix
Changed in midisport-firmware:
:New → Won't Fix
Changed in qemu:
:New → Won't Fix
Changed in usbview:
:Confirmed → Won't Fix
Changed in vmware-server:
:New → Won't Fix
Changed in usbview:
:Undecided → Medium
:Confirmed → Triaged
TJ (tj) on 2009-02-13
Changed in qemu:
:intuitivenipple → nobody
Changed in kvm:
:In Progress → Fix Released
Changed in virtualbox:
:New → Fix Released
18 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in apcupsd:
:Undecided → High
Changed in vmware-server:
:Undecided → High
Changed in midisport-firmware:
:Undecided → High
Scott
--
Scott James Remnant
<email address hidden>
19 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
.max
Scott
--
Scott James Remnant
<email address hidden>
Changed in apcupsd:
:New → Invalid
:New → Invalid
20 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in apcupsd:
:New → Invalid
Colin,
I pulled the apcupsd and gapcmon sources for Gutsy, Hardy and
Intrepid, and combed over them. As you say, no references. So I
went back and re-tested without usbfs on both Hardy and Intrepid
(I no longer have Gutsy handy for testing).
21 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
---------------
fxload (0.0.20020411-1.1ubuntu1) jaunty; urgency=low
Changed in fxload:
:New → Fix Released
---------------
midisport-firmware (1.2+dsfg1-0ubuntu6) jaunty; urgency=low
Changed in midisport-firmware:
:New → Fix Released
22 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
I have a midisport 2x2 which I have just tried and found not to
be working, however, I've just realised that the latest package
hasn't made it to me yet, only 0.0.20020411-1.1 and not
0.0.20020411-1.1ubuntu1. Make sure you check this before testing
the 4x4! :)
The relevant patch that we were carrying for kvm has been
included in QEMU upstream, and is already present in qemu 0.10.0
in Jaunty.
:-Dustin
23 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Changed in vmware-server:
:New → Invalid
---------------
madfuload (1.2-2ubuntu2) jaunty; urgency=low
Changed in madfuload:
:New → Fix Released
The 18 month support period for Gutsy Gibbon 7.10 has reached
its end of life -
http://www.ubuntu.com/news/ubuntu-7.10-eol . As a result, we are
closing the
Gutsy task.
24 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
#insert the following below the line above (line 41 for me)
#
# Magic to make /proc/bus/usb work
# These following 4 lines were added to make USB devices
avabilable in vmware
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs none /dev/bus/usb/.usbfs -o busmode=0700,devmode=
0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
info in https://bugs.launchpad.net/bugs/331331
solve all my problem in Jaunty
[...]
Changed in qemu:
:Fix Released → Fix Committed
Changed in qemu:
:Fix Committed → Fix Released
25 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
mkdir -p /dev/bus/proc/usb/.usbfs
domount usbfs ""/dev/bus/usb/.usbfs -obusmode=0700,devmode=
0600,listmode=0644
ln-s .usbfs/devices/dev/bus/usb/devices
mount --rbind/dev/bus/usb/proc/bus/usb
$ sudo /etc/etc/init.d/nountdevsubfs.sh.start
Thanks!
26 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
good luck,
greg k-h
/proc/usb is also needed for all users that use Aladdin HASP
technology. What affects me is nautical chart subscriptions that
require the HASP to work. These HASP keys will still be around
for the next 10 years. So I feel that there should be a work-
around for this.
27 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
Hardy has seen the end of its life and is no longer receiving
any updates. Marking the Hardy task for this ticket as "Won't
Fix".
28 of 29 2/16/24, 17:40
Bug #156085 “Could not open /proc/bus/usb/devices” ... https://bugs.launchpad.net/ubuntu/+source/qemu/+b...
© 2004-2023 Canonical Ltd. • Terms of use • Data privacy • Contact Launchpad Support • Blog •
Careers • System status • 9643586 (Get the code!)
29 of 29 2/16/24, 17:40