Subject: Re: sun3: si_dma_alloc: excessive xlen=0x10000
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: current-users
Date: 06/14/2003 10:08:12
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...

	2. Change MAXPHYS on sun3 to 32k.

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

         -- Jason R. Thorpe <thorpej@wasabisystems.com>