/proc/bus/usb gone missing

Bug #541580 reported by gdesilva
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Karmic by Gurvender Bahia

Bug Description

I have been using Plextor USB device successfully which requires usbfs mount on /proc/bus/usb to do a firmware reload. After the kernel upgrade to 2.6.31-20 I found that usbfs mount fails as there is no /proc/bus/usb available. I reverted back to 2.6.31-19 and the problem disappears - ie. /proc/bus/usb is available for usbfs mount.

Any suggestions on how to fix this?

Thanks

1) I'm also facing the Exact same issue after Kernel upgrade.

2) I would also like to add that Samsung Phone 5600 keeps on restarting when detected as Mass Storage, but it works fine with XP (this is happening with the earlier Kernel versions also)

Please help
Thanks

description: updated
Revision history for this message
gdesilva (gdesilva) wrote :

It appears that the same problem has occurred with earlier versions of the 64bit OS. I am told that in later versions of kernel /proc/bus/usb will not be available. However, a workaround of sorts for this has been already found https://bugs.launchpad.net/ubuntu/+s...ux/+bug/507824

The solution is as follows;

It is not a long term solution, but I found another solution, for getting /proc/bus/usb back again and no need for usbfs.

First I put my user to sudoers for /bin/mount and /bin/umount
Then I changed my scanner script to do the magic.

Before running my scanner the script will do:
sudo mount --bind /dev/bus /proc/bus

while on exit of the script it fires the command:
sudo umount -l /proc/bus

mount --bind /dev/bus /proc/bus or
mount --bind /dev/bus/usb /proc/bus/usb
will make /proc/bus/usb accessible /proc/bus/usb for some hardware (although this will cause the other directories under /proc/bus to be hidden). So you should umount again, after use.

It is a reasonable workaroud and worked fine for me. Just should make sure to unmount after using the device otherwise /proc/bus/pci and /proc/bus/input etc gets hidden!

affects: ubuntu → linux (Ubuntu)
tags: added: kernel-series-unknown
Revision history for this message
gdesilva (gdesilva) wrote :

Upon further investigations, I found out that from 2.6.31-20 onwards will not provide /proc/bus/usb. If this is the case then this will not be classified as a bug. Also, further investigations confirmed that Plextor firmware load does not require /proc/bus/usb and it is possible to do a firmware reload using by simply linking .usbfs/devices to /dev/bus/usb.

Hence this bug report can be closed now.

Changed in linux (Ubuntu):
status: New → Invalid
Revision history for this message
jedchase (jedchase) wrote :

My 32-bit x386 after upgrading to 10.04 from the 8 LTS stops on restart with the message failed to mount /proc/bus/usb. Is there a fix for this? If I don't need /proc/bus/usb, then why does it come up everytime and how do I get rid of it? If I do need it, how do I get it to mount without all of the hassle of it stopping on bootup everytime? Thanks!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.