Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/cdrom problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pixelsmack
n00b
n00b


Joined: 16 Sep 2010
Posts: 3
Location: United Kingdom

PostPosted: Thu Sep 16, 2010 8:54 pm    Post subject: /dev/cdrom problems Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55015
Location: 56N 3W

PostPosted: Thu Sep 16, 2010 9:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
pixelsmack
n00b
n00b


Joined: 16 Sep 2010
Posts: 3
Location: United Kingdom

PostPosted: Fri Sep 17, 2010 10:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 501

PostPosted: Fri Sep 17, 2010 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
pixelsmack
n00b
n00b


Joined: 16 Sep 2010
Posts: 3
Location: United Kingdom

PostPosted: Sat Sep 18, 2010 9:39 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55015
Location: 56N 3W

PostPosted: Sat Sep 18, 2010 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sysa
Apprentice
Apprentice


Joined: 16 Mar 2005
Posts: 161
Location: Europe

PostPosted: Sat Sep 18, 2010 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55015
Location: 56N 3W

PostPosted: Sat Sep 18, 2010 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sysa
Apprentice
Apprentice


Joined: 16 Mar 2005
Posts: 161
Location: Europe

PostPosted: Sun Sep 19, 2010 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum