home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.ultrix:6221 comp.unix.wizards:3597
- Path: sparky!uunet!mcsun!uknet!rsre!breeze!heading
- From: heading@breeze.rsre.mod.uk (Anthony Heading)
- Newsgroups: comp.unix.ultrix,comp.unix.wizards
- Subject: A confused tar process...
- Message-ID: <Bsxn95.HKJ@breeze.rsre.mod.uk>
- Date: 13 Aug 92 17:27:53 GMT
- Organization: Defence Research Agency
- Lines: 26
-
- A while ago I tried to read a corrupt SCSI exabyte tape on a
- DECstation using tar. The command hung completely, and I got out by
- killing the terminal session. I couldn't find any way to clear the
- tape drive except rebooting. The tar process was in "short term
- disk wait", and had every signal under the sun piled up on it,
- with the probable consequence that it would be dead as soon as
- it raised its head above the papapet, but since it was waiting
- for the tape to do something it didn't look like it would ever
- page back in. And I couldn't do anything to prod the tape drive,
- since every encounter with the device file gave a "mount device
- busy" or somesuch error.
-
- Is there any way to deal with such a problem? I wondered
- whether one could tickle /dev/kmem or one of those files
- (whose internals I have no idea about but one has to learn
- sometime...), persuade the tar process to page back in,
- let the various signals kill it, and hope that that would
- free up the tape device. Or is that hopelessly naive?
-
- Anthony
-
- --
- Anthony Heading (heading@hermes.mod.uk)
- DRA Malvern, UK
- Any opinions expressed are my own and in no way
- represent those of my employer or any other organization.
-