LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-20-2002, 07:34 PM   #1
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
odd behavior when mounting CDs


This is something that really has me stumped.

I have been working on installing Wine to get Half-Life up and running since I removed Windows from my PC. My problem is when I insert the installation disc in my CD-Rom drive, the entire system seems to just hang, becoming very unresponsive.

It's apparent that in KDE, it automatically mounts the disc, as I can see that it tries to pull up Konqueror once the disc is in. but the window never comes up. It does the same when I try to manually open Konqueror. I know the disc get mounted OK, because I can view the contects of /mnt/cdrom from the console.

Now that my whole system is unresponsive, I try to umount the disc. It tells me the disc is busy. I can eventually get it unmounted with KwikDisk, but it's tricky because once I unmount it, it immediately tries to (automatically) mount it all over again. It takes a quick hand to push the eject button at just the right time to get the disc tray to eject.

Once I eventually get the disc ejected, the system returns to normal. And what's more confusing is that after I successfully eject the disc, 3 or 4 Konqueror windows pop up on the screen showing the (now empty) contents of /mnt/cdrom.

I only run into this problem with installation CD's for Windows. the RedHat CD's mount perfectly, and there's no trouble with audio discs (although I know that they aren't really "mounted" in the same way as data).

Where can I disable this "auto-mount" in KDE (possibly something in fstab, I'm not sure), or is there something else I'm overlooking?

By the way, the forums have been a great resource to me so far.
Thanks.
 
Old 12-20-2002, 10:59 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what's in your fstab file
 
Old 12-21-2002, 02:10 AM   #3
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Original Poster
Rep: Reputation: 30
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdb /mnt/ls120.0 auto noauto,owner,kudzu 0 0
/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /mnt/cdrom1 auto ro,noauto,user,exec 0 0
 
Old 12-21-2002, 02:31 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
the auto mount thing is called supermount.
i forgot where the config for it is, maybe /etc/auto.vol,
i just looked.
but you can comment out the lines referring to
cdroms in fstab and reboot if you want to experiment.
just don't comment out the line with your root filesystem
 
Old 12-21-2002, 04:42 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
well there's your problem

you have the cdroms in there twice

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0

/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /mnt/cdrom1 auto ro,noauto,user,exec 0 0

if this works

mount /dev/cdrom

remove this
/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0

if not change
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

to
/dev/hdc /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

and remove this
/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0

do the same with the other one
 
Old 12-21-2002, 12:44 PM   #6
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Original Poster
Rep: Reputation: 30
I think that fixed it.

I took out the duplicate entries in my fstab giving me:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/scd0 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdb /mnt/ls120.0 auto noauto,owner,kudzu 0 0

Now everything seems to be as it should be. I mounted the Half-Life installation disc, and no troubles.

Thanks David.
 
Old 12-21-2002, 01:21 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Great dude, I figured that would do it.

Check out the affero link if you have time.
 
  


Reply



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
Odd Knoppix behavior Darkstar Linux - Distributions 1 06-25-2005 09:46 PM
Odd Behavior of Epiphany Jeffmrg Slackware 2 09-09-2004 08:23 AM
getchar() 's odd behavior jenna_h Linux - Newbie 3 12-22-2002 12:29 PM
postgresql odd behavior doublefailure Linux - Software 1 08-28-2002 12:40 AM
RH 6.2 ... odd behavior jubal Linux - Networking 3 02-27-2001 09:04 AM

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

All times are GMT -5. The time now is 06:00 AM.

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