Subject: Re: aic -- sdX: not queued, error 5
To: None <port-i386@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 05/22/2000 17:43:45
On Sun, May 21, 2000 at 10:59:50PM -0700, Aaron J. Grier wrote:
> I have a 486/33 with an adaptec 1522 SCSI controller (aic driver) and
> some old crufty drives [1] hooked to it.  occationally during heavy disk
> activity, I get four 'sd0: not queued, error 5' messages on the console,
> and then the machine wedges.

5 is EIO, looks strange in this part of the code.
I suspect the problem is around line 577 of aic6360.c:
        flags = xs->xs_control;
        if ((acb = aic_get_acb(sc, flags)) == NULL) {
                xs->error = XS_DRIVER_STUFFUP;
                return TRY_AGAIN_LATER;
        }

This is not well handled by scsipi. Could you add a printf() here to confirm
it's this ?

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