Subject: Re: sun3: si_dma_alloc: excessive xlen=0x10000
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 06/14/2003 19:13:03
On Sat, Jun 14, 2003 at 10:08:12AM -0700, Jason Thorpe wrote:
> 
> On Saturday, June 14, 2003, at 04:13  AM, Manuel Bouyer wrote:
> 
> >Nothing has changed in the MI ncr5380 or sun3 si files recently, exept 
> >some
> >comments uptate. So I guess something has changed in a MI file since 
> >1.6R,
> >which cause this. sun3 param.h defines MAXBSIZE to 32k, so we should 
> >not get
> >64k requests from the filesystem.
> 
> This was probably Thor's MAXBSIZE -> MAXPHYS sweep.
> 
> I'd suggest doing one of the following:
> 
> 	1. Make the sun3 SCSI drivers split up transfers (probably
> 	   more work than it's worth) or...

Sure

> 
> 	2. Change MAXPHYS on sun3 to 32k.

MAXPHYS is defined in m68k/include/param.h, this means making it MD

> 
> 	3. Fix the kernel to allow a per-device maxphys, and make
> 	   everything (including the file system) use it properly.

I think Thor is working on this, isn't it ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--