Click to See Complete Forum and Search --> : Little drives prob.


Imperator
10-24-2001, 02:35 PM
Ever since I installed Linux, I've not been able to use my DVD-ROM drive, or my CD R/RW. This isn't really a problem, because I can rely on my Windoze partition for that, but it's become kind of irritating, and I'd like to solve it. I've been around the vendors sites, but to no avail. What the problem is, while I can put CD's in both drives, I can read from neither. Both have the little lock symbol on them, even when I'm logged in as root.

DVD-ROM: SAMSUNG DVD-ROM SD-608
CD-R/RW: IDE-CD R/RW 4x4x24

That's all the stats I can get on them. Is there any way to totally remove their files and reinstall (hopefully making them work)? Or is there a better solution? Any help would be appreciated, because I'm stumped.

~ Imperator.
PS: Forgot to mention, I have Mandrake 8.0, if that helps any. :D

[ 24 October 2001: Message edited by: Imperator ]

Imperator
10-24-2001, 03:08 PM
/me adopts an ashamed look...

Bump. :D

~ Imperator

eXtremist
10-24-2001, 03:26 PM
There are a few things that may be the problem..

first, try typing ls -l /dev/cdrom*.

This will show how those files are linked. This is a starting point. You see, your burner needs SCSI emulation to work, which may or may not be set up. Sometimes distros set up scsi emulation, but leave the devices linked to the IDE bus. Of course, this is only a starting point to figuring out what's wrong.

Just for example, here's my output of the above command:

[greg@Icarus guitar]$ ls -l /dev/cdrom*
lrwxrwxrwx 1 root root 3 Oct 15 22:31 /dev/cdrom -> hdb
lrwxrwxrwx 1 root root 4 Oct 16 07:38 /dev/cdrom2 -> scd0


notice my DVD is linked to hdb (since it is IDE) and my burner is linked to scd0 (because it's runnin over scsi-emulation).

If my burner were linked to hdc (which it actually is) and scsi-emulation was enabled, I'd be getting an error something like yours..

Again, this is probably not the problem, but we gotta start somewhere.

Imperator
10-24-2001, 03:37 PM
lrwrwxrwx 1 root root 4 Jul 26 11:49 /dev/cdrom -> scd0
lrwrwxrwx 1 root root 4 Jul 26 11:49 /dev/cdrom2 -> scd1


That's what I've got. I'm not sure I understood all you said, though. Is this right? :D

~ IMperator

eXtremist
10-24-2001, 03:46 PM
okay.. looks like that may be working.. just to be sure you're using scsi emulation, type

grep -i scsi /proc/modules and see if anything comes up.

also, paste your /etc/fstab file in here so we can have a look at it.

Imperator
10-24-2001, 03:52 PM
Ok, the first thing showed:
ide-scsi 7568 0
scsi_mod 86036 2 [ide-scsi sd_mod]


The second one showed:
/dev/hda5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda8 /home ext2 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda7 /usr ext2 defaults 1 2
/dev/hda6 swap swap defaults 0 0

Again, I hope that helps somewhat. :D
And thanks a lot for this help!

~ Imperator

Imperator
10-24-2001, 04:21 PM
/me adopts his ashamed expression again.

Bump. :D

~ Imperator

Imperator
10-24-2001, 05:32 PM
/me sniffles.

Bump. :(

~ Imperator

Imperator
10-25-2001, 06:57 AM
*bump* :D

~ Imperator

mychl
10-25-2001, 10:23 AM
I think you need to link your cdrom to hdc or something, so that it uses ide, not scsi emulation.

I'm not sure why the burner isn't working.

You are mounting them right?

good luck

Imperator
10-25-2001, 12:33 PM
How would I go about linking it? :)

I mounted them both again, and it didn't help. :(

~ Imperator

Imperator
10-25-2001, 02:14 PM
:) :( :o :D ;) :eek: :mad: :rolleyes: :

Bump!

~ Imperator

eXtremist
10-25-2001, 02:51 PM
Dude, give it up with the bumps man!

Anyway, your /etc/fstab looks alright. Maybe you could try what mychl suggested.

Also, for our knowlege, type grep -i scsi /etc/lilo.conf in a console. This SHOULD echo what drives are set up for scsi emulation.

You should get something like:
append="hdc=ide-scsi"

What this can tell us is which drive is actually using scsi. Because, if your DVD is not using scsi-emulation, it shouldn't be linked to /dev/scd0. It should be linked to /dev/hdb instead.

Also, you didn't mention your drive configuration.. Which one is slave and which one is master? (If you don't know, go into windows and give us the drive letters).

AND finally, in a console as root type:
umount /mnt/cdrom | umount /mnt/cdrom2
followed by
mount /mnt/cdrom | mount /mnt/cdrom2

That way, we can see what it says when it tries to mount the CDROMs.. Get it? :)

Man, it'd be much easier to help you with this via IRC or something, because that way we could be more interactive. But try what I said and we'll see where it gets us.

Imperator
10-25-2001, 03:21 PM
Heh, first off, sorry about all the bumps. I posted this topic 24 hours ago, and had to rescue it from the next page. Anyway...

grep -i scsi /etc/lili.conf showed:
append= hdd=scsi quiet"
append= hdd=scsi "
append= hdd=scsi failsafe"

The DCD-ROM is Dirve Letter D:
The CD-R?RW is Drive Letter E:

Hmm... unmount doesn't seem to be working, even logged in as root. That's strange...

What's the IRC server called? And port?

Thanks again. A lot. :D

~ Imperator

bdg1983
10-25-2001, 04:31 PM
Read eXtremist's suggestion again.

It's umount... No first 'n' in 'umount'.

You need both drives setup for scsi emulation in /etc/lilo.conf

hdb=ide-scsi
hdc=ide-scsi

or

hdc=ide-scsi
hdd=ide-scsi

Depending if the 2 drives are primary/slave (hdb) and secondary/master (hdc)

or

secondary/master (hdc) and secondary/slave (hdd)

eXtremist
10-25-2001, 04:32 PM
Okay.. Well, here's what I can gather.....


The DVD-ROM is Dirve Letter D:
The CD-R/RW is Drive Letter E:


EITHER DVD=hdb, CDR=hdc
OR DVD=hdc, CDR=hdd

Now, the latter seems logical since your lilo.conf shows hdd set up for scsi. If this is the case, your DVD should not be linked to a scsi device.

Do the following:

su
cd /dev
rm -f cdrom cdrom2
ln -s hdb cdrom
ln -s scd0 cdrom2


Then reboot.

This will link cdrom to one of the IDE channels (if your DVD doesn't work after this you may need to "rm cdrom" and "ln -s hdc cdrom").
It will also link cdrom2 to one of the scsi channels.

Your DVD is IDE, so it shouldn't be linked to a scsi device. Also, if your CD-R is the only scsi device, linking it to scd1 is not going to work (needs to be scd0).

ALSO, your /etc/lilo.conf file should read append="hdd=ide-scsi" not append="hdd=scsi". Change it and run /sbin/lilo to save the changes and get back to us!!

Imperator
10-25-2001, 06:51 PM
Thanks guys!

Things appear to be a little better. Instead of getting the Permission Denied information when typing 'cd /mnt/cdrom', I get something else:

bash: cd: cdrom: Input/output error

I also get the same for 'cdrom2'.

I'd like to thank you all again, and apologise if I seem demanding or rude. :(

Any suggestions on the new problem?

~ Imperator

eXtremist
10-25-2001, 09:52 PM
hmm.. is that WITH a cd in the drive?

Imperator
10-26-2001, 03:56 AM
I've tried CD'ing to the folder, both with and without a CD in. I still get the same error:

bash: cd: cdrom: Inpout/output error

~ Imperator :(

bdg1983
10-26-2001, 05:18 AM
When you mount a filesystem, it has to exist whether it's a floppy, hd partition, or cd as it has a filesystem (iso9660). So when you mount your cdrom, you need to have a cd in the drive or it will not work.

What are the results of

ls -l /dev/cdrom
ls -l /dev/cdrom2

Are they still scd0 and scd1?

Try

mount -t iso9660 /dev/scd0 /mnt/cdrom
mount -t iso9660 /dev/scd1 /mnt/cdrom2

Imperator
10-26-2001, 05:30 AM
Oh dear...

With those two commands...
The first one is 'hdb'
The second one is 'scd0'

This is making me feel real embarassed. I've tried to follow all your guys' help to the jot, but it doesn't seem to be changing much. :(


With the Other commands, I got...
For the first one:
mount: block device /dev/scd0 is write-protected mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems

For the second one;
/dev/scd1 unknown device

***

I feel really, really stupid. :mad:

~ Imperator

eXtremist
10-26-2001, 07:02 AM
Wrong fs type? hmm.. Let me think about this one and I'll get back to you..

And it's a long process troubleshooting linux sometimes.. Stick with us and I'm sure someone here will help you get through it.

Imperator
10-26-2001, 07:10 AM
Thanks a lot, eXtremist. :)

I've been amazed time and time again, at the helpfulness and skill of the Linux community. It's been brilliant, and I couldn't possibly expect more. :)

Well, thanks again.

~ Imperator

eXtremist
10-26-2001, 07:19 AM
Well, the fact that /dev/scd1 will not mount (unknown device) tells us that you only have one scsi device (which would be your scsi-emulated burner).

You need to tell us your master/slave setup.. That way we can pinpoint the device for it (whether it be hdb, hdc, hdd, or scd0)

The drive letters you gave us weren't really sufficient. I shoulda known better. All it really tells us is that your DVD/CD-R setup places the DVD first on the bus, and the CD-R second.

Your DVD could be hdb while your CD-R is hdc
Your DVD could be hdb while your CD-R is hdd
Your DVD could be hdc while your CD-R is hdd

There are three choices there and until we know which one it is then we'll have a hard time figuring out how to get around this problem.

All you should need to do is link /dev/cdrom to your DVD device, and link /dev/cdrom2 to your CD-R device.

But until we know what those devices are, this will be hard. Also, your CD-R COULD even be hdc, in which case your lilo.conf needs to be changed..

Just try to figure out the configuration of your drives and it should help us a lot.

Also, did you change your lilo.conf file to say append="hdd=ide-scsi" instead of append="hdd=scsi" ??

Imperator
10-26-2001, 07:30 AM
I checked out the lilo.conf thing. I didn't have to change anything... it was already alright. :D

I'll try figure out the Master/Slave setup now. Get back to you. :)

~ Imperator

[ 26 October 2001: Message edited by: Imperator ]

Imperator
10-26-2001, 07:40 AM
Okay, from what I can gather...

My Samsung DVD is the IDE Secondary Master, whereas
My CD-R/RW is the IDE Secondary Slave

I hope this is right. :D

~ Imperator

eXtremist
10-26-2001, 07:58 AM
Okay.. Well if that is the case, linux sees the drives as follows:

DVD = Sec. Master = /dev/hdc
CD-R = Sec. Slave = /dev/hdd

Now, we already know your /etc/fstab is set up correctly, so we'll skip that part.

You say your lilo.conf file already has append="hdd=ide-scsi" so we can skip this part.

Next, we need to make sure /dev/cdrom and /dev/cdrom2 are pointing to the right devices. If your DVD = Sec. Master, then it is linked to the wrong device. You need to have it linked to hdc, but I told you to link it to hdb in a previous message (oOops).

As su, remove /dev/cdrom and relink it to /dev/hdc:

rm -f /dev/cdrom
ln -s /dev/hdc /dev/cdrom

After you do that your status should be as follows:

DVD should be mounting to /mnt/cdrom. The device for this would be /dev/cdrom, which is pointing to /dev/hdc.

CD-R should be mounting to /mnt/cdrom2. The device for this would be /dev/cdrom, which is pointing to /dev/scd0. Assuming your CD-R actually IS Sec.Slave, then the append="hdd=ide-scsi" line in your lilo.conf would cause its device to become scd0.

This is almost identical to my setup. I have a DVD on my Pri.Slave, and a CD-R on my Sec.Master.

My DVD is linked to hdb, and my CD-R is linked to scd0. I have the append="hdc=ide-scsi" line in my lilo.conf.

SO, after all that, you have your devices straightened up. I would think everything should work now, but if not just get back to us and we'll be able to narrow it down more (now that the main stuff is outta the way)

Imperator
10-26-2001, 08:16 AM
Oh dear. :(

I did all that, then tried to mount both. Got errors. :(

mount: can't find /dev/ hdc in /etc/fstab or /etc/mtab
mount: can't find /dev/scd0 in /etc/fstab or /etc/mtab

I'm sorry that this is taking so long. I'm sure you've got much better things to do. :(

~ Imperator

eXtremist
10-26-2001, 08:32 AM
don't mount them using those device names.. rather, try mounting them using the mount names.

This is because in your fstab the cdroms are listed as /mnt/cdrom

umount /mnt/cdrom | umount /mnt/cdrom2
that's umount, not uNmount :) This will unmount the CDROMS. Then try

mount /mnt/cdrom | mount /mnt/cdrom2
The reason you can mount them this way is because your fstab refers to them as such. Plus, the links you made will automatically redirect the mount command to the right device.

And I don't mind helping you out.. I had a problem like this a while ago and it took me ages to fix it.. If it weren't for the people here at this site I probably would have said 'fsck it' and went back to windows. I'm glad I never. After using linux exclusively for about a year, I find I can fix most problems myself now. :)

bdg1983
10-26-2001, 08:43 AM
Originally posted by Imperator:
<STRONG>Oh dear. :(

I did all that, then tried to mount both. Got errors. :(

mount: can't find /dev/ hdc in /etc/fstab or /etc/mtab
mount: can't find /dev/scd0 in /etc/fstab or /etc/mtab

I'm sorry that this is taking so long. I'm sure you've got much better things to do. :(

~ Imperator</STRONG>

Is this still how your fstab looks like?

/dev/hda5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda8 /home ext2 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda7 /usr ext2 defaults 1 2
/dev/hda6 swap swap defaults 0 0

If you only have scsi emulation enabled for your cdrw in lilo.conf (hdd=ide-scsi), then /dev/hdc (dvd) should be linked to /dev/cdrom so the fstab entry would be correct.

It may be easier to just enable scsi emulation for both drives. Some of the newer distros enable scsi emulation for all ide drives except for the hd. Mine does. My dvd (hdc) is /dev/sr0 (some distro use sr0 instead of scd0) while my cdrw (hdd) is sr1 (scd1).

Imperator
10-26-2001, 08:47 AM
Here is my FSTAB file. :)
/dev/hda5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda8 /home ext2 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/windows vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda7 /usr ext2 defaults 1 2
/dev/hda6 swap swap defaults 0 0

Here is my lilo.conf file:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/uk.klt
lba32
prompt
timeout=50
message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda5
initrd=/boot/initrd.img
append="hdd=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda5
initrd=/boot/initrd.img
append=" hdd=ide-scsi"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda5
initrd=/boot/initrd.img
append=" hdd=ide-scsi failsafe"
read-only
other=/dev/hda1
label=windows
table=/dev/hda
other=/dev/fd0
label=floppy
unsafe

This might further help to find the problem. :)

~ Imperator

eXtremist
10-26-2001, 09:03 AM
He's using Mandrake 8, and that uses /dev/scdx for the scsi devices.

Imperator, you could try using scsi emulation for BOTH drives.. However, it certianly should work if you only have it enabled for your burner. According to the logic behind Mandrake's fstab construction and it device linking (bla, bla), then you should have everything set up fine now.

Your IDE DVD doesn't need scsi emulation to work (since it is an ATAPI compliant device), but it WILL work with scsi emulation should you choose to set it up that way.

Likewise, your CD-R is ATAPI and therefore also doesn't NEED scsi emulation to work. The thing is, ALL CD-writing software out there is written for scsi burners, so to be able to actually burn a CD you need scsi emulation.

Perhaps a better approach would be to completely disable scsi emulation on both drives. Then, once you get the drives reading some CDs, you could add the scsi emulation to the burner to enable writing. [we can use this as a last resort]

Your fstab and lilo.conf files are set up fine. There's no reason to change them right now.

Can you read any CDs after changing the links around?

Imperator
10-26-2001, 09:23 AM
Ok, I tried re-linking them like you mentioned in your post. Cdrom to hdc and cdrom2 to scdx. However, I still can't cd to either directory, or even get to them through GUI (those cute little locks are there :)).

I don't know what's going on. Could it be physical problems with the drives? (wild guess)

~ Imperator

Imperator
10-26-2001, 09:25 AM
Oh, the error through CLI is:
bash: cd: cdrom: Input/output error

The GUI error is:
Can't enter /mnt/cdrom&lt;number&gt;. Permission Denied.

~ Imperator

eXtremist
10-26-2001, 09:46 AM
I hope you didn't link your CD-rw to scdx .. I put the x there to mean scd0, scd1, scd2, etc. :)

Try checking the permissions on the following devices:

[greg@Icarus greg]$ ls -ld /mnt/cdrom*
drwxrwxrwx 1 root root 0 Oct 26 10:08 /mnt/cdrom/
drwxrwxrwx 1 root root 0 Oct 26 10:08 /mnt/cdrom2/
[greg@Icarus greg]$ ls -l /dev/cdrom*
lrwxrwxrwx 1 root root 3 Oct 15 22:31 /dev/cdrom -&gt; hdc
lrwxrwxrwx 1 root root 4 Oct 16 07:38 /dev/cdrom2 -&gt; scd0


If the permissions on all these are -rwxrwxrwx then you are fine so far..


[greg@Icarus greg]$ ls -l /dev/hdc /dev/hdd /dev/scd0
brw-rw---- 1 root cdrom 3, 64 Apr 14 2001 /dev/hdc
brw-rw---- 1 root cdrom 22, 0 Apr 14 2001 /dev/hdd
brw-rw---- 1 root cdwriter 11, 0 Apr 14 2001 /dev/scd0


I just pasted the results of mine so you (and us) can compare..

Paste in all the information these commands gives you and we'll see where it gets us! :) :)

::EDIT:: ps, I changed the device lettering in my output to show you what you should get.. Your output should match mine exactly now..

[ 26 October 2001: Message edited by: eXtremist ]

Imperator
10-26-2001, 09:58 AM
ls -ld /mnt/cdrom*
drwxrwxrwx 1 root root 0 Oct 26 14:18 /mnt/cdrom
drwxrwxrwx 1 root root 0 Oct 26 14:18 /mnt/cdrom2

ls -ld /dev/cdrom*
lrwxrwxrwx 1 root root 9 Oct 26 14:21 /dev/cdrom2 -&gt; /dev/scdx

ls -l /dev/hdd /dev/scd0
brw-rw---- 1 root disk 22, 64 Apr 14 2001 /dev/hdd
brw-rw---- 1 root cdwriter 11, 0 Apr 14 2001 /dev/scd0

~ Imperator
PS: Things don't look quite right there... :(

[ 26 October 2001: Message edited by: Imperator ]

eXtremist
10-26-2001, 10:23 AM
Woah.. There are a few things wrong there....

Let's start with what's right.. :)
/mnt/cdrom and /mnt/cdrom2 are okay.

Now, what's wrong! :(
When you did a ls -l /dev/cdrom* two things should have appeared. You need to have a file /dev/cdrom and also a file /dev/cdrom2. Let's set them up..
Do the following commands:

su
cd /dev
rm -f cdrom cdrom2
ln -s /dev/hdc /dev/cdrom
ln -s /dev/scd0 /dev/cdrom2
chmod 777 /dev/cdrom /dev/cdrom2


Okay, that should do the following: remove all cdrom links, create a new link for /dev/cdrom, create a new link for /dev/cdrom2, change permissions to lrwxrwxrwx for both.

Next, work on your /dev/hd devices.. You didn't type the whole command (left out hdc) so I'm not sure how your hdc is set up. But, the permissions should be -rw-rw---- on all of them.. Do this:


chmod 660 /dev/hdc /dev/hdd /dev/scd0
chgrp cdrom /dev/hdc /dev/hdd


Your scd0 is already set up as a cdwriter (notice the word cdwriter when you did an ls -l)

Now, after that issue this one big command and tell us what it says..:

ls -ld /mnt/cdrom* /dev/cdrom* /dev/hdc /dev/hdd /dev/scd0

enter it exactly as shown..

You should get something like the following:

lrwxrwxrwx 1 root root 3 Oct 15 22:31 /dev/cdrom -&gt; hdc
lrwxrwxrwx 1 root root 4 Oct 16 07:38 /dev/cdrom2 -&gt; scd0
brw-rw---- 1 root cdrom 3, 64 Apr 14 2001 /dev/hdc
brw-rw---- 1 root cdrom 22, 0 Apr 14 2001 /dev/hdd
brw-rw---- 1 root cdwriter 11, 0 Apr 14 2001 /dev/scd0
drwxrwxrwx 1 root root 0 Oct 26 10:08 /mnt/cdrom/
drwxrwxrwx 1 root root 0 Oct 26 10:08 /mnt/cdrom2/

I'd write more but I have to get going to my job..

Imperator
10-26-2001, 10:42 AM
Thanks a lot! Here's what I got:

lrwrwxrwx 1 root root 8 Oct 26 15:31 /dev/cdrom -&gt; /dev/hdc
lrwrwxrwx 1 root root 9 Oct 26 15:31 /dev/cdrom2 -&gt; /dev/scd0
brw-rw---- 1 root cdrom 22, 0 Apr 14 2001 /dev/hdc
brw-rw---- 1 root cdrom 22, 64 Apr 14 2001 /dev/hdd
brw-rw---- 1 root cdwriter 11, 0 Apr 14 2001 /dev/scd0
drwrwxrwx 1 root root 8 Oct 0 15:31 /mnt/cdrom
drwrwxrwx 1 root root 9 Oct 0 15:31 /mnt/cdrom2


Is this correct? :)
~ Imperator

eXtremist
10-26-2001, 10:55 AM
AWESOME! Okay, now we know your /etc/fstab is okay, your /etc/lilo.conf file is okay, and all your symlinks and devices are okay.

So, what's the verdict? If you pop a CD in the DVD reader you should be able to cd /mnt/cdrom and if you pop a CD in the CD-Rw you should be able to cd /mnt/cdrom2

If it doesn't work, keep the CD in the drive and umount /mnt/cdrom | mount /mnt/cdrom as su.

I remember when I first isntalled Mandrake I was having troubles when I'd swap a CD.. I mean, if there was no CD in the drive when the CD was mounted, it didn't automount when I put one in. Or if I changed CDs linux would still think the first CD was in the drive.

This was fixed via an update in software manager, which you may have to try. But before you do that, try umounting it and mounting it again while the CD is in there.

::EDIT:: also, just out of curiousity, what does grep -i cdrom /etc/mtab tell you?

[ 26 October 2001: Message edited by: eXtremist ]

Imperator
10-26-2001, 11:16 AM
AARRRRRGHHHHHHH!!! :mad: :mad: :mad: :mad: :mad: :mad:

I did it, and it worked perfectly (the DVD drive did anyhoo!). Then... I rebooted, and things went horribly wrong. Now I can't access either! :(

~ Imperator
(PS: I'll repeat that linking process and see if it helps any. Get back to you)

eXtremist
10-26-2001, 11:21 AM
ouch man.. it stopped working after a reboot? hrmmmmmmmmmmm... That's definately not right..

Let me think about it a bit.. I'm leaving work now and going to my girlfriend's house, so I may or may not be able to reply anytime soon (depending on what her plans are, and how many joints I smoke - hehe). So if I don't write back within the next 2 hours try doing the linnking again and see where it gets you.. I'll try to read this thread at least before I go to bed tonight! I dunno why it would work and then stop though... Did you change anything in your fstab or lilo.conf files?

Imperator
10-26-2001, 11:26 AM
AARRRRRGHHHHHHH!!! :mad: :mad: :mad: :mad: :mad: :mad:

I did it, and it worked perfectly (the DVD drive did anyhoo!). Then... I rebooted, and things went horribly wrong. Now I can't access either! :(

~ Imperator
(PS: I'll repeat that linking process and see if it helps any. Get back to you)

eXtremist
10-26-2001, 11:29 AM
Before I go, there are a few commands I want you to use, for completeness, so we can make sure everything is still set up correctly...


grep -i cdrom /etc/fstab /etc/mtab
grep -i scsi /etc/lilo.conf /proc/modules
ls -ld /mnt/cdrom* /dev/cdrom* /dev/hdc/ dev/hdd /dev/scd0


That way, we can check all the settings needed to be sure everything is set up right.

Imperator
10-26-2001, 03:21 PM
Ok, it seems fixed!!!

I have tried reading from my CD drive, and can do it! Even though it doesn't like some of my (scratched :D ) CD's. I just mounted it again, and it was fine.

I'd like to thank everyone on this thread who helped me, my problems are solved. Your help has been great. :)

~ Imperator, who is just about to go rate eXtremist and the No Name fella 5-stars. :)

bdg1983
10-26-2001, 03:26 PM
Take a bow eXtremist.

Forget about asking for a raise though. ;)

eXtremist
10-28-2001, 10:02 AM
Great! I'm happy its working now.. Hopefully, that's +1 to the linux counter!

eXtremist
10-28-2001, 10:24 AM
LONGON NAME GONE:
Just wondering, how do you keep losing your names? Its strange that you've lost your login name like 4 times now yes I've kept mine the whole time..

Can't you just ask one of the admins for your password?

lilrabbit129
10-29-2001, 01:20 AM
Bravo Extremist....

Bravo Imperitor...

That's the first time i've heard of an extended problem being fixed!

again... Bravo :D :D :D

bdg1983
10-29-2001, 06:19 AM
Originally posted by eXtremist:
<STRONG>LONGON NAME GONE:
Just wondering, how do you keep losing your names? Its strange that you've lost your login name like 4 times now yes I've kept mine the whole time..

Can't you just ask one of the admins for your password?</STRONG>

As DMR says, the LNO Gods just don't like me. It's not the password, but my logon somehow get's corrupted. 'No member number found' or something like that.

Lorithar
10-29-2001, 02:30 PM
*@THWAPS*
EVERYBODY


/etc/fstab is trying to mount the directory to the directory

/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0

Same thing with the damn floppy...

/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0

/dev/ in the first section of the command... /dev/

what device to mount where......

Imperator
10-29-2001, 02:56 PM
Hrm.

Lorithar, that's what my fstab shows. I don't understand, was I being told something wrong? :)

~ Imperator

Lorithar
10-29-2001, 10:47 PM
*hmms*

wonders.
perhaps in /etc/modules.conf the DEVICES are aliased to the mount points..... that would be weird but could make that work.

thing is ... IF after a reboot the devices are gone and have to be manually remounted, /etc/fstab is where the problem is...

mount DEVICE to MOUNT POINT
not mount MOUNT POINT to MOUNT POINT

Linuxcool
10-31-2001, 03:37 AM
lorithar , I believe it has to do with the supermount program. If you look at the fstab entries, you'll see ' supermount ' as the file type. What I think happens, is that ' supermount ' looks in the forth column of the fstab file and uses the ' dev= ' to determine what device is to be mounted and it uses the ' fs= ' to determine the file type. The fstab file entries for the cdrom's and floppy could be changed. Like this:

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/cdrom2 /mnt/cdrom2 iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy vfat noauto,user,rw 0 0

I've read that ' supermount ' is buggy. I saw this command ' supermount -i disable ' that is supposed to disable ' supermount '.

[ 31 October 2001: Message edited by: Linuxcool ]