LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2003, 01:56 PM   #1
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Rep: Reputation: 15
Exclamation How unmount working cdrom?


Sometymes i need to log out and reboot my cpu besause my cdrom stack's (stops working). I try this

tadas@X_shadow_X:~$ umount /dev/sr0
umount: /mnt/cdrom: device is busy
or
root@X_shadow_X:/home/tadas# umount /dev/sr0
umount: /mnt/cdrom: device is busy

but as you can see.

another question how to make my cdrom act like in windows, when i press eject button on my cdrom it opens, and automatic unmounts

and the last question. In /etc/rc.d/rc.modules
see the documentation in /usr/src/linux/Documentation/sound/,
# and /usr/src/linux/Documentation/Configure.help.
but
adas@X_shadow_X:~$ ls /usr/src/
rpm/
tadas@X_shadow_X:~$ cd /usr/src/linux/Documentation/sound/
-bash: cd: /usr/src/linux/Documentation/sound/: No such file or directory
Where can i find Documentation for sound. i use Slackware9

Sorry for English

Last edited by X_shadow_X; 07-03-2003 at 02:06 PM.
 
Old 07-03-2003, 02:08 PM   #2
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Try using the eject command to eject the CDROM.

As far as mounting/unmounting with a press of the eject button on the drive, that is done through a daemon called autofs, I think. This package comes with the Slack 9 ISO, but I myself can't figure out how to configure it. The stuff I have found on google hasn't really helped. Anyone with more information, please post it.
 
Old 07-03-2003, 02:12 PM   #3
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
tadas@X_shadow_X:~$ eject cdrom
umount: /mnt/cdrom: device is busy
eject: unmount of `/dev/sr0' failed
 
Old 07-03-2003, 02:23 PM   #4
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Do you have something like Nautilus open, that could be using the CDROM drive? Or maybe you were listening to a CD, and the program didn't end properly, and is still occupying the CDROM device. Do a ps -e and see if there is anything like nautilus, or something else that looks familiar like a CD-playing program.
 
Old 07-03-2003, 02:42 PM   #5
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
well don't know how to say in right English language but i will try. sometimes my cdrom stack's (he try to read something all the time but he cant do it ) and my linux then works wherry wherry slow, i have to log out with ctrl+alt+backspase and later reboot because after message unmounting remote file system's (something like that ) he stops never endless stupid reading.
 
Old 07-05-2003, 01:15 PM   #6
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Red face

heeeelppppppppppppp
how to kill that f*****g cdrom
 
Old 07-05-2003, 02:01 PM   #7
cassidy
LQ Newbie
 
Registered: Jun 2003
Location: Athens, Greece
Distribution: slackware
Posts: 8

Rep: Reputation: 0
try

hdparm - w /dev/sr0

(this will try reseting/unsticking your cdrom but beware

hdparm -w : Perform a device reset (DANGEROUS). Do NOT use this option. It exists for unlikely situations where a reboot might otherwise be required to get a confused drive back into a useable state.)

then try remounting it


does your cdrom work fine under windows?

if it works fine under windows, then try turning the cdrom's dma off in linux with

hdparm -d0 /dev/sr0


if you have the same problem under both windows and linux, then it's clearly a hardware problem.



PSi have the same problem with my dvd, clearly a hardware problem. until i buy a new one, i take out it's power supply and remount every time that it hangs, but i wouldn't suggest it to anyone)
 
  


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
Force unmount of cdrom tessx Linux - Newbie 6 08-19-2005 03:45 AM
cdrom will not unmount. bbmx952 Linux - Newbie 7 07-21-2004 04:35 PM
cant unmount /dev/cdrom mrweirdo Fedora 3 02-26-2004 11:52 AM
I can't unmount my cdrom... ramsees Linux - Hardware 2 12-07-2003 12:42 AM
cdrom won't unmount! yocompia Slackware 3 11-07-2003 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:47 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