Subject: Re: Sun 3/60 problems
To: Rick Kelly <rmk@rmkhome.rmkhome.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sun3
Date: 09/17/1996 15:52:39
On Sun, 15 Sep 1996 14:56:17 -0400 (EDT)
Rick Kelly <rmk@rmkhome.rmkhome.com> wrote:
> Sep 11 02:00:14 warthog /netbsd: ncr5380_command: short transfer: wanted 10 got
> 6.
> Sep 11 02:00:14 warthog /netbsd: si(0:0:0)-2a,0,0,0,21,fa,0,0,2,0-
> Sep 11 02:00:15 warthog /netbsd: ncr5380_command: short transfer: wanted 10 got
This was due to the way the sd driver sent commands to the device; it
always used a 10-byte CDB. Some older devices _Really_ don't like this.
I committed a change after 1.1 that makes the sd driver use a 6-byte CDB
if the request will fit, and added an sdminphys() to guarantee that the
request would fit if a device was flagged as "ancient". This pretty much
made the problem go away, as far as I can tell...
-- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ --
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939