Subject: Re: netbsd 1.6.1 miniroot kernel panics on accessing a XyLogics 451
To: Erik E. Fair <fair@NetBSD.org>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: port-sparc
Date: 10/16/2003 12:25:04
> He loaded a miniroot onto a SCSI disk, booted from it, and got this
> (reproduced by hand):
> 
> sparcvme0 at iommu0: version 0x0
> vme0 at sparcvme0
> xyc0 at vme0 addr ee40 irq 3 vector 48data fault: pc=0xf020a010 addr=0xa4 sfsr=1a6<PERR=0,LVL=1,AT=
> 5,FT=1,FAV,OW>


I don't think the driver has ever been tested on sun4m VME bus or even
on any platform since it has been converted to MI vme.

From looking at the source I think that you need (among all the other
undiscovered issues) this:

Index: xy.c
===================================================================
RCS file: /cvsroot/src/sys/dev/vme/xy.c,v
retrieving revision 1.54
diff -r1.54 xy.c
461c461
< 				&xyc->reqs[lcv].dmamap)) != 0) {
---
> 				&xyc->auxmap)) != 0) {

-pk