vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am a newbie at Linux. Next to a hardware power supply replacement I can't use anymore the CDROM drive.I am running Mandrake 8.2 and the CDROM is mounted at boot with le following line: [root@dev]# grep cdrom /etc/fstab /dev/hdc /mnt/cdrom iso9660 ro,iocharset=iso8859-15,nosuid,noauto,exec,user,nodev 0 0 When I try to list either /dev/cdrom or /dev/hdc I have the message : [root@dev]# ll /dev/hdc ls: /dev/hdc: Aucun fichier ou répertoire de ce type [root@dev]# ll /dev/cdrom ls: /dev/cdrom: Aucun fichier ou répertoire de ce type How can I restore this device file? and what should I do? Thanks. |
| |||
| Hi, > Next to a hardware power supply replacement I can't use anymore the > CDROM drive.I am running Mandrake 8.2 and the CDROM is mounted at boot > with le following line: > [root@dev]# grep cdrom /etc/fstab > /dev/hdc /mnt/cdrom iso9660 > ro,iocharset=iso8859-15,nosuid,noauto,exec,user,nodev 0 0 > When I try to list either /dev/cdrom or /dev/hdc I have the message : > [root@dev]# ll /dev/hdc > ls: /dev/hdc: Aucun fichier ou répertoire de ce type > [root@dev]# ll /dev/cdrom > ls: /dev/cdrom: Aucun fichier ou répertoire de ce type > How can I restore this device file? and what should I do? Sorry, I don't speak french, so I don't understand the error messages. But one thing for sure: You don't list the device files. Instead, you do $ mount /mnt/cdrom $ ls /mnt/cdrom and there the contents of the files will appear, not in the device files (which will rather be an abstract representation of the cdrom as total). So long, Thomas |
| |||
| Thomas Richter wrote: > Hi, > > >>Next to a hardware power supply replacement I can't use anymore the >>CDROM drive.I am running Mandrake 8.2 and the CDROM is mounted at boot >>with le following line: >> > >>[root@dev]# grep cdrom /etc/fstab >>/dev/hdc /mnt/cdrom iso9660 >>ro,iocharset=iso8859-15,nosuid,noauto,exec,user,nodev 0 0 >> > >>When I try to list either /dev/cdrom or /dev/hdc I have the message : >> > >>[root@dev]# ll /dev/hdc >>ls: /dev/hdc: Aucun fichier ou répertoire de ce type >>[root@dev]# ll /dev/cdrom >>ls: /dev/cdrom: Aucun fichier ou répertoire de ce type >> > >>How can I restore this device file? and what should I do? >> > > Sorry, I don't speak french, so I don't understand the error messages. > But one thing for sure: You don't list the device files. Instead, you do > > $ mount /mnt/cdrom > $ ls /mnt/cdrom > > and there the contents of the files will appear, not in the device > files (which will rather be an abstract representation of the cdrom as > total). > > So long, > Thomas > > Thank you for your advice. I tried that but it says: [root@dev]# mount /mnt/cdrom mount : le périphérique spécial /dev/hdc n'existe pas. (translation: /dev/hdc deice does'nt exist.) |
| |||
| > When I try to list either /dev/cdrom or /dev/hdc I have the message : > > [root@dev]# ll /dev/hdc > ls: /dev/hdc: Aucun fichier ou répertoire de ce type My french sucks, so I'm kinda in the blind here. Does "ls /dev/hd?" show up anything? is the device node gone? recreate it then. (MAKEDEV) > [root@dev]# ll > /dev/cdrom > ls: /dev/cdrom: Aucun fichier ou répertoire de ce type that is probably just a link. Have you done a filesystem check on > How can I restore this device file? and what should I do? MAKEDEV, fsck? Eric |
| |||
| Hi, > [root@dev]# mount /mnt/cdrom > mount : le périphérique spécial /dev/hdc n'existe pas. > (translation: /dev/hdc deice does'nt exist.) Ok, so where's your CDROM? Is it ATAPI/IDE (I assume yes). If so, is it: primary/secondary or master/slave? /dev/hdc is the master on the secondary IDE channel. Maybe it's jumpered in another way. If you run with ide-scsi, you should change this to /etc/scd0. All these changes have to go to /etc/fstab, btw. Greetings, Thomas |
| |||
| Thomas Richter wrote: > Hi, > > >>[root@dev]# mount /mnt/cdrom >>mount : le périphérique spécial /dev/hdc n'existe pas. >> > >>(translation: /dev/hdc deice does'nt exist.) >> > > Ok, so where's your CDROM? Is it ATAPI/IDE (I assume yes). If so, is it: > > primary/secondary or master/slave? /dev/hdc is the master on the secondary > IDE channel. Maybe it's jumpered in another way. > > If you run with ide-scsi, you should change this to /etc/scd0. > > All these changes have to go to /etc/fstab, btw. > > Greetings, > Thomas > > The CDROM is ATAPI but I don't know if it is attached to the primary/secondary or master/slave because I haven't fix it and I can't check it because I can't open it (it doesn't belongs to me). Therefore, I have: [root@dev]# ll /dev/hd? lr-xr-xr-x 1 root root 32 nov 10 13:45 /dev/hda -> ide/host0/bus0/target0/lun0/disc should I try to make a symbolic link with between /dev/hda and /dev/cdrom ? Thanks a lot for your help. Thierry |
| |||
| Hello thierry.atc (<thierry.atc@noos.fr>) wrote: > The CDROM is ATAPI but I don't know if it is attached to the > primary/secondary or master/slave because I haven't fix it and I can't > check it because I can't open it (it doesn't belongs to me). > > Therefore, I have: > > [root@dev]# ll /dev/hd? > lr-xr-xr-x 1 root root 32 nov 10 13:45 /dev/hda -> > ide/host0/bus0/target0/lun0/disc > > should I try to make a symbolic link with between /dev/hda and > /dev/cdrom ? No, /dev/hda is your hard disk. You are using devfs, which means that device files are not stored permanently in the /dev directory on your hard disk but are created dynamically when the drivers are loaded. I think the symbolic links you are looking for should be made by the devfsd program. You also should find out whether ide-scsi emulation is activated for the drive: Type cdrecord -scanbus (the device will be listed if you use ide-scsi emulation) or, if cdrecord is not installed, type cat /proc/scsi/scsi. Also check your bootloader confguration. IIRC, Mandrake 8.2 uses lilo as default, so open /etc/lilo.conf and look for lines starting with append. I think if you use devfs you can also access cdrom devices by using device files located in /dev/cdroms. best regards Andreas Janssen -- Andreas Janssen andreas.janssen@bigfoot.com PGP-Key-ID: 0xDC801674 Registered Linux User #267976 |
| |||
| Andreas Janssen wrote: > Hello > > thierry.atc (<thierry.atc@noos.fr>) wrote: > > >>The CDROM is ATAPI but I don't know if it is attached to the >>primary/secondary or master/slave because I haven't fix it and I can't >>check it because I can't open it (it doesn't belongs to me). >> >>Therefore, I have: >> >>[root@dev]# ll /dev/hd? >>lr-xr-xr-x 1 root root 32 nov 10 13:45 /dev/hda -> >>ide/host0/bus0/target0/lun0/disc >> >>should I try to make a symbolic link with between /dev/hda and >>/dev/cdrom ? >> > > No, /dev/hda is your hard disk. You are using devfs, which means that > device files are not stored permanently in the /dev directory on your > hard disk but are created dynamically when the drivers are loaded. I > think the symbolic links you are looking for should be made by the > devfsd program. You also should find out whether ide-scsi emulation is > activated for the drive: > > Type cdrecord -scanbus (the device will be listed if you use ide-scsi > emulation) > or, if cdrecord is not installed, type cat /proc/scsi/scsi. > > Also check your bootloader confguration. IIRC, Mandrake 8.2 uses lilo as > default, so open /etc/lilo.conf and look for lines starting with > append. > > I think if you use devfs you can also access cdrom devices by using > device files located in /dev/cdroms. > > best regards > Andreas Janssen > > The problem was a bad connector connection betwen the primary disk to the primary/secondary where the CDROM was attached. After pluging the map connector into the right connector, ca marche! Every works fine now and thank you all of you. Thierry |
| ||||
| On Wed, 12 Nov 2003 14:04:36 +0100, "thierry.atc" <thierry.atc@noos.fr> wrote: > ext to a hardware power supply replacement I can't use anymore the > CDROM drive. .... if you replaced something in the box and the cdrom doesnt work, i'd check the cabling .. -- /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\ \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" /// |