Bug 144756

Summary: usbdevfs not mounted on boot with kernel-2.6.10-1.8_FC2
Product: [Fedora] Fedora Reporter: Jeremy Sanders <jss>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: davej, j, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-11 20:49:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error log generated when inserting USB memory device none

Description Jeremy Sanders 2005-01-11 10:42:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
With the new errata kernel kernel-2.6.10-1.8_FC2, FC2 shows a failure
on booting whilst trying to mount the usbdevfs filesystem. The
relevant lines in rc.sysinit are:

if [ $usb = 1 -a ! -f /proc/bus/usb/devices ]; then
    action $"Mounting USB filesystem: "  mount -t usbdevfs usbdevfs
/proc/bus/usb
fi

In 2.6.10, the file system type usbdevfs appears to have been renamed
to usbfs.

What effect does this have?


Version-Release number of selected component (if applicable):
initscripts-7.55.1-1

How reproducible:
Always

Steps to Reproduce:
1. Update kernel
2. Reboot
3.
    

Additional info:

Comment 1 Jason Tibbitts 2005-01-11 15:03:02 UTC
It doesn't seem to have a terribly serious effect; I can still mount
flash drives but lsusb is busted.


Comment 2 Aleksandar Milivojevic 2005-01-11 15:21:36 UTC
Created attachment 109611 [details]
Error log generated when inserting USB memory device

On FC3, I haven't noticed usbdevfs error message after upgrade to 2.6.10 kernel
(I could have skipped it, should recheck).  However, my USB memory key stopped
working with new kernel.  When inserting device into my laptop, I get attached
error messages in /var/log/messages file.  After removing and reinserting the
device, nothing happens (no messages, nothing).  As if entire USB subsystem was
disabled (haven't attempted to insert different type of device).

Is this related to usbdevfs problem?

Comment 3 Aleksandar Milivojevic 2005-01-11 15:24:39 UTC
Forgot to mention.  USB memory key I have used to work perfectly fine
with older kernels, and it still works perfectly fine when inserted
into Windows machine.  So I guess it isn't hardware problem.

Comment 4 Jason Tibbitts 2005-01-11 15:40:14 UTC
It should be easy enough to see if the lack of /proc/bus/usb causes
problems; just mount it:

mount -t usbfs usbfs /proc/bus/usb

and perhaps restart hal.

Comment 5 Bill Nottingham 2005-01-11 20:49:33 UTC
Fixed in 7.55.2-1.