Skip to contentSkip to conversation

CDROM devices

DISCUSSION Jon Smirl 1 participant 2 messages Feb 23, 2004

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

I have three IDE devices:
hda disk
hdc, hdd cdrom

When I boot the /sys/bus/ide/devices/1.0 directory does not have a block entry in it. This means I don't get a udev entry for the cdroms.

If I make a device node somewhere else and mount the cdrom, both of the cdrom's block entries are created and udev makes the devices.

What do I need to do to make these block entries appear at boot so that my devices will get created?

==Jon Smirl
[email protected]

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#1 lore raw

Some more info, I using Fedora Core 1.

If I change fstab to point to existing device nodes for hdc,hdd, fd0 these devices get probed during boot, the /sys entries get created and the udev devices appear.

So this appears to be a catch 22. The init process needs the device node to do the probe. But it's the probe that creates the udev device node.

Quoted 23 lines · --- Jon Smirl

I have three IDE devices:
hda disk
hdc, hdd cdrom

When I boot the /sys/bus/ide/devices/1.0 directory does not have a block entry in it. This means I don't get a udev entry for the cdroms.

If I make a device node somewhere else and mount the cdrom, both of the cdrom's
block entries are created and udev makes the devices.

What do I need to do to make these block entries appear at boot so that my devices will get created?

==> Jon Smirl
[email protected]

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

Quoted 9 lines

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

==Jon Smirl
[email protected]

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel