LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-15-2007, 07:38 PM   #1
otter8187
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
Automounting working for everything except CDdrive


Some time ago I swapped out the CD drive on my Dell latitude for a second battery and everything was fine (8-12 hours of battery life =] ). Though when reattaching the CD drive I'm unable to mount any disks, but updates through Yast are still possible and other removable devices can automount. Tried using the konsole but I get an error saying that hdc isn't in fstab or "files nis does not provide any mounts" when enabling autofs. After reading some other threads I've edited fstab, mtab, auto.misc and sadly no changes. Any ideas before I consider reinstalling or switching to a permanent Slax installation.



___________________________________________________________________
Mainboard : Dell Latitude CPx J750GT
Processor : Intel Pentium III E @ 750 MHz
Physical Memory : 512 MB (2 x 256 SDRAM )
Video Card : ATI Technologies Inc Rage P/M Mobility AGP 2x 8MB
Hard Disk : IBM-DJSA-220 (20 GB)
CD-Rom Drive : SAMSUNG CD-ROM SN-124
Network Card : Broadcom BCM4309 802.11a/b/g
Operating System : openSuSE 10.2 / Windows XP Professional SP 2
 
Old 07-16-2007, 06:05 PM   #2
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
be shure you edited fstab & the rest corectley (I wonce had a simalar prob and it wus /dev/hdd not dev/cdrom and then
Try chmod 666 /dev/cdrom (or /dev/hdc, or whatever your CD-ROM drive is).permishons for dev/cdrom or wutever it is mite have ben lost? but then I use a slackware based distro. so??????

VINNY
 
Old 07-17-2007, 01:47 AM   #3
rodrifra
Member
 
Registered: Mar 2007
Location: Spain
Distribution: Ubuntu
Posts: 199

Rep: Reputation: 36
Check your bios. Does it see the cdrom? Maybe the bios lost it and since bios doesn't see the drive linux can't see it either thus being unable to mount it.
 
Old 07-17-2007, 01:57 AM   #4
adilbhilai
LQ Newbie
 
Registered: May 2007
Distribution: RHEL 5.1 & Fedora 16
Posts: 29

Rep: Reputation: 15
check FSTAB
#cp /etc/fstab /etc/fstab1 ////backup fstab
#vi /etc/fstab ///edit fstab
check the following line:
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
and u r done

Last edited by adilbhilai; 07-17-2007 at 01:58 AM.
 
Old 07-19-2007, 11:16 AM   #5
otter8187
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adilbhilai
check FSTAB
#cp /etc/fstab /etc/fstab1 ////backup fstab
#vi /etc/fstab ///edit fstab
check the following line:
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
and u r done
Found a similar fix before I posted my dilemma. The line was missing all together, went and inserted it, rebooted and no change. When I tried this one, like before no success... but it did make the drive sound like weed eater
 
Old 07-19-2007, 11:22 AM   #6
otter8187
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rodrifra
Check your bios. Does it see the cdrom? Maybe the bios lost it and since bios doesn't see the drive linux can't see it either thus being unable to mount it.
Yes the bios detects it, it can boot a live system, and Windows had no problem swapping the drive with the battery without rebooting.

Like stated before the strange thing is that applications like yast are able to access the drive for updates, though browsing media disks is still out of reach.
 
Old 07-19-2007, 11:24 AM   #7
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 413

Rep: Reputation: 82
Quote:
Originally Posted by otter8187
Found a similar fix before I posted my dilemma. The line was missing all together, went and inserted it, rebooted and no change. When I tried this one, like before no success... but it did make the drive sound like weed eater
---------
Sounds like your cd-rom drive is defective (dust got into the mechanism while improperly stored away, maybe?), since editing fstab would do nothing to the sound of the drive itself.

Swap in a friend's drive and see if it mounts (keeping the line you added in fstab, of course).
 
Old 07-19-2007, 11:29 AM   #8
otter8187
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vinnywrite
Try chmod 666 /dev/cdrom (or /dev/hdc, or whatever your CD-ROM drive is).permishons for dev/cdrom or wutever it is mite have ben lost?

VINNY
Nothing, dammit this sucks.

Went and ran the repair function from the installation disk, it fixed a corrupt drive, though found nothing wrong with fstab entries
 
Old 07-19-2007, 11:39 AM   #9
otter8187
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by moxieman99
---------
Sounds like your cd-rom drive is defective (dust got into the mechanism while improperly stored away, maybe?), since editing fstab would do nothing to the sound of the drive itself.

Swap in a friend's drive and see if it mounts (keeping the line you added in fstab, of course).

What are these "friends" you speak of? This word is foreign to me, explain its significance.

But seriously, I've never seen anyone with an old clunker like this with whom I could cross reference. I'm pretty sure the drive isn't bad. Windows, livelinux systems, even DOS work well with it. Its just the locally installed linux system that's giving me problems.
 
Old 07-22-2007, 07:51 AM   #10
adilbhilai
LQ Newbie
 
Registered: May 2007
Distribution: RHEL 5.1 & Fedora 16
Posts: 29

Rep: Reputation: 15
i think you CDROM is connected to Secondary Master(hdc for linux)
you can try this command...
#mkdir /mnt/tt
#mount -t iso9660 /dev/hdc /mnt/tt
 
  


Reply

Tags
autofs, automount, cdrom, drive, removable


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
problem ejecting cd out of my cddrive kvplatha Linux - Software 7 02-17-2006 11:21 PM
automounting with autofs not working.. logicalfuzz Linux - Networking 2 11-21-2005 05:41 AM
Automounting has just stopped working. mokeyjoe Ubuntu 3 10-14-2005 03:30 AM
Automounting Stopped Working RemusX2 Linux - Hardware 1 08-13-2005 12:51 AM
That hateful CdDrive, on Dell Inspiron 8600c robgenna Linux - Laptop and Netbook 0 06-09-2005 09:12 AM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration