Subject: bad error recovery on reading defective CD on ncr driver
To: None <port-i386@netbsd.org>
From: John Refling <johnr@imageworks.com>
List: port-i386
Date: 12/20/2000 15:33:28
I was trying to do a "cp -rp" from a CD to the hard disk and at some
point got the following (approximate) message on the console:


ncr0:6: ERROR (0:4) (8-0-0) (8/13) @ (script c0:1e000000)
ncr0: script cmd = 80080000
ncr0: register dump ...
ncr0: have to clear fifos
ncr0: restart (fatal error)
cd1:(ncr0:6:0): command failed (9ff) @0xc05ddc00
ncr0: timeout ccb=0xc05ddc00 (?)


The session in which the "cp -rp" was running was totally LOCKED.

ps on the "cp -rp" gave a status of D+ (uninterruptable wait).  Kill
-9 would not get rid of the process.

It seems that this is an undesirable state to get into, and although
uncommon (caused by a hardware/media combination), we should be able
to exit/recover gracefully.

Thoughts???