Re: Re: udev isn't creating links for my cdrom and dvd-rom devices
On Mon, Jul 26, 2004 at 08:27:21AM -0400, Kyle Girard wrote: > > The script /etc/udev/cdsymlinks.sh addresses this issue. Just copy the > > usage example into whatever rules file you use for local configuration > > (I use /etc/udev/rules.d/local.rules). > > The relevant cdrom line from /etc/udev/cdsymlinks.sh is in the default > /etc/udev/rules.d/udev.rules file so I don't think that's my problem but I'll > try anyways > > Nope that didn't seem to work... my cdrom devices are still not getting created. > I'm just restarting udev... do I have to reboot for the changes to take effect? Another thing that bit me was some leftover lines in /etc/lilo.conf from 2.4.x kernels like ``append = "hdc=ide-scsi ignore=hdc.."''. This was causing udev to not generate /dev/hdc*, let alone the symlinks. -- Dave Thayer | WARNING: Persons denying the existence of Denver, Colorado USA | robots may be robots themselves. [EMAIL PROTECTED] | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: udev isn't creating links for my cdrom and dvd-rom devices
On 26. July 2004 at 12:21AM -0400, Kyle Girard <[EMAIL PROTECTED]> wrote: > > What was the real device name of your cdrom (not the link) > > before you installed udev? /dev/hdc or /dev/hdd might be the > > device you need to put in /etc/fstab. Another solution would > > be to have udev create the link /dev/cdrom. Do this by > > editing /etc/udev/links.conf. > > It used to /dev/hdc but those devices aren't listed in /dev > anymore which is probably why udev isn't creating the > links... it isn't creating the devices. FYI I do have a > /dev/hdc in my fstab which I used for mounting the cdrom Do I read last "used" as "used to use"? > I looked through /proc and /sys and I believe that all my > devices are listed in one way or another I don't _really_ > know what is going on in those directories... Do you get something like: $ ls /sys/bus/ide/devices/ 0.0 1.0 1.1 The first appears to be my hard disk. The two others (1.X) my optical drives (a cd writer and a dvd writer). I'm using them with the "new" ide-cd driver (and not with the old ide-scsi emulation). > Any way I can use that links.conf file you mentioned to get > udev to create links to my cdrom? It's really just a > convenience. Instead of "cd /dev ; ln -s hdc cdrom" you add > the following to links.conf L cdrom hdc So if the actual devices aren't being created, the solution is elsewhere. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: udev isn't creating links for my cdrom and dvd-rom devices
Kyle Girard wrote: I wanted to experiment with udev, hal, dbus and gnome-volume-manager so I installed all of the above and rebooted everything seemed cool except I no longer have a /dev/cdrom link. It appears udev didn't find my cdrom and dvdrom drives and it didn't create any links for them. Anyone else had this problem? I'm running the latest everything from unstable, 2.6-k7 kernel etc etc Try: modprobe ide_cd modprobe cdrom and then echo "ide_cd" >> /etc/modules I'm not sure about dvd's. Paul Scott -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: udev isn't creating links for my cdrom and dvd-rom devices
> The script /etc/udev/cdsymlinks.sh addresses this issue. Just copy the > usage example into whatever rules file you use for local configuration > (I use /etc/udev/rules.d/local.rules). The relevant cdrom line from /etc/udev/cdsymlinks.sh is in the default /etc/udev/rules.d/udev.rules file so I don't think that's my problem but I'll try anyways Nope that didn't seem to work... my cdrom devices are still not getting created. I'm just restarting udev... do I have to reboot for the changes to take effect? Kyle -- Kyle Girard <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: udev isn't creating links for my cdrom and dvd-rom devices
On Sun, Jul 25, 2004 at 02:47:56PM -0400, Kyle Girard wrote: > I wanted to experiment with udev, hal, dbus and gnome-volume-manager so > I installed all of the above and rebooted everything seemed cool except > I no longer have a /dev/cdrom link. It appears udev didn't find my > cdrom and dvdrom drives and it didn't create any links for them. > The script /etc/udev/cdsymlinks.sh addresses this issue. Just copy the usage example into whatever rules file you use for local configuration (I use /etc/udev/rules.d/local.rules). HTH dt -- Dave Thayer | WARNING: Persons denying the existence of Denver, Colorado USA | robots may be robots themselves. [EMAIL PROTECTED] | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: udev isn't creating links for my cdrom and dvd-rom devices
> What was the real device name of your cdrom (not the link) before > you installed udev? /dev/hdc or /dev/hdd might be the device you > need to put in /etc/fstab. Another solution would be to have > udev create the link /dev/cdrom. Do this by editing > /etc/udev/links.conf. It used to /dev/hdc but those devices aren't listed in /dev anymore ... which is probably why udev isn't creating the links... it isn't creating the devices. FYI I do have a /dev/hdc in my fstab which I used for mounting the cdrom I looked through /proc and /sys and I believe that all my devices are listed in one way or another I don't _really_ know what is going on in those directories... Any way I can use that links.conf file you mentioned to get udev to create links to my cdrom? -- Kyle Girard <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: udev isn't creating links for my cdrom and dvd-rom devices
On 25. July 2004 at 2:47PM -0400, Kyle Girard <[EMAIL PROTECTED]> wrote: > I wanted to experiment with udev, hal, dbus and > gnome-volume-manager so I installed all of the above and > rebooted everything seemed cool except I no longer have a > /dev/cdrom link. It appears udev didn't find my cdrom and > dvdrom drives and it didn't create any links for them. What was the real device name of your cdrom (not the link) before you installed udev? /dev/hdc or /dev/hdd might be the device you need to put in /etc/fstab. Another solution would be to have udev create the link /dev/cdrom. Do this by editing /etc/udev/links.conf. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
udev isn't creating links for my cdrom and dvd-rom devices
I wanted to experiment with udev, hal, dbus and gnome-volume-manager so I installed all of the above and rebooted everything seemed cool except I no longer have a /dev/cdrom link. It appears udev didn't find my cdrom and dvdrom drives and it didn't create any links for them. Anyone else had this problem? I'm running the latest everything from unstable, 2.6-k7 kernel etc etc -- Kyle Girard <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]