Red Hat Bugzilla – Bug 64800
Hotplug subsystem not properly installed.
Last modified: 2007-04-18 12:42:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; T312461)
Description of problem:
Although the hotplug rpm is installed, the file '/etc/rc.d/init.d/hotplug' is
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. Watch as subsystems are started
3. Note that hotplug says it starts ok but does not.
Actual Results: The lights on my Alcatel Speedtouch USB do not come on.
Expected Results: Normally (under 7.2) as soon as hotplug starts the lights
Copying '/etc/rc.d/init.d/hotplug' from a 7.2 machine and
linking /etc/rc.d/rc3.d/S07hotplug and /etc/rc.d/rc3.d/K07hotplug does not
solve the problem. During boot up, hotplug says it starts ok but does not.
We've never shipped any hotplug initscript, we do it as part of rc.sysinit. The
script is not missing.
I am reopening this bug, there are two issues raised by the report:
1) hotplug initscript missing question
2) hotplug is not working for reporter's "Alcatel Speedtouch USB"
From the hotplug man page:
"hotplug agents aren't necessarily called only by the kernel though. While the
OS is initializing, the "cold-plugging" case, the hotplug script in
/etc/init.d/hotplug is invoked to make sure that all device connected at boot
are properly configured, applying the same rules as if they were connected later."
and later in the man page:
/proc/sys/kernel/hotplug specifies hotplug program path
/sbin/hotplug hotplug program (default path name)
/etc/hotplug/* hotplug files
/etc/hotplug/NAME.agent hotplug subsystem-specific agents
/etc/hotplug/NAME* subsystem-specific files, for agents
/etc/hotplug/NAME/* driver setup scripts, invoked by agents
/etc/init.d/hotplug hotplug system service script"
so there is an initscript mentioned in the man pages, however, there is not an
/etc/init.d/hotplug shipped in the hotplug packages in 7.2 or 7.3:
$ diff -Naur 7.2-hotplug-pkg.list 7.3-hotplug-pkg.list
--- 7.2-hotplug-pkg.list Tue May 14 09:19:52 2002
+++ 7.3-hotplug-pkg.list Tue May 14 09:19:55 2002
@@ -1,18 +1,20 @@
so at the very least the man page documentation should be changed to not
indicate a hotplug initscript ...
the "Alcatel Speedtouch USB" device is not working ... can you run hotplug from
the command line? does the command succeed? is the device recognized? does the
command exit with a success exit code?
Your email to me referenced package hotplug-core-2001_09_19-1.i386.rpm, not the
packages hotplug-2001_04_24-11.i386.rpm (7.2), or hotplug-2002_04_01-3.i386.rpm
in an effort to be clear (I just want to make sure I understand you :) ), were
you having troubles on Red Hat Linux 7.3 with hotplug-core-2001_09_19-1.i386.rpm
and not the standard hotplug packages shipped with Red Hat Linux 7.2 or 7.3?
If so, you indicated you tried the hotplug package with 7.2 ... Did that work
for you then? :)
For Issue #1 above, from looking at the changelog it seems there were issues
with the initscript (hence it was removed/not present in the 7.2 & 7.3 packages
shipped with 7.2 and 7.3):
* Tue Mar 20 2001 Trond Eivind Glomsrxd <email@example.com>
- remove the initscript, usbdevfs is now initialized before the controller
* Thu Feb 22 2001 Trond Eivind Glomsrxd <firstname.lastname@example.org>
- change initscript so it never tries to load usb controller modules, just
* Wed Feb 14 2001 Trond Eivind Glomsrxd <email@example.com>
- sanitize initscript, so it matches the others
I've received an email from Colin indicating things are now working for him. :)
I removed the reference to the initscript from the man page in hotplug-2002_04_01-4