Subject: panic on SCSI_TEST kernel
To: None <moore@cs.utk.edu>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 11/10/1995 12:09:24
> From: Keith Moore <moore@cs.utk.edu>
> Date: Thu, 09 Nov 1995 02:37:48 -0500
> > What hardware (machine, disks, etc.) are you using?
>
> I'm running a 3/75 with 8Mb of memory, and an si controller
> (obviously). type 5 keyboard (hopefully this doesn't matter,
> but it is odd.)
>
> Disks are (from SunOS boot):
> sd0: <FALCON ST31200N cyl 2724 alt 2 hd 9 sec 84>
> sd2: <Micropolis 1355 cyl 1018 alt 2 hd 8 sec 34>
> sd4: <ST11200N cyl 1872 alt 2 hd 15 sec 73>
>
> under netbsd, root is /dev/sd2a, /usr is /dev/sd2g,
> swap is probably sd0b, and kernel source is on /dev/sd4c
>
> I'll attempt to reproduce in the next day or so and send
> a stack trace.
>
> Keith
I noticed that the ncr_si driver has a small number of "openings"
(only 4) so this problem might just go away if we increase the
number to, say, 16. If you care to try, apply the change below
and rebuild the kernel (make sure all ncr*.o are rebuilt).
*** sun3/dev/ncr5380var.h.~1~ Tue Oct 31 07:34:37 1995
--- sun3/dev/ncr5380var.h Fri Nov 10 12:06:26 1995
***************
*** 66,72 ****
#define SR_ERROR 4 /* Error occurred */
int sr_status; /* Status code from last cmd */
};
! #define SCI_OPENINGS 4 /* Up to 4 commands at once */
struct ncr5380_softc {
--- 66,72 ----
#define SR_ERROR 4 /* Error occurred */
int sr_status; /* Status code from last cmd */
};
! #define SCI_OPENINGS 16 /* How many commands we can enqueue. */
struct ncr5380_softc {