From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 22 15:59:21 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6F97106566B for ; Fri, 22 Aug 2008 15:59:21 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 747988FC1B for ; Fri, 22 Aug 2008 15:59:21 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 15C2B1A90D6; Fri, 22 Aug 2008 08:51:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ElQTKL9cwxPK; Fri, 22 Aug 2008 08:51:03 -0700 (PDT) Received: from [10.47.1.18] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 0DBE91A8EF2; Fri, 22 Aug 2008 08:51:02 -0700 (PDT) Message-ID: <48AEE252.1060007@miralink.com> Date: Fri, 22 Aug 2008 08:59:14 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Nick Triantos References: <432CA218-138B-4F45-83BF-DA973B5D9F63@triantos.com> In-Reply-To: <432CA218-138B-4F45-83BF-DA973B5D9F63@triantos.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: Patch to fix support for StorCase InfoStation X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 15:59:21 -0000 Nick Triantos wrote: > Hi, > > I've got a StorCase InfoStation 12-bay SATA-to-FC SAN attached to my > FreeBSD server. It turns out that this device does not support the > SCSI cmds to sync its cache. > > The patch below can be applied to /usr/src/sys/cam/scsi/da_scsi.c to > fix this issue, but adding this storage system to the list of quirks. > > I don't know the correct procedure to submit this patch, but hopefully > someone on this list can help. > > Please let me know if I should do anything else to get this checked in. > > best, > -Nick > > *** scsi_da.c.orig Tue Aug 19 00:03:43 2008 > --- scsi_da.c Tue Aug 19 22:54:41 2008 > *************** > *** 535,540 **** > --- 535,547 ---- > {T_DIRECT, SIP_MEDIA_REMOVABLE, "ChipsBnk", "USB*", > "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > + { > + /* > + * StorCase (Kingston) InfoStation IFS FC2/SATA-R 201A > + */ > + {T_DIRECT, SIP_MEDIA_FIXED, "IFS", "FC2/SATA-R*", "*"}, > + /*quirks*/ DA_Q_NO_SYNC_CACHE > + }, > }; > > static disk_strategy_t dastrategy; Was this for 6 or 7? -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Cell 503-358-6832 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com