Subject: Re: bad error recovery on reading defective CD on ncr driver
To: John Refling <johnr@imageworks.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 12/21/2000 19:13:54
On Wed, Dec 20, 2000 at 03:33:28PM -0800, John Refling wrote:
> 
> 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???

What version of NetBSD are uyou using ?
If 1.5, I'd recommend switching to the siop driver which is much better in
this area.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--