home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!ukma!nsisrv!pat
- From: pat@gsfc.nasa.gov (patrick m. ryan)
- Subject: killing device wait process
- Message-ID: <1992Dec21.190832.1076@nsisrv.gsfc.nasa.gov>
- Summary: dead process
- Keywords: ps kill interrupt device
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: jaameri.gsfc.nasa.gov
- Organization: Goddard Space Flight Center
- X-Newsreader: TIN [version 1.1 PL8]
- Date: Mon, 21 Dec 1992 19:08:32 GMT
- Lines: 24
-
-
- Is there any way to kill a process which is in an "non-interruptible"
- device wait? We have out own tape handling program which has
- a few bugs in it. At present, when it gets stuck in a device
- wait, the only way to clear it it to reboot the system. Here
- is the line from "ps -aux":
-
- andy 926 0.0 0.0 116 0 p2 IW 11:54 0:00 xar cvf /dev/nrst0 ./cou
-
- We have already ruled out questions of permissions and such.
- Even if root does "kill -9 <pid>", the process still hangs
- around and the device remains "busy". Even stranger is that
- the "D" flag does not appear is the STAT line from ps.
-
- This is a SPARC 2 running SunOS 4.1.1. Any clues?
-
- thanks,
- pat
-
- --
- "I have a cunning plan." -- Baldric
- patrick m. ryan
- nasa / goddard space flight center / oceans and ice branch / hughes stx
- pat@jaameri.gsfc.nasa.gov / zmpmr@charney.gsfc.nasa.gov
-