From owner-freebsd-scsi@FreeBSD.ORG Mon Sep 15 09:29:19 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1110616A4BF for ; Mon, 15 Sep 2003 09:29:19 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 607FE43FD7 for ; Mon, 15 Sep 2003 09:29:18 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 23D043D28; Mon, 15 Sep 2003 12:29:10 -0400 (EDT) From: "Dan Langille" To: Eric Date: Mon, 15 Sep 2003 12:34:52 -0400 MIME-Version: 1.0 Message-ID: <3F65B1EC.6654.D71C71@localhost> Priority: normal References: <3F656FA2.29115.37D1B7DC@localhost> In-reply-to: <1063634982.1847.25.camel@dyn231.iacc-tm4.ndsu.nodak.edu> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: scsi@freebsd.org Subject: [PATCH]Re: blocksize error on sa X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 16:29:19 -0000 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/