-
Senior Member
registered user
Originally Posted by
rrfish72
I believe the dvd is working correct now. I found out the the dvd drive is scsi1 which is sr1 and had to change all the links. That made me change the cdrom drive to sr0 which points to scd0, which the info told me that the cd writer(cdrom) is scd0. Now I can read data cds everytime with no problem but still no movies because of the missing plugin(lib thing). I cannot play audio cds though. I right click and select xmms and a play files screen opens and then I'm lost again. I try kaffeine and another error about no plugin to handle this resource.
By changing the sr#'s and having the cdrom point to sr0 --> scsi0 that should have made the drive able to read data cds anyway right. But it can't. When I try to mount or open it says 'Too many levels of symbollic links'.
Now this is the output of ls -la /dev/cdrom:
total 40
drwxr-xr-x 2 root root 4096 (date)(time) .
drwxr-xr-x 13 root root 36864 (date)(time) ..
1 root root 3 (date)(time) sr0 --> sr0
That output does not seem to be correct after seeing what the rest of the outputs were. It should have been /dev/cdrom --> sr0 like the output of /dev/cdrom1 --> sr1 which I beleive is correct. I even did ln -sf sr0 /dev/cdrom which after I did came back with the last line: 1 root root 3 (date)(time) sr0 --> sr0. I know it has to be /dev/cdrom --> sr0 doesn't it.
To tell you the truth, I think you might have hit on "why /cdrom isn't working", with that ls -la /dev/cdrom output... First, you are right, the symlink should be /dev/cdrom -> sr0 -=- but, since you appear to ALSO have gotten a directory listing with the command, as well, my concern is that you might have a "directory" called /dev/cdrom, which is giving you that "too many symlinked" error... You should also check to be sure that you haven't inadvertantly set sr0 not to scd0, make sure that /dev/cdrom points to sr0, and that sr0 points to scd0...
As for that directory thing... Check to see that you don't have a "d... root root ... cdrom" inside /dev -=- I think this directory could have "accidently" been created during the whole fiasco with your ROM devices mount points... Check that your ROM entries in your fstab file are like the following:
DEVICE ___ MOUNT POINT
/dev/dvd = /dvd
/dev/cdaudio = /cdaudio
/dev/cdrom = /cdrom
/dev/cdrom1 = /cdrom1
If the above is true in your FSTAB file, then a /dev/cdrom directory is NOT supposed to exist, if you find a directory, named cdrom under the /dev folder, then you should rmdir /dev/cdrom from a root Konsole... Then make sure you still have the same output from a ls -la command on your /dev/cdrom as you do with /cdrom1 output. This should resolve the error you are getting from mounting your /cdrom device.
Originally Posted by
rrfish72
All the sr#'s pointed to the same #scsi. /dev/dvd went to sr2 which I changed to sr1. /dev/cdaudio went to sr1 which I left alone because of the audio cable thing which I didnt check yet but will soon.... /dev/cdrom* gave the above goofy output (I think it's goofy).
ls -la /dvd gave me a directory listing.
You are right, the output is "goofy", see above for possible correction...
The reason for the ls -la commands on your mount point directories, was to ensure that you have a directory existing for when you mount your device( s ). Looking at the above, example I gave for your fstab file ROM entries, each one of those "mount points" should have a directory existing, or when you mount the device, it will not have a place to put the files from the device in.
Originally Posted by
rrfish72
OTHER: I've download the lib thing and need help installing. It is sitting in my home directory and I think it is the right one. Any other way to do it like through apt-get.
Ah, here is the output text, I use it myself, and was given this from Stephen, as a resolve for that pesky dvd lib problem... ( note, that the original way to get the lib, was supposed to be able to be done through apt-get, but the site that holds the lib gives a message: "videolan... Site Not Found" - so apt-get won't work anymore... You need to get the lib another way, and then "force" the lib into Debian through dpkg... )
You will want to do this in a root Konsole... This is the exact same lib that I have ALWAYS had a problem with in either Xine, or Kaffeine, when dealing with DVD playing. This is also the same version that I have running fine in my install as well...
Lastly, on playing any media, do not right click on the icon on the desktop for the device. Open up the player program, let's say its CD AUDIO, and you want to open XMMS. Once XMMS is open, left click on the "wave" symbol in the upper left corner of XMMS, select "Play Location", when the window for that pops up, either select the /cdrom or /cdrom1 in the drop-down box, or simply just type in /cdrom or /cdrom1 in the box, and then click on the OK. If its a DVD, then you will want to use either Xine, or Kaffeine, both of these programs "assume" the device is going to be /dvd by default - so don't right-click on the desktop icon for the device, start the player program ( Xine, or Kaffeine ), and select the device to be played - the option button for DVD in Xine, or in Kaffeine, select "Play" and follow that menu down till you get to the DVD menu item. I "never" right click and select a program the device should be played with, it can get you into trouble, as you have seen - let the player program do all the work for you...
I think the "end" is in sight, ... with the lib in place, you should be able to play DVD's, with the resolve of /dev/cdrom as a directory, you should be able to mount your /cdrom device, with the help with Xine, Kaffeine, and XMMS being started first, and letting them go to the device, I think you might have CD AUDIO playing and DVD playing working ... ( hopefully, if not, we will see what we need to do, if that is necessary )
Ms. Cuddles
-
Senior Member
registered user
Here is what I did:
root@1[knoppix]# cd ../..
root@1[/]# rmdir cdrom
root@1[/]# mkdir cdrom
root@1[/]# cd cdrom
root@1[cdrom]# dir
root@1[cdrom]# ln -sf sr0 /dev/cdrom
root@1[cdrom]# ls -la /dev/cdrom
total 40
drwxr-xr-x 2 root root 4096 Sep 2 22:12 .
drwxr-xr-x 13 root root 36864 Sep 2 22:09 ..
lrwxrwxrwx 1 root root 3 Sep 2 22:12 sr0 -> sr0
What else should be done?
After doing the lib thing the dvd finally can play dvds. Thank you so much. But now I can't paly audio cds with kaffiene and get these error messages:
The source can't be read.
Maybe you don't have enough rights for this, or source doesn't contain data (e.g: no disc in drive). (/dev/dvd) and in kaffiene window : Error: no plugin found to handle this resource.
Is this another lib thing?
-
Senior Member
registered user
Originally Posted by
rrfish72
...
root@1[/]# rmdir cdrom
root@1[/]# mkdir cdrom
root@1[/]# cd cdrom
root@1[cdrom]# dir
root@1[cdrom]# ln -sf sr0 /dev/cdrom
root@1[cdrom]# ls -la /dev/cdrom
total 40
drwxr-xr-x 2 root root 4096 Sep 2 22:12 .
drwxr-xr-x 13 root root 36864 Sep 2 22:09 ..
lrwxrwxrwx 1 root root 3 Sep 2 22:12 sr0 -> sr0
What else should be done?
Hmmmm,
All you did in that exercise of rmdir and mkdir, is put back the "same" thing, and you still have the sr0 pointing to sr0...
Here is what I would do...
Code:
root@xxx# cd /dev/cdrom
root@xxx[cdrom]# rm sr0
root@xxx[cdrom]# rm cdrom
root@xxx[cdrom]# cd /dev
root@xxx[dev]# rm sr0
root@xxx[dev]# rm cdrom
root@xxx[dev]# rmdir cdrom
root@xxx[dev]# ln -sf scd0 /dev/sr0
root@xxx[dev]# ln -sf cdrom /dev/sr0
root@xxx[dev]#
You have a /dev/cdrom directory, this is not proper, so I would delete all files, the symlink in the /dev/cdrom directory, it belongs in /dev, and no /dev/cdrom directory -=- So, in the above code sample; move to the /dev/cdrom directory, remove all files from that directory, move up one directory, then remove all symlinks that "point" or are "pointed to" /cdrom, remove the /dev/cdrom directory, and lastly, rebuild all the /dev/cdrom symlinks "in the /dev" directory.
This should take out the "directory listing" you get with a ls -la /dev/cdrom, and you should just get a symlink now...
Try XMMS for cd audio discs - Kaffeine for DVD's - for now - maybe its a setting in Kaffeine that isn't letting you play a audio cd - follow what I suggested for playing an audio cd in XMMS, a few posts ago - you want to be sure that the "plugin" for "CD Audio" is enabled in XMMS, and then change the "Play Location" to the device that has the audio cd in it...
I'll check back with ya, I'm currently under the "gun" at the moment at work, and don't have much time to work on this at the moment...
Ms. Cuddles
-
Senior Member
registered user
root@1[cdrom]# rm sr0
rm: cannot lstat `sr0': No such file or directory
root@1[cdrom]# rm cdrom
rm: remove symbolic link `cdrom'? y
root@1[cdrom]# cd /dev
root@1[dev]# rm sr0
rm: remove symbolic link `sr0'? y
root@1[dev]# rm cdrom
rm: cannot remove directory `cdrom': Is a directory
root@1[dev]# rmdir cdrom
root@1[dev]# ln -sf scd0 /dev/sr0
root@1[dev]# ln -sf cdrom /dev/sr0
root@1[dev]# ls -la /dev/cdrom
ls: /dev/cdrom: No such file or directory
root@1[dev]# cd
root@1[root]# cd
root@1[root]# ls -la /dev/cdrom
ls: /dev/cdrom: No such file or directory
root@1[root]# cd ..
root@1[/]# ls -la /dev/cdrom
ls: /dev/cdrom: No such file or directory
root@1[/]#
root@1[/]# ls -la /dev/sr*
lrwxrwxrwx 1 root root 5 Sep 3 10:42 /dev/sr0 -> cdrom
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr1 -> scd1
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr10 -> scd10
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr11 -> scd11
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr12 -> scd12
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr13 -> scd13
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr14 -> scd14
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr15 -> scd15
lrwxrwxrwx 1 root root 5 Aug 6 02:05 /dev/sr16 -> scd16
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr2 -> scd2
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr3 -> scd3
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr4 -> scd4
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr5 -> scd5
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr6 -> scd6
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr7 -> scd7
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr8 -> scd8
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr9 -> scd9
ln -sf scd0 /dev/sr0 gives
lrwxrwxrwx 1 root root 4 Sep 3 10:45 /dev/sr0 -> scd0
which is I thought what we wanted. Is there a link in there somewhere that is missing.
-
Senior Member
registered user
I think the following:
Code:
lrwxrwxrwx 1 root root 5 Sep 3 10:42 /dev/sr0 -> cdrom
is wrong - you need to have /dev/cdrom pointing to sr0 -=- in the above it is backwards, but, since you did the resymlink of sr0, you no longer have a symlink for cdrom...
Take a look at all the symlinks your have for /cdrom1 device, and make then the same for /cdrom, replacing the "1" for "0" (zero)... i.e. /dev/cdrom1 -> sr1 -=- /dev/cdrom should then point to sr0, etc...
From the output of what you were doing, I was correct, you DID have a /dev/cdrom directory, proven by when you did the "rmdir /cdrom" from within the /dev directory...
You should have the following output, when doing the stated commands:
Code:
root@Morpheus:~# ls -la /dev/scd?
brw-rw---- 1 root burning 11, 0 May 30 2001 /dev/scd0
brw-rw---- 1 root burning 11, 1 May 30 2001 /dev/scd1
brw-rw---- 1 root cdrom 11, 2 May 30 2001 /dev/scd2
brw-rw---- 1 root cdrom 11, 3 May 30 2001 /dev/scd3
brw-rw---- 1 root cdrom 11, 4 May 30 2001 /dev/scd4
brw-rw---- 1 root cdrom 11, 5 May 30 2001 /dev/scd5
brw-rw---- 1 root cdrom 11, 6 May 30 2001 /dev/scd6
brw-rw---- 1 root cdrom 11, 7 May 30 2001 /dev/scd7
brw-rw---- 1 root cdrom 11, 8 May 30 2001 /dev/scd8
brw-rw---- 1 root cdrom 11, 9 May 30 2001 /dev/scd9
root@Morpheus:~# ls -la /dev/sr?
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr0 -> scd0
lrwxrwxrwx 1 root root 4 Aug 7 10:18 /dev/sr1 -> scd1
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr2 -> scd2
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr3 -> scd3
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr4 -> scd4
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr5 -> scd5
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr6 -> scd6
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr7 -> scd7
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr8 -> scd8
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr9 -> scd9
root@Morpheus:~# ls -la /dev/cdrom*
lrwxrwxrwx 1 root root 3 Jul 2 08:58 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jul 2 08:59 /dev/cdrom1 -> sr1
root@Morpheus:~#
If not, make the needed changes to reflect what is not correct...
Ms. Cuddles
EDIT: hit the "submit" too fast,...
You might not have the "burning" group yet, unless you've run K3b, since it is used for your CD-RW, it creates the group "burning" during its setup program... You should also note that the permissions on my sr#'s and cdrom devices, are Owner=all access, Group=all access, and World / Other=all access... Two ways you can do this, ( 1 ) set up a special "group" like users and chgrp all the devices to that "users" group, set "group" permissions to "all", then remove any permissions for "World / Other", or, ( 2 ) the way I did, all have all access.
Number ( 2 ) is not the most secure way of setting permissions up, but I don't have "sensitive" data on my ROM drives, so an "attack" on my ROM devices is not severe... If on the other hand, you want more of a "secure" install, go with the idea in Number ( 1 )...
END EDIT
-
Senior Member
registered user
Totally confused again. Can you do a step by step please???? I did change sr0 to point to cdrom1 and when I try to mount or open a data disc I get : Could not mount device.
The reported error was:
mount: Too many levels of symbolic links
root@0[/]# ls -la /dev/cdrom1
lrwxrwxrwx 1 root root 3 Sep 3 12:28 /dev/cdrom1 -> sr0
root@0[/]# ls -la /dev/sr?
lrwxrwxrwx 1 root root 4 Sep 3 10:45 /dev/sr0 -> scd0
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr1 -> scd1
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr2 -> scd2
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr3 -> scd3
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr4 -> scd4
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr5 -> scd5
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr6 -> scd6
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr7 -> scd7
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr8 -> scd8
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr9 -> scd9
root@0[/]# ls -la /dev/scd?
lrwxrwxrwx 1 root root 4 Aug 8 20:17 /dev/scd0 -> scd0
brw-rw-rw- 1 root cdrom 11, 1 May 30 2001 /dev/scd1
brw-rw---- 1 root cdrom 11, 2 May 30 2001 /dev/scd2
brw-rw---- 1 root cdrom 11, 3 May 30 2001 /dev/scd3
brw-rw---- 1 root cdrom 11, 4 May 30 2001 /dev/scd4
brw-rw---- 1 root cdrom 11, 5 May 30 2001 /dev/scd5
brw-rw---- 1 root cdrom 11, 6 May 30 2001 /dev/scd6
brw-rw---- 1 root cdrom 11, 7 May 30 2001 /dev/scd7
brw-rw---- 1 root cdrom 11, 8 May 30 2001 /dev/scd8
brw-rw---- 1 root cdrom 11, 9 May 30 2001
Like I said... confused. Now I'm not sure what's pointing where.
Oh yeah, under the gun. Got a mental picture of that. Pretty bad.
-
Senior Member
registered user
Originally Posted by
rrfish72
Totally confused again. Can you do a step by step please???? I did change sr0 to point to cdrom1 ( <--- WRONG - you need /cdrom to point to sr0 ) and when I try to mount or open a data disc I get : Could not mount device.
The reported error was:
mount: Too many levels of symbolic links
root@0[/]# ls -la /dev/cdrom1
lrwxrwxrwx 1 root root 3 Sep 3 12:28 /dev/cdrom1 -> sr0 Nope
root@0[/]# ls -la /dev/sr?
lrwxrwxrwx 1 root root 4 Sep 3 10:45 /dev/sr0 -> scd0
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr1 -> scd1
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr2 -> scd2
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr3 -> scd3
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr4 -> scd4
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr5 -> scd5
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr6 -> scd6
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr7 -> scd7
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr8 -> scd8
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr9 -> scd9
root@0[/]# ls -la /dev/scd?
lrwxrwxrwx 1 root root 4 Aug 8 20:17 /dev/scd0 -> scd0 Nope
brw-rw-rw- 1 root cdrom 11, 1 May 30 2001 /dev/scd1
brw-rw---- 1 root cdrom 11, 2 May 30 2001 /dev/scd2
brw-rw---- 1 root cdrom 11, 3 May 30 2001 /dev/scd3
brw-rw---- 1 root cdrom 11, 4 May 30 2001 /dev/scd4
brw-rw---- 1 root cdrom 11, 5 May 30 2001 /dev/scd5
brw-rw---- 1 root cdrom 11, 6 May 30 2001 /dev/scd6
brw-rw---- 1 root cdrom 11, 7 May 30 2001 /dev/scd7
brw-rw---- 1 root cdrom 11, 8 May 30 2001 /dev/scd8
brw-rw---- 1 root cdrom 11, 9 May 30 2001 ???? did you just "clip" the output here???
Like I said... confused. Now I'm not sure what's pointing where.
Oh yeah, under the gun. Got a mental picture of that. Pretty bad.
Ok, from the output, here is what is wrong...
( 1 ) scd0 is now a symlink, it needs to look like /dev/scd1, but with a (zero) 0 ( scd0 is supposed to be a Block Device, designated by a b in the first position )
( 2 ) /dev/cdrom1 needs to point to sr1, not to sr0
( 3 ) you didn't provide the symlink output for /dev/cdrom, but it should be symlinked to sr0
Not sure how you would get your scd0 back, you might try a rm /dev/scd0, then a cp /dev/scd1 /dev/scd0 -=- not sure if this will work, you try it, and examine the output of ls -la /dev/scd? to see if scd0 is "like" scd1...
Then, examine the output of ls -la /dev/cdrom*, if /dev/cdrom is symlinked to sr0, leave that one alone... If /dev/cdrom1 is symlinked to sr0, you want to do a ln -sf sr1 /dev/cdrom1 - and another ls -la /dev/cdrom* should have /dev/cdrom pointing to sr0, and /dev/cdrom1 pointing to sr1.
Before doing anything more, at this point, lets re-check our outputs:
Post the output of the following:
ls -la /dev/scd?
ls -la /dev/sr?
ls -la /dev/cdrom*
ls -la /dev/dvd
ls -la /dev/cdaudio
Lastly, check if the "group" on scd0 is the same as the other scd# devices, it should be "cdrom" - I'll double check when I see your posted output of the above commands, if it isn't the right group, it isn't that hard to change it...
Ms. Cuddles
-
Senior Member
registered user
root@2[etc]# rm /dev/scd0
rm: remove symbolic link `/dev/scd0'? y
root@2[etc]# cp /dev/scd1 /dev/scd0
cp: reading `/dev/scd1': Input/output error
root@2[/]# cp /dev/scd1 /dev/scd0
cp: overwrite `/dev/scd0'? y
cp: reading `/dev/scd1': Input/output error
root@2[/]# ls -la /dev/scd?
-rw-r--r-- 1 root root 0 Sep 4 19:36 /dev/scd0
brw-rw-rw- 1 root cdrom 11, 1 May 30 2001 /dev/scd1
brw-rw---- 1 root cdrom 11, 2 May 30 2001 /dev/scd2
brw-rw---- 1 root cdrom 11, 3 May 30 2001 /dev/scd3
brw-rw---- 1 root cdrom 11, 4 May 30 2001 /dev/scd4
brw-rw---- 1 root cdrom 11, 5 May 30 2001 /dev/scd5
brw-rw---- 1 root cdrom 11, 6 May 30 2001 /dev/scd6
brw-rw---- 1 root cdrom 11, 7 May 30 2001 /dev/scd7
brw-rw---- 1 root cdrom 11, 8 May 30 2001 /dev/scd8
brw-rw---- 1 root cdrom 11, 9 May 30 2001 /dev/scd9
root@2[/]#
root@2[/]# ls -la /dev/sr?
lrwxrwxrwx 1 root root 4 Sep 3 10:45 /dev/sr0 -> scd0
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr1 -> scd1
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr2 -> scd2
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr3 -> scd3
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr4 -> scd4
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr5 -> scd5
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr6 -> scd6
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr7 -> scd7
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr8 -> scd8
lrwxrwxrwx 1 root root 4 Aug 6 02:05 /dev/sr9 -> scd9
root@2[/]# ls -la /dev/cdrom*
ls: /dev/cdrom*: No such file or directory
root@2[/]# ls -la /dev/dvd
lrwxrwxrwx 1 root root 3 Sep 1 20:38 /dev/dvd -> sr1
root@2[/]# ls -la /dev/cdaudio
lrwxrwxrwx 1 root root 3 Sep 1 21:07 /dev/cdaudio -> sr1
root@2[/]# ls -la /dev/cdrom1
ls: /dev/cdrom1: No such file or directory
No cdrom directory or cdrom. Here is what I did again:
root@2[/]# mkdir /dev/cdrom
root@2[/]# ln -sf sr0 /dev/cdrom
root@2[/]# mkdir /dev/cdrom1
root@2[/]# ln -sf sr1 /dev/cdrom1
root@2[/]# ls -la /dev/cdrom*
/dev/cdrom:
total 40
drwxr-xr-x 2 root root 4096 Sep 4 19:44 .
drwxr-xr-x 14 root root 36864 Sep 4 19:44 ..
lrwxrwxrwx 1 root root 3 Sep 4 19:44 sr0 -> sr0
/dev/cdrom1:
total 40
drwxr-xr-x 2 root root 4096 Sep 4 19:44 .
drwxr-xr-x 14 root root 36864 Sep 4 19:44 ..
lrwxrwxrwx 1 root root 3 Sep 4 19:44 sr1 -> sr1
root@2[dev]# ls -la /dev/cdrom?
total 40
drwxr-xr-x 2 root root 4096 Sep 4 19:44 .
drwxr-xr-x 14 root root 36864 Sep 4 19:53 ..
lrwxrwxrwx 1 root root 3 Sep 4 19:44 sr1 -> sr1
root@2[dev]# ls -la /dev/cdrom
total 40
drwxr-xr-x 2 root root 4096 Sep 4 19:54 .
drwxr-xr-x 14 root root 36864 Sep 4 19:53 ..
lrwxrwxrwx 1 root root 3 Sep 4 19:54 sr0 -> sr0
I know I'm trying to get the same output as this:
root@2[dev]# ls -la /dev/dvd
lrwxrwxrwx 1 root root 3 Sep 1 20:38 /dev/dvd -> sr1
Where the first sr# should be the /dev/cdrom or /dev/cdrom1. Is that correct to have these in there too:
drwxr-xr-x 2 root root 4096 Sep 4 19:54 .
drwxr-xr-x 14 root root 36864 Sep 4 19:53 ..
-
Senior Member
registered user
Ok, here is the problem, you keep creating directories for cdrom, under /dev - evident by my output:
Code:
root@Morpheus:/var/log# cd /etc
root@Morpheus:/etc# cd /dev
root@Morpheus:/dev# cd cdrom
bash: cd: cdrom: Not a directory
root@Morpheus:/dev# cd cdrom1
bash: cd: cdrom1: Not a directory
root@Morpheus:/dev# cd dvd
bash: cd: dvd: Not a directory
root@Morpheus:/dev# cd cdaudio
bash: cd: cdaudio: Not a directory
root@Morpheus:/dev#
If you do the exact same commands I have above, you will find, that you have a directory /dev/cdrom - and a /dev/cdrom1 -=- note in my above code, I don't have one, for either of these two.................
The copy of the scd1 to scd0 failed, and since I figured you didn't have a symlink for /dev/cdrom, I wasn't sure if you had a /dev/cdrom1 either, which I was expecting to create, after we got the scd0 block device right - we are now back where we started again - we have a broken scd0, we have a directory for /dev/cdrom and not a symlink, and now, we also have a /dev/cdrom1 directory instead of a symlink too.....
Here is what I suggest, rm the /dev/cdrom/cdrom and the /dev/cdrom1/cdrom1 - then rmdir the /dev/cdrom and the /dev/cdrom1 directories...............
Hopefully, someone else can give input on how you can create the scd0 block device, and remove the current /dev/scd0 you currently have... Then, I would suggest you do a ln -sf sr0 /dev/cdrom and a ln -sf sr1 /dev/cdrom1, but only after you can get the scd0 corrected...
( I need a vacation... )
Ms. Cuddles
-
Well, I think Cuddles is doing just fine here, but lets see it in a nutshell:
First list the scd's with:
ll /dev/scd[01]
Should look like:
root@fujibox:/dev# ll scd[01]
brw-rw-rw- 1 root cdrom 11, 0 Nov 14 2003 scd0
brw-rw-rw- 1 root cdrom 11, 1 Nov 14 2003 scd1
Remove the ones that aren't working:
rm /dev/scd0 /dev/scd1
Then create the missing devices:
mknod -m 666 /dev/scd0 b 11 0
mknod -m 666 /dev/scd1 b 11 1
Then remove the faulty symlinks:
rm /dev/cdrom /dev/cdrom1 /dev/dvd
Skip the sr? and do:
ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrom1
ln -s /dev/scd1 /dev/dvd
Should look like:
root@fujibox:/dev# ll cdrom cdrom1 dvd
lrwxrwxrwx 1 root cdrom 9 Sep 5 14:18 cdrom -> /dev/scd0
lrwxrwxrwx 1 root cdrom 9 Apr 28 19:58 cdrom1 -> /dev/scd1
lrwxrwxrwx 1 root cdrom 9 Aug 10 13:53 dvd -> /dev/scd1
Recreate mountpoints just to be sure:
rmdir /cdrom /cdrom1 /dvd
mkdir /cdrom /cdrom1 /dvd
Change group to cdrom:
chgrp cdrom /dev/scd0 /dev/scd1 /dev/cdrom /dev/cdrom1 /dev/dvd /cdrom /cdrom1 /dvd
And use lines like these in fstab:
/dev/cdrom /cdrom iso9660 defaults,ro,users,noexec,noauto,uid=markus,gid=mar kus 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,users,noexec,noauto,uid=markus,gid=mar kus 0 0
/dev/dvd /dvd iso9660 defaults,ro,users,noexec,noauto,uid=markus,gid=mar kus 0 0
Similar Threads
-
By asearle in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2005, 10:02 PM
-
By probono in forum Ideas
Replies: 0
Last Post: 09-17-2004, 04:17 AM
-
Replies: 1
Last Post: 09-15-2004, 01:36 AM
-
By CapnKirk in forum Customising & Remastering
Replies: 2
Last Post: 02-13-2004, 04:54 PM
-
By speeves in forum Customising & Remastering
Replies: 0
Last Post: 02-12-2004, 04:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)
$389.95
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$89.99
Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B
$39.99
WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN
$59.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State
$9.89
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$13.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT
$188.99
M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11
$85.25