View previous topic :: View next topic |
Author |
Message |
pixelsmack n00b

Joined: 16 Sep 2010 Posts: 3 Location: United Kingdom
|
Posted: Thu Sep 16, 2010 8:54 pm Post subject: /dev/cdrom problems |
|
|
After successfully installing gentoo from CD i can not mount my cd-rom device. there is no device /dev/cdrom, my kernel is compiled with genkernel in order to try to preserve the setup from the installation, although i have compiled it with genkernel --menuconfig and can't see anything that should be compiled that isn't. It's just a standard IDE cd-rom, and i'm totally out of ideas what to check, i think it must be a udev or kernel problem but i am not very experienced in diagnosing these kind of problems so any help would be much appreciated, thanks. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Thu Sep 16, 2010 9:26 pm Post subject: |
|
|
pixelsmack,
Welcome to gentoo. pixelsmack wrote: | It's just a standard IDE cd-rom ... | Nevertheless, it needs to be treated as if it were a SCSI CDROM.
I suspect you are using the old depreciated IDE drivers for it. You need to migrate to libata
Post back with any issues. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
pixelsmack n00b

Joined: 16 Sep 2010 Posts: 3 Location: United Kingdom
|
Posted: Fri Sep 17, 2010 10:39 pm Post subject: |
|
|
Thanks for the advice, it doesn't seem to have worked.. yet although i've not given it quite enough attention yet. |
|
Back to top |
|
 |
rh1 Guru


Joined: 10 Apr 2010 Posts: 501
|
Posted: Fri Sep 17, 2010 10:44 pm Post subject: |
|
|
Quote: | Nevertheless, it needs to be treated as if it were a SCSI CDROM. |
Wouldn't that mean it would be located at something like /dev/sr0 instead of /dev/cdrom? |
|
Back to top |
|
 |
pixelsmack n00b

Joined: 16 Sep 2010 Posts: 3 Location: United Kingdom
|
Posted: Sat Sep 18, 2010 9:39 am Post subject: |
|
|
Yep it was at /dev/sr0, i successfully mounted it with mount /dev/sr0 -t iso9660 -r /mnt/cdrom. apparently insane tunnel vision with regards to /dev/cdrom is just a way to waste time .
Thanks for the help though, not sure i would have solved it on my own. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Sat Sep 18, 2010 3:10 pm Post subject: |
|
|
pixelsmack,
/dev/cdrom should work too. udev creates the symlinks to whatever your real CDROM device node is. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Sysa Apprentice


Joined: 16 Mar 2005 Posts: 161 Location: Europe
|
Posted: Sat Sep 18, 2010 4:31 pm Post subject: |
|
|
NeddySeagoon wrote: | pixelsmack,
/dev/cdrom should work too. udev creates the symlinks to whatever your real CDROM device node is. |
You are partly correct udev assigns not only a device name but a device number also.
Sometimes it is /dev/cdrom0 next time it could be /dev/cdrom3 (e.g. mine) if you changed your devices.
/dev/sr0 is more stable and depends on CD device quantity only. _________________ RedHat -> SuSE -> Debian -> Gentoo |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Sat Sep 18, 2010 7:16 pm Post subject: |
|
|
Sysa,
That is indeed a more complete explaination than mine.
If you want to rename your symlinks afterr removing devices, edit /etc/udev/rules.d/70-persistent-cd.rules
You may also remove that file. It will be recreated at the next boot. Device numbers will be allocated in device discovery order.
That may be different to what you have now. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Sysa Apprentice


Joined: 16 Mar 2005 Posts: 161 Location: Europe
|
Posted: Sun Sep 19, 2010 4:58 pm Post subject: |
|
|
NeddySeagoon wrote: | Sysa,
...If you want to rename your symlinks afterr removing devices, edit /etc/udev/rules.d/70-persistent-cd.rules
You may also remove that file. It will be recreated at the next boot. Device numbers will be allocated in device discovery order.
That may be different to what you have now. |
I know... but I'm using "physical" name (/dev/sr0) everywhere and do not worry at all about logical one...  _________________ RedHat -> SuSE -> Debian -> Gentoo |
|
Back to top |
|
 |
|