View previous topic :: View next topic |
Author |
Message |
Major Apprentice
Joined: 27 Feb 2004 Posts: 198 Location: Sherbrooke, Qc, Canada
|
Posted: Thu Jan 13, 2005 1:42 am Post subject: Cdroms vanished |
|
|
I have lost all my cdrom access !
Under
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 |
|
|
Legoguy Apprentice
Joined: 22 Dec 2003 Posts: 166 Location: Edmonton, Alberta, Canada
|
Posted: Thu Jan 13, 2005 2:52 am Post subject: |
|
|
Try /dev/cdroms/cdrom0 and /dev/cdroms/cdrom1. |
|
Back to top |
|
|
Major Apprentice
Joined: 27 Feb 2004 Posts: 198 Location: Sherbrooke, Qc, Canada
|
Posted: Thu Jan 13, 2005 3:16 am Post subject: |
|
|
I think I wasnt clear enought
doest not exist anymore ... How do I make it come back _________________ Major over and out |
|
Back to top |
|
|
s2 n00b
Joined: 18 Mar 2004 Posts: 26
|
Posted: Thu Jan 13, 2005 8:17 am Post subject: |
|
|
/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 |
|
|
Leikor Tux's lil' helper
Joined: 04 Sep 2003 Posts: 123
|
Posted: Fri Jan 14, 2005 6:10 am Post subject: |
|
|
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 |
|
|
Major Apprentice
Joined: 27 Feb 2004 Posts: 198 Location: Sherbrooke, Qc, Canada
|
Posted: Fri Jan 14, 2005 1:55 pm Post subject: |
|
|
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 |
|
|
pem Guru
Joined: 29 Aug 2004 Posts: 390 Location: France
|
Posted: Sun Jan 16, 2005 4:20 pm Post subject: |
|
|
@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. _________________ Registered user #30505 |
|
Back to top |
|
|
|