Subject: port-sparc/7843: si/sw driver problems on Sun 4/110
To: None <gnats-bugs@gnats.netbsd.org>
From: Brad Spencer <brad@anduin.eldar.org>
List: netbsd-bugs
Date: 06/23/1999 12:35:49
>Number:         7843
>Category:       port-sparc
>Synopsis:       si/sw driver problems on Sun 4/110
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc-maintainer (NetBSD/sparc Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 23 12:35:01 1999
>Last-Modified:
>Originator:     Brad Spencer
>Organization:
	At home.
>Release:        Middle of the month, May 1999
>Environment:
	
System: NetBSD 1.4C (ARAGORN) #4: Tue Jun 22 11:14:12 EDT 1999


>Description:

The SCSI weird [sw] side of the si driver for the sparc port seems
badly broken on my 4/110.  Any disk activity causes the following
panic:

panic: si_dma_stop: excess transfer

The disk and cabling is fine, as the drive quire useable on any of my
other Suns.


If the sw_options variable is set to '0' in /sys/arch/sparc/dev/si.c
in the hopes that this will turn off DMA, the following messages are
printed to the console, and the process that caused the disk activity
locks up:

sd0(sw0:2:0): cannot allocate scsipi xs
sd0: not queued, error 12

>How-To-Repeat:

Try any disk activity on a 4/110 Sun with NetBSD-mostly_current

>Fix:

Unknown, but I can help test any thoughts on the matter.

>Audit-Trail:
>Unformatted: