LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 03: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: 778

Rep: Reputation: 97
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, 03:51 PM   #2
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
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, 02: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: 778

Original Poster
Rep: Reputation: 97
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, 06: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, 07: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: 778

Original Poster
Rep: Reputation: 97
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, 03: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: 30
deleted, upon doing some research, I noticed that my original comments contained information that was incorrect.

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


Reply


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


All times are GMT -5. The time now is 06:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration