Subject: kern/6871: NCR driver seriously broken in attempts to DMAbusify it
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: netbsd-bugs
Date: 01/24/1999 18:15:08
>Number:         6871
>Category:       kern
>Synopsis:       NCR driver seriously broken in attempts to DMAbusify it
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 24 18:20:00 1999
>Last-Modified:
>Originator:     Matthew Jacob
>Organization:
	Feral Software
>Release:        9 Jan 1999
>Environment:
	
System: NetBSD nobble.feral.com 1.3I NetBSD 1.3I (NOBBLE) #1: Sat Jan 9 21:58:11 PST 1999 mjacob@nobble.feral.com:/usr/src/sys/arch/alpha/compile/NOBBLE alpha


>Description:
	Since revisions 1.76-1.80 of the pci/ncr HBA driver, SCSI sense
	data is getting clobbered and doesn't work for at least some instances
	of the NCR. The author of these revisions hasn't responded to email
	about this. Reverting to 1.76 

	Hardware:

		Alpha PC164
		ncr0 at pci0 dev 9 function 0: ncr 53c825 fast10 wide scsi

		two disks on the NCR.

	Symptoms:

		Sense Data comes back all zero:

an 24 17:32:36 nobble /netbsd: probe(ncr0:5:1): Sense Error Code 0x0
Jan 24 17:32:36 nobble /netbsd: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0





>How-To-Repeat:
	
>Fix:
	Revert to 1.76 and don't DMA busify a driver unless you're prepared
	to debug it.
>Audit-Trail:
>Unformatted: