[PATCH]Re: blocksize error on sa

Dan Langille dan at langille.org
Mon Sep 15 09:29:19 PDT 2003


On 15 Sep 2003 at 9:09, Eric wrote:

> On Mon, 2003-09-15 at 06:52, Dan Langille wrote:
> > On 14 Sep 2003 at 23:18, Nate Lawson wrote:
> > 
> > > An anonymous person who knows more about sa(4) than me agreed it's
> > > probably a mode select problem with the drive:
> > > 
> > > > The 51000 is a piece of shit. With f/w varying all over the map.
> > > > My guess is that, yes, something in mode select isn't happening right.
> > 
> > 
> > Is "mode select problem" a reference to blocking modes (ie. variable 
> > or fixed)?  Is this something I can set at run time?  What else can I 
> > read?
> 
> I had a similar problem with a different drive a few years ago.  It
> turned out to be an incorrect quirk entry.
> Here's a link to the relevant post.
> 
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=21901+0+archive/2000/freebsd-scsi/20000910.freebsd-scsi

Thank you.  Patch follows:

--- scsi_sa.c~	Wed Sep 10 11:53:01 2003
+++ scsi_sa.c	Mon Sep 15 10:30:12 2003
@@ -360,7 +360,7 @@
 	},
 	{
 		{ T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "WANGTEK",
-		  "51000*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 1024
+		  "51000*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512
 	}
 };
 
Is this the type of thing which should be PR'd or it is a site by 
site issue?


-- 
Dan Langille : http://www.langille.org/



More information about the freebsd-scsi mailing list