* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
@ 2005-01-03 12:49 ` Stefan Schweizer
2005-01-03 12:55 ` Kay Sievers
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stefan Schweizer @ 2005-01-03 12:49 UTC (permalink / raw)
To: linux-hotplug
These are problems, that happen when not all udev.rules files for all
distributions are updated. We even use different ways to solve the
same problems ..
It is made at the beginning of the gentoo rules file:
# cdrom symlinks and other good cdrom naming
BUS="ide", KERNEL="hd[a-z]",
PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}
%c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="sr[0-9]*",
PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}
%c{3} %c{4} %c{5} %c{6}"
BUS="scsi", KERNEL="scd[a-z]",
PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}
%c{3} %c{4} %c{5} %c{6}"
# devfs-names for ide-devices (uncomment only one)
# /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b
%n", NAME="%k", SYMLINK="%c{1} %c{2}"
Maybe you could just try to use the gentoo rules file? (make sure you
have the necessary scripts)
or change your rules similar to the above one.
Kind regards,
Stefan
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
2005-01-03 12:49 ` Stefan Schweizer
@ 2005-01-03 12:55 ` Kay Sievers
2005-01-03 16:49 ` Sam Liddicott
2005-01-03 17:23 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2005-01-03 12:55 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2005-01-03 at 12:31 +0000, Sam Liddicott wrote:
> udev makes my hard disk nodes device and partition nodes OK, but does
> not create my cdrom device nodes at all.
Does running udevstart create the device node, instead of creating it
manually? Is ide-cd loaded, before your system runs udevstart?
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
2005-01-03 12:49 ` Stefan Schweizer
2005-01-03 12:55 ` Kay Sievers
@ 2005-01-03 16:49 ` Sam Liddicott
2005-01-03 17:23 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Sam Liddicott @ 2005-01-03 16:49 UTC (permalink / raw)
To: linux-hotplug
Kay Sievers wrote:
> On Mon, 2005-01-03 at 12:31 +0000, Sam Liddicott wrote:
>
>>udev makes my hard disk nodes device and partition nodes OK, but does
>>not create my cdrom device nodes at all.
>
>
> Does running udevstart create the device node, instead of creating it
> manually? Is ide-cd loaded, before your system runs udevstart?
modprobe ide-cd
makes it work. Thankyou.
This is now added to my /etc/modules
I did:
find /lib/modules* -name 'cd*'
before, but now I see why this didn't work.
To complete my education, what is it that I no longer have that would
have loaded all these modules before?
Was it something that loaded the module whgen I access the device node,
or was it just something that loaded the modules anyway?
Thanks Kay and also Stefan
Sam
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdrom devices missing
2005-01-03 12:31 cdrom devices missing Sam Liddicott
` (2 preceding siblings ...)
2005-01-03 16:49 ` Sam Liddicott
@ 2005-01-03 17:23 ` Kay Sievers
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2005-01-03 17:23 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2005-01-03 at 16:49 +0000, Sam Liddicott wrote:
> Kay Sievers wrote:
> > On Mon, 2005-01-03 at 12:31 +0000, Sam Liddicott wrote:
> >
> >>udev makes my hard disk nodes device and partition nodes OK, but does
> >>not create my cdrom device nodes at all.
> >
> >
> > Does running udevstart create the device node, instead of creating it
> > manually? Is ide-cd loaded, before your system runs udevstart?
> Was it something that loaded the module whgen I access the device node,
> or was it just something that loaded the modules anyway?
Greg explains that here:
http://www.kroah.com/log/linux/kmod_part1.html
Kay
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 5+ messages in thread