Subject: Kill unkillable process
To: None <port-i386@netbsd.org>
From: iware <dkwok@iware.com.au>
List: port-i386
Date: 01/25/2002 10:57:24
I am running NetBSD 1.5.2 and mounted a tape drive using

mt -f /dev/nrst0 rewind

I was bit impatient and manual ejected the tape before the process being
finished.

Now I have a uncontrollable process

bash-2.05# ps uxw|grep mt
root  2844  0.0  0.0   64    48 p1- D     4:50PM  0:00.00 mt -f /dev/nrst0
rewind

I 've tried a no. of ways to kill it and it still exist (or not). When I
issued mt command, the device is busy.

bash-2.05# mt -f /dev/nrst0 rewind
mt: /dev/nrst0: Device busy

When I do "top" I cannot see the process but ps show that the process is
still there.

How can I kill this run-away process without rebooting the system??

David Kwok