Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cdroms vanished
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
Major
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 198
Location: Sherbrooke, Qc, Canada

PostPosted: Thu Jan 13, 2005 1:42 am    Post subject: Cdroms vanished Reply with quote

I have lost all my cdrom access !

Under
Code:
 /dev


they should be cdroms and within cdrom0 cdrom1 which are my dvd and cdrw

I know udev control some of this stuff but Im kind a lost right now.
_________________
Major over and out
Back to top
View user's profile Send private message
Legoguy
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 166
Location: Edmonton, Alberta, Canada

PostPosted: Thu Jan 13, 2005 2:52 am    Post subject: Reply with quote

Try /dev/cdroms/cdrom0 and /dev/cdroms/cdrom1.
Back to top
View user's profile Send private message
Major
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 198
Location: Sherbrooke, Qc, Canada

PostPosted: Thu Jan 13, 2005 3:16 am    Post subject: Reply with quote

I think I wasnt clear enought

Code:
 /dev/cdroms


doest not exist anymore ... How do I make it come back
_________________
Major over and out
Back to top
View user's profile Send private message
s2
n00b
n00b


Joined: 18 Mar 2004
Posts: 26

PostPosted: Thu Jan 13, 2005 8:17 am    Post subject: Reply with quote

/dev/cdroms/cdromX are just symlinks to /dev/hdX

/dev/hda is primary master
/dev/hdb is primary slave
/dev/hdc is secondary master
/dev/hdd is secondary slave

so, in your fstab, you can reference /dev/hdX instead of /dev/cdroms/cdromX and access them as you normally would.

if you don't have /dev/hdc and /dev/hdd (assuming you have your cd drives on secondary), you may have hardware problems...

hope this helps
Back to top
View user's profile Send private message
Leikor
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 123

PostPosted: Fri Jan 14, 2005 6:10 am    Post subject: Reply with quote

I've got the same problem. I don't have /dev/cdroms and I don't have /dev/hd{c|d}. I know both are working, knoppix finds them just fine, and they are both in /proc/ide/ide1/. I think this could be a udev problem, but I'm not sure when it started.
dmesg also has this in it.
Code:
Probing IDE interface ide1...
hdc: LITEON DVD-ROM LTD163, ATAPI CD/DVD-ROM drive
hdd: PLEXTOR DVDR PX-708A, ATAPI CD/DVD-ROM drive

Leikor
Back to top
View user's profile Send private message
Major
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 198
Location: Sherbrooke, Qc, Canada

PostPosted: Fri Jan 14, 2005 1:55 pm    Post subject: Reply with quote

check the man of mknod.
That's what I did to remake manualy my devices

Code:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hdb b 3 64


and also check the man page of fstab ...
I did not reboot yet so I cannot be sure at 100% that is works. But Im pretty sure.

Code:
/dev/cdroms/cdrom0              /mnt/cdrom      iso9660         noauto,ro,user,owner              0 0
/dev/cdroms/cdrom1              /mnt/cdrw       iso9660         noauto,ro,user                  0 0


Im using that :
Code:
[ebuild   R   ] sys-fs/udev-050  (-selinux) -static 0 kB

_________________
Major over and out
Back to top
View user's profile Send private message
pem
Guru
Guru


Joined: 29 Aug 2004
Posts: 390
Location: France

PostPosted: Sun Jan 16, 2005 4:20 pm    Post subject: Reply with quote

@Major:
If you're like me and have just switched to udev, may be you've chosen to avoid having devfs and udev running at the same time. I've also chosen not to preserve the old /dev entries as gentoo allows it (that trick is nice but consumes time at boot and at power off, it's tuned under /etc/conf.d/rc as stated under the Gentoo udev Guide). Note that if you've done the same as me so far, the nodes you've created by hand won't last your next reboot. Eventually, after my reboot, I was unable to retrieve my dvd and my cdrw under the /dev entries : your issue, I guess. Thus, I've started thinking that it was some missing udev rules or permissions under this freshly udev installation. I've check them all to finally come up with a solution. As I was using this old ide-scsi emulation to handle the speed of my dvd and cdrw, udev only affects once the /dev entry creation to a device. I've just removed the scsi emulation under grub and my dvd and cdrw have just reappeared. :wink:
_________________
Registered user #30505
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