Red Hat Bugzilla – Bug 135260
kmodule don't show ide-cd module for cdrom in rc.sysinit
Last modified: 2007-11-30 17:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; ru)
(KHTML, like Gecko)
Description of problem:
In boot process rc.sysinit uses kmodule to find need-to-load modules.
I have an IDE CD-writer on secondary master (must to be /dev/hdc).
kmodule don't show ide-cd module for this device.
So, module don't loaded, and udev don't create node and symlink for
it. After loading module by hand, udev creates all needed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Connect IDE CDROM(writer) to secondary master.
2.Need working udev
Actual Results: Module don't loaded, so node and symlinks not
created by udev.
Expected Results: Module must be loaded at boot time.
kmodule uses kudzu library for finding drivers.
desc: "SONY CD-RW CRX195E4 S101 20020425"
so driver is 'ignore', not 'ide-cd' or some other.
This may be or a bug in kudzu, of a impossibility
to figure out driver name without user-supplied info.
After of before kmodule exec from initscripts,
read file like '/etc/sysconfig/kmodules' with
the same format, as kmodule output, parse it and load modules.
udev should be loading it.
udev will be triggerd after module loading.
It (udev) realy done all things after manual module loading.
But how udev can figure out the name of driver (and time to load it),
until its loading?
Usualy (before udev horror) I had a link cdrom->hdc,
entry in fstab /cdrom->/dev/cdrom,
and after command 'mount /cdrom' module loads.
Now I dont have /dev/hdc, /dev/cdrom until 'modprobe ide-cd'.
So, kudzu (kmodule) must provide info about needed module
(may be with user help like /etc/modprobe.conf or so).
ide-cd is not a module provided by us... you have a custom kernel..
but really, kudzu should recognize this
Hm? This seems to be the same situation as sr_mod/sd_mod and scsi bus
scans... if it's done for scsi, it should be done for IDE as well.
hmm... I currently have no simple method to detect that.. there is no
hotplug script and no sysfs information.
ok, /proc/ide information is provided
please try udev-035-1, as soon as it appears in rawhide
Fixed here with udev-035-1.
Confirm: udev-035-1 works fine.