From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 22 04:25:51 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 39673106567B for ; Fri, 22 Aug 2008 04:25:51 +0000 (UTC) (envelope-from nick-freebsd-scsi@triantos.com) Received: from smtp119.sbc.mail.sp1.yahoo.com (smtp119.sbc.mail.sp1.yahoo.com [69.147.64.92]) by mx1.freebsd.org (Postfix) with SMTP id 064F68FC26 for ; Fri, 22 Aug 2008 04:25:50 +0000 (UTC) (envelope-from nick-freebsd-scsi@triantos.com) Received: (qmail 9047 invoked from network); 22 Aug 2008 04:25:50 -0000 Received: from unknown (HELO bsd.triantos.com) (nicktriantos@sbcglobal.net@71.139.205.114 with login) by smtp119.sbc.mail.sp1.yahoo.com with SMTP; 22 Aug 2008 04:25:50 -0000 X-YMail-OSG: Pe8nXUoVM1nrJBwx.x0L1g7hPsogZewTGZ5SMGXLiumZnPqT8zcICZSetqr0.fpY8zZVUUx9rIGpB2b_M52xl_Qpa3tq.sV..rhsajdvkl1PWwKUjO9yiZEmjs.qKwB64DE- X-Yahoo-Newman-Property: ymail-3 Received: by bsd.triantos.com (Postfix, from userid 1001) id 4960484421; Thu, 21 Aug 2008 21:25:53 -0700 (PDT) Received: from [192.168.0.7] (192.168.0.7) by bsd.triantos.com (tmda-ofmipd) with ESMTP; Thu, 21 Aug 2008 21:25:52 -0700 Message-Id: <432CA218-138B-4F45-83BF-DA973B5D9F63@triantos.com> To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 21 Aug 2008 21:25:44 -0700 X-Mailer: Apple Mail (2.926) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Nick Triantos Subject: 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 04:25:51 -0000 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;