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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2004, 02:48 PM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Unhappy Kill -9 not killing application, connected with cdrom busy error?


Hi everyone,
This is similar to many other threads, but with no answwer that I have found yet. If there is one, then I apologise in advance for repeating the question.
My problem is, when I have mounted a cd under /mnt/scd1 as root, then I am unable to umount it. By issuing the command umount /mnt/scd1, I get the error message " umount failed device is busy"
If I go lsof /mnt/scd1 I get this:- mount 14621 root cwd DIR 11,1 6144 296960 /mnt/scd1
I then issue the command kill -9 14621, which I understand should kill that process, as the -9 is meant to be not ignored, but to no avail.
Can anyone help, I am becoming more follically challenged by the minute!.

TIA
 
Old 04-10-2004, 02:51 PM   #2
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
If you are in the directory tree for the device it will not let you umount it. That may be what is going on. Look at all your terminals and make sure that you are not in a dirctory of the mounted device.


 
Old 04-11-2004, 01:21 AM   #3
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Hello,
No, I am not in the directory tree for the cdrom. I had puposely made sure to cd away from it completely. However, hera is something else that I found out that looks like it is connected to whatever is casuing this. When I reboot, because I can find no other way to umount. Then I get a list of errors telling me that /usr /root / cannot be umounted because the device is busy. Also, this means on the reboot that fsck runs, but doesn't find any errors with the file system. Any more ideas?

TIA
 
Old 04-11-2004, 05:46 AM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
In Mandrake, I would just type "fuser -mk /mnt/scd1" as root and it would do the trick. Which distro are you using?
 
Old 04-11-2004, 06:17 AM   #5
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Thanks, I will try that next time it happens. Am currently using MDK9.2, and this has been a problem for some time which I have just lived with. It normally happens after issuing a urpmi command for update or install of software from a CD. I suppose I should have said that as a normal user, it never happens. At least I have learnt another linux (or is it a specific Mandrake one) with command with fuser.

Thanks
 
Old 04-11-2004, 02:33 PM   #6
Squall
Member
 
Registered: Jan 2004
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239

Rep: Reputation: 31
deleted, upon doing some research, I noticed that my original comments contained information that was incorrect.

Last edited by Squall; 04-11-2004 at 08:28 PM.
 
  


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
kill procesed application fireedo SUSE / openSUSE 4 05-10-2005 11:24 AM
Why is cdrom always Device BUSY mickeyboa Fedora 10 02-28-2005 11:32 PM
CDrom busy m2stian Linux - Hardware 2 11-28-2004 11:54 AM
Killing an application israel Linux - Software 1 10-01-2003 03:04 PM
Slow application loading when connected to network Sornen Linux - Networking 2 07-31-2003 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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