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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-06-2003, 11:53 AM   #1
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
Angry cdrom won't unmount!


i'm well-versed in the act of mounting and unmounting media on a linux box, but i installed slack 9.1 last night and i can't eject this cdrom in my drive. i'm quite sure i've stopped all processes that access the cdrom and made sure to NOT be in the FS i'm unmounting. then i type "#eject /mnt/dvdrom" and it refuses to cooperate. here are the outputs i got:

(it starts w/ /dev/hdc="dvdrom device" mounted at /mnt/dvdrom)

root@chimaera:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 995864 304088 640372 33% /
/dev/hda3 4964188 1453496 3254456 31% /usr
/dev/hda4 68238912 167620 64549044 1% /home
/dev/hdc 640224 640224 0 100% /mnt/dvdrom
root@chimaera:/# eject /mnt/dvdrom/
eject: unable to eject, last error: Invalid argument
root@chimaera:/# eject -r -v /mnt/dvdrom/
eject: device name is `/mnt/dvdrom'
eject: expanded name is `/mnt/dvdrom'
eject: `/mnt/dvdrom' is not mounted
eject: `/dev/hdc' can be mounted at `/mnt/dvdrom'
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: unable to eject, last error: Device or resource busy
root@chimaera:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 995864 304088 640372 33% /
/dev/hda3 4964188 1453496 3254456 31% /usr
/dev/hda4 68238912 167620 64549044 1% /home

so you'll notice that it did unmount the cdrom after the eject command was issued, but it refuses to eject. anybody got suggestions? i tried to "#umount -f /mnt/dvdrom" and "#umount -l /mnt/dvdrom" to no avail.

thx for reading,
y-p
 
Old 11-06-2003, 11:57 AM   #2
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
/mnt/dvdrom is a directory
I know it's supposed to work but indulge me.

try
eject /dev/hdc

if that doesn't work
try
lsof | grep dvdrom

Last edited by LogicG8; 11-06-2003 at 11:58 AM.
 
Old 11-06-2003, 03:42 PM   #3
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Original Poster
Rep: Reputation: 30
no dice on either of those:

root@chimaera:/# mount /mnt/dvdrom/
root@chimaera:/# eject /dev/hdc
eject: unable to eject, last error: Invalid argument
root@chimaera:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 995864 303696 640764 33% /
/dev/hda3 4964188 1453496 3254456 31% /usr
/dev/hda4 68238912 167756 64548908 1% /home
root@chimaera:/# mount /mnt/dvdrom/
root@chimaera:/# eject -r -v /dev/hdc
eject: device name is `/dev/hdc'
eject: expanded name is `/dev/hdc'
eject: `/dev/hdc' is mounted at `/mnt/dvdrom'
eject: unmounting `/dev/hdc'
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: unable to eject, last error: Device or resource busy

and

root@chimaera:/# lsof | grep dvdrom
root@chimaera:/# lsof | grep hdc
root@chimaera:/# lsof | grep mnt

damn, this is odd. i've never such a fritz-out with this thing.

thx for the suggestions, logic
 
Old 11-07-2003, 03:11 PM   #4
cratos
Member
 
Registered: Feb 2003
Posts: 95

Rep: Reputation: 15
Quote:
eject: unable to eject, last error: Device or resource busy
You had to have missed something. Looks like something is still using the drive.
 
  


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
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 mount / unmount lchisholm Linux - Hardware 8 08-17-2003 02:35 PM
How unmount working cdrom? X_shadow_X Slackware 6 07-05-2003 02:01 PM

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

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