Subject: Re: -current on Ultra 5+ - now it's major siop0 lossage
To: None <port-sparc@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 01/26/2001 20:45:00
On Thu, Jan 25, 2001 at 04:43:14PM -0800, Greg Earle wrote:
> [...]
> 
> > As far as the siop problems are concerned, they are new to
> > me.  Manuel has added tag queuing to that driver recently,
> > so you should make certain he's aware of the problem.
> 
> OK, I'm copying Manuel too  :-)
> 
> I'm pretty sure I've only seen these (see above) siop0/SCSI bus DMA errors when
> booted under a post-1.5 kernel.  Was that when the tagged queueing stuff was
> added?  Is there a way to turn it off (I'm willing to try and build another

Before 1.5 was released, I think. But only in -current.
> -current kernel if I can figure out how ... I'd like to go to -current, but

You can disable tagged queuing by commenting out this in siop_common.c:

if (sp->sa_flags & SC_ACCEL_TAGS) {
	sc->targets[sp->sa_target]->flags |= TARF_TAG;
	printf("%s: target %d using tagged queuing\n",
	    sc->sc_dev.dv_xname, sp->sa_target);
}

(adding TARF_TAG to sc->targets[sp->sa_target]->flags is what really turns
tagged queuing on).

--
Manuel Bouyer <bouyer@antioche.eu.org>
--