LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2003, 05:07 PM   #1
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Rep: Reputation: 16
Thumbs down going in circle's with fstab and cd-rom


I have had nothing but problem's with trying to access my cd-rom.
I get the cd-rom working so I can mount it and access it, then next time I need it, it won't work.
I checked the fstab file, and it was about 20 line's.
I partitoned my drive manually the first time I installed mandrake9.1,
then I re-installed for reason's I don't remember.
I let mandrake partition it this last time. What I have is this:
/, /home, /swap.

I edited my fstab file to look like this:
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /home ext3 default 1 2
/dev/hda5 swap swap defaults 0 0
/dev/hdc /mnt/cdrom iso9600 ro,exec,auto,user,async 1 0
/dev/fdo /mnt/floppy auto
none /proc proc defaults 0 0
none /dev/pts devpts mode=0620 0 0

restarted, and saw that iso9600 was not supported, so I changed that to auto.
restarted and still no cd-rom access.

My fstab file look's like this now:
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom supermount dev=/dev/hdc,fs=auto,--,user 1 0
/dev/hdc /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,user,umask=0 0 0
/dev/fdo /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,user,sync,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

How do I properly set this up?
If it was done right, would I be mounting the device's in console?
Someone heeeelp me please.
 
Old 10-05-2003, 05:49 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Perhaps the "auto" is correct with supermount? Usually it is not unless you always boot with a CD in the CDROM drive.
Check any other replys, but supermount is sometimes the culprit for mounting problem with Mandrake. Is it really only your CD or does your floppy have the same problems? If you cannot find another solution and suspect supermount check:
http://www.mandrakeuser.org/docs/res...lm-faq.html#4f
I am not at all sure that supermount is or is not a problem with the newer releases.
Good Luck.
 
Old 10-05-2003, 06:28 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Nah, sorry "2dc",

the supermount should work fine in 9.1

chopp doesn't say what he/she is trying to mount i.e. music cd's or data

If it's data, then it SHOULD just be accessible when the disc has been put in, if it's music, then the default /dev/cdrom often doesn't work and would have to find out what else the device is called i.e. if it's a burner, then it's often called /dev/scd0 (a la scsi emulation) though it could also concieveably be something like hdb or hdc (like my original debian install did, as I didn't know that it wouldn't detect my device as a burner and automatically choose scsi emulation).

regards

John
 
Old 10-05-2003, 06:46 PM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
the supermount should work fine in 9.1
I will be glad to give up harping on this then.
I ran 8.0 and had to shut it down as described in the a.o.l.mandrake FAQ. I was a little put out that I had to go there rather than finding it listed as eratta on the Mandrake site. I have heard people complain about it in other releases and had someone deny I could of had a problem with it in 8.0
My understanding is that it happened/happens sometimes but not to everyone.
Anytime I see someone posting "weird" mounting problems with Mandrake I have posted a link to the FAQ. Other posibilities should be investigated first.
 
Old 10-05-2003, 06:56 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
I seem to recall something about the supermount being a problem with some systems as late as the 9.0 release - though that seems to have faded into the distance with 9.1 and the early 9.2's

Joke is though, since having snags doing the "debian thing" I've now got into recommending knoppix first - and if [they] can run that from disc and get net access with it, then install it to [their] hard drive. I saves one hell of a lot of problems that can result in n00b types trying "proper" debian (as originally said by the Welsh comedian Max Boyce "I know, cos I was there"! ).

regards

John
 
Old 10-05-2003, 07:19 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
since having snags doing the "debian thing"
Heh, heh, heh.
I would still recommend Mandrake, Suse, Red Hat to newbies. Although Slack and Debian are not that bad, and many people start with them, I do not suggest them as a first distro.
I also think recommending Knoppix is a great idea. I think almost everyone but Bill Gates agrees with that.
Perhaps I should check at a.o.l.mandrake for current supermount opinions.
 
Old 10-05-2003, 07:25 PM   #7
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Original Poster
Rep: Reputation: 16
What I have is a laptop, with an external usb cd-rw. I got rid of the supermount thing and still no go.
What I have on my desktop is this:
Floppy mounted at /mnt/floppy
CD-ROM (hdc) (not mounted)
CD-ROM (scd0) (not mounted) with a exclamation mark on the icon.
The floppy work's just fine.

thank's so far guy's.
chopp
 
Old 10-05-2003, 07:29 PM   #8
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
with an external usb cd-rw.
Ahhhh....
Can you find a CDRW drive in the output from:
cdrecord -scanbus
 
Old 10-05-2003, 07:33 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
/dev/hdc /mnt/cdrom supermount dev=/dev/hdc,fs=auto,--,user 1 0
/dev/hdc /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,user,umask=0 0 0


BTW its iso9660 instead of iso9600

You have two lines. Do you have a cdrw too?
If you want to keep supermount the entry for the CDROM should be:

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,--,user 0 0

You should also be able to ignore fstab and mount a CD if you log in as root:
mount -t iso9660 /dev/hdc /mnt/cdrom
 
Old 10-05-2003, 07:37 PM   #10
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Original Poster
Rep: Reputation: 16
Sorry, neglected to mention the laptop external burner thing.
here is the output:
Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 8290 ' '1.3C' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
 
Old 10-05-2003, 07:48 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
/dev/hdc /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,user,umask=0 0 0

Should be:
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,user 0 0

umask=0 would be for allowing users to read / write which you can't do on a CDRW yet. I believe that udf support i.e packet writing is in the 2.6 kernel

Did you try the CDROM yet?
 
Old 10-05-2003, 07:53 PM   #12
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I believe a USB CDRW would use USB mass storage.
If that is correct it is a matter of having the correct kernel modules, Lilo addition, and perhaps device links.
So first, are you using Lilo as the boot manager, and second, can you post the outout from ' lsmod'?
I think you need to have "ide-scsi","usb-storage", "usb-uhci", and "usbcore" modules listed.
 
Old 10-05-2003, 07:58 PM   #13
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Original Poster
Rep: Reputation: 16
michaelk, I just tried both CD-ROM (scd0) which is the cd-rw, and CD-ROM (hdc) which is the cd-rom. They both work!!
Is that how they both should show up on the desktop?
What is the proper way to mount either of these device's from console? And how the heck did my fstab get so messed up before?

thank's
chopp
 
Old 10-05-2003, 08:09 PM   #14
chopp
Member
 
Registered: Sep 2003
Location: AB. Canada
Distribution: Slackware
Posts: 126

Original Poster
Rep: Reputation: 16
here is the output of lsmod incase I have any other problem's. ;.)
Module Size Used by Not tainted
sg 34636 0 (autoclean)
nls_iso8859-1 3516 1 (autoclean)
nls_cp437 5148 1 (autoclean)
isofs 27988 0 (autoclean)
zlib_inflate 21156 0 (autoclean) [isofs]
udf 90464 0 (autoclean)
ide-cd 33856 0 (autoclean)
autofs4 11540 2 (autoclean)
parport_pc 25096 1 (autoclean)
lp 8096 0 (autoclean)
parport 34176 1 (autoclean) [parport_pc lp]
snd-seq-midi 5024 0 (autoclean) (unused)
snd-opl3-synth 12548 0 (autoclean) (unused)
snd-seq-instr 7172 0 (autoclean) [snd-opl3-synth]
snd-seq-midi-emul 6780 0 (autoclean) [snd-opl3-synth]
snd-ainstr-fm 2912 0 (autoclean) [snd-opl3-synth]
snd-seq-oss 31104 0 (unused)
snd-seq-midi-event 5640 0 [snd-seq-midi snd-seq-oss]
snd-seq 42608 2 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43556 0
snd-mixer-oss 14488 0 [snd-pcm-oss]
snd-ymfpci 47424 0
snd-opl3-lib 8036 0 [snd-opl3-synth snd-ymfpci]
snd-hwdep 6368 0 [snd-opl3-lib]
snd-pcm 77536 0 [snd-pcm-oss snd-ymfpci]
snd-timer 18376 0 [snd-seq snd-opl3-lib snd-pcm]
snd-mpu401-uart 4396 0 [snd-ymfpci]
snd-rawmidi 17600 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-midi snd-opl3-synth snd-seq-oss snd-seq snd-opl3-lib snd-rawmidi]
snd-page-alloc 7732 0 [snd-ymfpci snd-pcm]
snd-ac97-codec 40160 0 [snd-ymfpci]
snd 40868 0 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-ymfpci snd-opl3-lib snd-hwdep snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 6276 0 [snd]
nfsd 74256 0 (autoclean)
pcnet_cs 14144 1
8390 7916 0 [pcnet_cs]
ds 8456 2 [pcnet_cs]
yenta_socket 13056 2
pcmcia_core 57184 0 [pcnet_cs ds yenta_socket]
af_packet 14952 1 (autoclean)
floppy 55132 2
ohci1394 19048 0 (unused)
ieee1394 45900 0 [ohci1394]
supermount 15296 1 (autoclean)
vfat 11820 1 (autoclean)
fat 37944 0 (autoclean) [vfat]
sr_mod 16920 0
cdrom 31648 0 [ide-cd sr_mod]
scsimon 9280 0 (unused)
usb-storage 72952 0
scsi_mod 103284 4 [sg sr_mod scsimon usb-storage]
printer 8448 0
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usb-storage printer usb-uhci]
rtc 8060 0 (autoclean)
ext3 59916 2
jbd 38972 2 [ext3]

chopp
 
Old 10-05-2003, 08:12 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
I have no clue on how they would of gotten messed up.

You have your choice
mount /mnt/cdrom
or
mount /dev/hdc

The same holds true for the cdwriter using its folder or device.

Mandrake usually creates a removable mediafolder on the desktop of which there should be another folder for your floppy and CDROM

If the USB writer was not plugged in during the install it would of auto configured it the first time you plugged it in.

When you click on a folder konqueror should open up a window with the contents of the drive.

You can always create a folder that points to the CDROM or CDwriter if MDK failed to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
fstab, new /home partition and cd-rom issues YBA^[x] Slackware 15 08-05-2004 11:50 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
DVD-ROM/CD-ROM unable to recognize debain boot CD gottfried Linux - Newbie 2 01-20-2004 12:39 PM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration