Red Hat Bugzilla – Bug 111956
load_drivers in hotplug.functions causes spurious "missing kernel or user mode driver" messages
Last modified: 2014-03-16 22:40:50 EDT
Description of problem: the load_drivers function in
/etc/hotplug/hotplug.functions causes "missing kernel or user mode
driver" messages that are in error, and confusing when trying to debug
problems (such as the fact that my USB serial adapter stopped
working). It prints messages such as:
Dec 11 13:34:21 localhost usb.agent: missing kernel or user
mode driver usbcore
when I plug in my USB serial adapter.
The problem is that the function changed between RedHat 8/9 and Fedora
Core 1. In previous versions there was more code inside the:
if ! lsmod ...
test, which included the code that prints that error message. When
the code printing that error message was moved out of that if, the
initial value of LOADED was not changed as it should have been.
Version-Release number of selected component (if applicable):
How reproducible: every time
Created attachment 96485 [details]
patch to /etc/hotplug/hotplug.functions
This patch seems correct to me and fixes the erroneous error messages.
I was experiencing the same and the two-line change above solved the
problem with no ill effects. Bravo, David! :>
2004_04_01 gets rid of the error message, and should fix the problem