[Pkg-sysvinit-devel] Bug#422940: initscripts: usbfs not mounted anymore during system bootup

Ingo Saitz Ingo.Saitz at stud.uni-hannover.de
Wed Jul 11 14:10:44 UTC 2007


On Wed, May 09, 2007 at 01:07:40AM +0200, Michael Schmitt wrote:
> No idea what happens when, I just see after bootup usbfs is not mounted,
> /proc/bus/usb is empty, usbview and such software does not show anything.

The problem is with kernels compiled with usbcore as module. In that
case you don't have /proc/bus/usb/ on startup and since mountkernfs.sh
gets started before udev the usbcore modul won't be loaded
automatically.

Solutions?

1) add a modprobe usbcore || true before checking for /proc/bus/usb

2) try to mount /proc/bus/usb after starting udev

3) add a hook to module-init-tools/udev to mount /proc/bus/usb after the
   module usbcore gets loaded.

Number 3 is probably the best solution but also the most complex one.

    Ingo
-- 
"Niemand hat die Absicht eine Mauer zu errichten"
	-- Walter Ulbricht, DDR-Staatsratsvorsitzender
	   http://video.google.com/videoplay?docid=6233111545394191802
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20070711/c4e8174a/attachment.pgp 


More information about the Pkg-sysvinit-devel mailing list