View previous topic :: View next topic |
Author |
Message |
zeky Guru
Joined: 24 Feb 2003 Posts: 470 Location: Vukojebina, Europe
|
Posted: Sun Mar 09, 2003 11:34 pm Post subject: CD burning issues |
|
|
hi!
i successfuly managed to screw up my /dev/cdrom, while trying to make my burner work.
root # mount /mnt/cdrom/
mount: Too many levels of symbolic links
My cdrom (ide) is hdb and i don't know what's wrong with this device now (/dev/cdrom). I can't mount it no more
help!
--zeky |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Mon Mar 10, 2003 12:13 am Post subject: |
|
|
hello
could you please post the output of: Code: | ls -lah /dev/cdroms/ |
cheers
SteveB |
|
Back to top |
|
|
zeky Guru
Joined: 24 Feb 2003 Posts: 470 Location: Vukojebina, Europe
|
Posted: Mon Mar 10, 2003 12:32 am Post subject: |
|
|
steveb wrote: | hello
could you please post the output of: Code: | ls -lah /dev/cdroms/ |
|
Code: |
zeky root # ls -lah /dev/cdroms/
total 0
drwxr-xr-x 1 root root 0 Jan 1 1970 .
drwxr-xr-x 1 root root 0 Jan 1 1970 ..
lr-xr-xr-x 1 root root 10 Mar 10 01:08 cdrom0 -> /dev/cdrom
|
|
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Mon Mar 10, 2003 2:14 am Post subject: |
|
|
in /dev/cdroms there should be symlinks pointing to the "real" device like
../ide/host0/bus1/target0/lun0/cd
or
../scsi/host0/bus0/target3/lun0/cd
Think yor've got some kind of "circular symlink"
/dev/cdrom pointing to /dev/cdroms/cdrom0 and /dev/cdroms/cdrom0 pointing to /dev/cdrom _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Mon Mar 10, 2003 2:23 am Post subject: |
|
|
looks strange to me.... could you post the output of:
cheers
SteveB |
|
Back to top |
|
|
zeky Guru
Joined: 24 Feb 2003 Posts: 470 Location: Vukojebina, Europe
|
Posted: Mon Mar 10, 2003 5:48 am Post subject: |
|
|
steveb wrote: | looks strange to me.... could you post the output of:
|
Code: |
zeky root # ls -lah /dev/cdrom
lr-xr-xr-x 1 root root 13 Mar 10 06:52 /dev/cdrom -> cdroms/cdrom0
|
Here is something interesting to:
Code: | zeky root # mount /mnt/cdrom/
mount: special device /dev/cdroms/cdrom does not exist
|
|
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Mon Mar 10, 2003 10:26 am Post subject: |
|
|
z3ky wrote: | steveb wrote: | looks strange to me.... could you post the output of:
|
Code: |
zeky root # ls -lah /dev/cdrom
lr-xr-xr-x 1 root root 13 Mar 10 06:52 /dev/cdrom -> cdroms/cdrom0
|
|
Really, two links pointing to each other...
Try:
rm /dev/cdroms/cdrom0
then reload the cd-module (ide-cd or sr_mod) - or reboot , the devfs usally creates it automatically. If not link it manually to
../ide/host0/busX/targetX/lun0/cd (if you use ide-cd)
../scsi/host0/busX/targetX/lun0/cd (if you use ide-scsi or native scsi)
Quote: | Code: | zeky root # mount /mnt/cdrom/
mount: special device /dev/cdroms/cdrom does not exist
|
|
This is really strange _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
zeky Guru
Joined: 24 Feb 2003 Posts: 470 Location: Vukojebina, Europe
|
Posted: Mon Mar 10, 2003 5:55 pm Post subject: |
|
|
i don't understand nothing no more:
Code: | zeky root # ls -al /dev/cdroms/cdrom0
lr-xr-xr-x 1 root root 35 Mar 10 18:54 /dev/cdroms/cdrom0 -> /dev/ide/host0/bus0/target0/lun0/cd
|
and...
Code: | zeky root # mount /mnt/cdrom/
mount: special device /dev/cdroms/cdrom0 does not exist
|
and the list goes on...
Code: | zeky root # mount -t iso9660 /dev/ide/host0/bus0/target0/lun0/cd /mnt/cdrom/
mount: special device /dev/ide/host0/bus0/target0/lun0/cd does not exist |
help!!!
p.s.: any chance 2 build the device back with MAKEDEV maby? |
|
Back to top |
|
|
Tiganu Tux's lil' helper
Joined: 02 Oct 2002 Posts: 105 Location: Montreal
|
Posted: Mon Mar 10, 2003 9:54 pm Post subject: |
|
|
Check
You'll have to do the reading on that one by yourself ...
If/when it's in a form you want look-up the PID of devfsd:
Code: | root 46 1 0 09:28 ? 00:00:00 /sbin/devfsd /dev |
Then, in this example,
to reload it & create the new dev links |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Mon Mar 10, 2003 9:54 pm Post subject: |
|
|
Is the CD-Rom really Primary-master? I guess no.
Oh, yes you mentioned it's hdb - so it should be
/dev/ide/host0/bus0/target1/lun0/cd _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
|