Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CD burning issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Sun Mar 09, 2003 11:34 pm    Post subject: CD burning issues Reply with quote

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


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Mar 10, 2003 12:13 am    Post subject: Reply with quote

hello

could you please post the output of:
Code:
ls -lah /dev/cdroms/


cheers

SteveB
Back to top
View user's profile Send private message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Mon Mar 10, 2003 12:32 am    Post subject: Reply with quote

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


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Mon Mar 10, 2003 2:14 am    Post subject: Reply with quote

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


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Mon Mar 10, 2003 2:23 am    Post subject: Reply with quote

looks strange to me.... could you post the output of:
Code:
ls -lah /dev/cdrom


cheers

SteveB
Back to top
View user's profile Send private message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Mon Mar 10, 2003 5:48 am    Post subject: Reply with quote

steveb wrote:
looks strange to me.... could you post the output of:
Code:
ls -lah /dev/cdrom



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


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Mon Mar 10, 2003 10:26 am    Post subject: Reply with quote

z3ky wrote:
steveb wrote:
looks strange to me.... could you post the output of:
Code:
ls -lah /dev/cdrom


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 :oops:, 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 8O
_________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Back to top
View user's profile Send private message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Mon Mar 10, 2003 5:55 pm    Post subject: Reply with quote

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!!! 8O

p.s.: any chance 2 build the device back with MAKEDEV maby?
Back to top
View user's profile Send private message
Tiganu
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 105
Location: Montreal

PostPosted: Mon Mar 10, 2003 9:54 pm    Post subject: Reply with quote

Check
Code:
/etc/devfsd.conf


You'll have to do the reading on that one by yourself ... :oops:

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,
Code:
kill -HUP 46

to reload it & create the new dev links
Back to top
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Mon Mar 10, 2003 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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