Subject: ncr scsi driver problems
To: None <port-i386@NetBSD.ORG>
From: Josef Burger <bolo@cs.wisc.edu>
List: port-i386
Date: 12/14/1996 14:41:05
I recently put together a news machine with two ncr53c810 scsi
controllers.  Then ... I started running into scsi problems.  Reading
previous articles about the ncr scsi driver, it seems that is has
problems; the consensus seems to be that there is a synchronization
problem in the driver.  I've upgraded the ncr driver to that in
-current (1.52 and/or 1.54) which does a better job of setting timing
parameters for the various NCR chipsets.  It also doesn't try to
handle some error condition.  It doesn't help any.

Because the bus hangs, it is difficult to collect information about
the problem.  One problem that I've seen at least twice is that the
driver fails to synchronize with the controller and the entire bus
hangs; see the appended log excerpt.  Fortunately this one occurred on
the 2nd bus, so the error was logged.

I would like to know if anyone is working on the problems with the
ncr driver and/or has any idea of what to do about them.

thanks!
bolo
| Joe Burger   U of WI-Madison Computer Sciences| "Blessed are the Peacemakers"
| "bolo"       bolo@cs.wisc.edu   uwvax!bolo    | -- Jesus Christ, endorsing
|              http://www.cs.wisc.edu/~bolo/    | Samuel Colt's Revolvers

-- log excerpt --
Dec 12 17:50:42 loops /netbsd: ncr1:1: ERROR (80:110) (8-28-800) (8/13) @ (e48:88030000).
Dec 12 17:50:42 loops /netbsd: 	script cmd = 18000000
Dec 12 17:50:42 loops /netbsd: 	reg:	 da 10 80 13 47 08 01 1f 03 08 81 28 80 00 00 00.
Dec 12 17:50:42 loops /netbsd: ncr1: handshake timeout
Dec 12 17:50:42 loops /netbsd: ncr1: restart (scsi reset).
Dec 12 17:50:42 loops /netbsd: sd12(ncr1:4:0): COMMAND FAILED (6 ff) @f8716e00.
Dec 12 17:50:42 loops /netbsd: sd11(ncr1:3:0): COMMAND FAILED (6 ff) @f870e000.
Dec 12 17:50:42 loops /netbsd: sd9(ncr1:1:0): COMMAND FAILED (6 ff) @f870e400.
Dec 12 17:50:42 loops /netbsd: sd12(ncr1:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec 12 17:50:43 loops /netbsd: sd12(ncr1:4:0): unit attention
Dec 12 17:50:43 loops /netbsd: sd11(ncr1:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec 12 17:50:43 loops /netbsd: sd11(ncr1:3:0): unit attention
Dec 12 17:50:43 loops /netbsd: sd9(ncr1:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec 12 17:50:45 loops /netbsd: sd9(ncr1:1:0): unit attention
Dec 12 17:50:51 loops /netbsd: sd10(ncr1:2:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec 12 17:50:51 loops /netbsd: sd10(ncr1:2:0): unit attention