Subject: HD Corruption probs
To: None <port-mac68k@NetBSD.ORG>
From: Greg Putrich <gregp@primenet.com>
List: port-mac68k
Date: 09/21/1996 18:46:33
Found another little tidbit in muc.lists.netbsd.port.sun3. It is a reply
to the original poster that had corruption problems on a Quantum
Trailblazer 850 & a Sun 3/60. I posted the first part here a few days ago.

Hopefully it's of some help. 

---------- Forwarded message ----------
Orginator: vogon.muc.de!NetBSD.ORG!owner-port-sun3
Subject: Re: Sun 3/60 problems 
Reply-To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Jason Thorpe <thorpej@nas.nasa.gov>
Message-ID: <199609172252.PAA06968@lestat.nas.nasa.gov>
Date: Wed, 18 Sep 1996 00:52:39 +0200
Newsgroups: muc.lists.netbsd.port.sun3

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

---------- End forwarded message ----------

---------------------------------------------------------------------------
Greg Putrich - Internet: gregp@primenet.com                       [skeezix]
Public Key 27E97EBD = 62 0E B9 A2 45 D2 64 AC 8A B4 6D 9D 5B 23 90 1F

               An fsck a day keeps the core dump away