[Bug 482316] New: /etc/init.d/kbd mounts /proc/bus/usb and loads wrong hci/hcd modules
https://bugzilla.novell.com/show_bug.cgi?id=482316 User cstender@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=482316#c46113 Summary: /etc/init.d/kbd mounts /proc/bus/usb and loads wrong hci/hcd modules Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: mmarek@novell.com ReportedBy: cstender@novell.com QAContact: qa@suse.de CC: seife@novell.com Found By: Development VirtualBox is unable to catch usb devices if I use a crypto home. After debugging I found out that the following code in /etc/init.d/kbd gets executed when you're using a crypto home: # # load usb drivers in runlevel S # case "${PREVLEVEL}${RUNLEVEL}" in N1|NS) test -f /proc/cpuinfo || mount -n -t proc proc /proc 2>/dev/null # [bugzilla #46113] # we come here although heading for runlevel 5. # I'll comment out diabling hotplug for now. jw. # test -f /proc/sys/kernel/hotplug && echo /bin/true > /proc/sys/kernel/hotplug 2>/dev/null test -d /proc/bus/usb || modprobe usbcore >/dev/null 2>&1 mount -n -t usbfs usbfs /proc/bus/usb >/dev/null 2>&1 for mod in ehci-hcd ohci-hcd uhci-hcd usb-ohci usb-uhci ; do echo -n $mod" " modprobe $mod >/dev/null 2>&1 done # [bugzilla #284348] # sleep is no longer needed. horay! # # echo # echo "wait 3 seconds for USB initialisation ..." # sleep 3 for mod in usbhid input hid keybdev ; do modprobe $mod >/dev/null 2>&1 done ;; esac AFAIK mounting /proc/bus/usb is deprecated and should be removed. Furthermore the module names *-hci and *-hcd have changed to *_hci and *_hcd. I'm not sure we need this at all because udev loads all of these modules before /etc/init.d/kbd gets executed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com