Bug 135260 - kmodule don't show ide-cd module for cdrom in rc.sysinit
Summary: kmodule don't show ide-cd module for cdrom in rc.sysinit
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: rawhide
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-11 13:44 UTC by Anton Guda
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version: udev-035-1
Clone Of:
Environment:
Last Closed: 2004-10-14 12:33:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Anton Guda 2004-10-11 13:44:27 UTC
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): 
initscripts-7.90-1 
udev-034-2 
udzu-1.1.93-1 
 
 
How reproducible: 
Always 
 
Steps to Reproduce: 
1.Connect IDE CDROM(writer) to secondary master. 
2.Need working udev 
3.Boot 
     
Actual Results:  Module don't loaded, so node and symlinks not 
created by udev. 
 
 
Expected Results:  Module must be loaded at boot time. 
 
Additional info: 
 
kmodule uses kudzu library for finding drivers. 
kudzu -p: 
- 
class: CDROM 
bus: IDE 
detached: 0 
device: hdc 
driver: ignore 
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. 
 
Workaround proposition: 
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.

Comment 1 Bill Nottingham 2004-10-11 14:34:15 UTC
udev should be loading it.

Comment 2 Anton Guda 2004-10-11 14:45:51 UTC
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). 
 

Comment 3 Harald Hoyer 2004-10-11 14:50:34 UTC
ide-cd is not a module provided by us... you have a custom kernel..
but really, kudzu should recognize this

Comment 4 Bill Nottingham 2004-10-11 15:37:26 UTC
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.

Comment 5 Harald Hoyer 2004-10-11 15:44:31 UTC
hmm... I currently have no simple method to detect that.. there is no
hotplug script and no sysfs information.

Comment 6 Harald Hoyer 2004-10-12 08:22:51 UTC
ok, /proc/ide information is provided

Comment 8 Harald Hoyer 2004-10-12 14:50:18 UTC
please try udev-035-1, as soon as it appears in rawhide

Comment 9 Féliciano Matias 2004-10-14 12:23:46 UTC
Fixed here with udev-035-1.

Comment 10 Anton Guda 2004-10-15 08:12:38 UTC
Confirm: udev-035-1 works fine. 


Note You need to log in before you can comment on or make changes to this bug.