From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 18 07:44:59 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 EED64106569C for ; Mon, 18 Aug 2008 07:44:59 +0000 (UTC) (envelope-from Carole.Macheret@ch.meggitt.com) Received: from gw.vibro-meter.com (gw.vibro-meter.com [62.2.232.101]) by mx1.freebsd.org (Postfix) with ESMTP id 3184A8FC1C for ; Mon, 18 Aug 2008 07:44:58 +0000 (UTC) (envelope-from Carole.Macheret@ch.meggitt.com) Received: from Vm-Fribourg-MTA by gw.vibro-meter.com with Novell_GroupWise; Mon, 18 Aug 2008 09:44:57 +0200 Message-Id: <48A9445E.1F16.0013.0@ch.meggitt.com> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Mon, 18 Aug 2008 09:44:45 +0200 From: "Carole Macheret" To: "Scott Long" References: <4874F53A0200001300130DE3@gw.vibro-meter.com> <48A465B10200001300132295@gw.vibro-meter.com> <48A46586.1F16.0013.0@ch.meggitt.com><48A46586.1F16.0013.0@ch.meggitt.com> <48A4666C.6080008@samsco.org> In-Reply-To: <48A4666C.6080008@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-scsi@freebsd.org, Roland Rothen Subject: Re: g_vfs_done 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: Mon, 18 Aug 2008 07:45:00 -0000 Thanks for your answer. We will do some tests as soon as we will have the = opportunity since the system is productive! Carole =20 >>> Scott Long 14.08.2008 19:07 >>> Carole Macheret wrote: > Hello, >=20 > We are using FreeBSD 7.0-RELEASE #1 running Squid and Zabbix on vmware = ESX 3.0.2 and our vmware ESX servers access our SAN through IpStor cluster = (Storage virtualization and mirroring).=20 >=20 > We have 2 storages (EVA 6100) and the IpStor solution allows us to = mirror disks on both EVAs. >=20 > We have a problem with both the Zabbix and Squid FreeBSD virtual = machines, when the virtual machine is loosing its disks (EVA controller = reboot or ipstor cluster failover), we have several "g_vfs_done() : = da1s1d[WRITE(offset=3D2312431234, length=3D12453)] error=3D 5" errors then = the host is definitively frozen. The disk loss lasts 1-5 seconds. Windows = virtual machines do freeze during the loss then continue working. On = Windows we had to specify a longer timeout for local disk in registry. >=20 > Does anybody has an idea what could be tuned to avoid this problem ? >=20 > Attached you can find the dmesg and a screenshot of the g_vfs_done = error... >=20 > Thanks in advance for your help >=20 So the virtual disks that the FreeBSD images are using in VMWare are on an IpStor, and those periodically go away, yes? What's probably happening is that the VMWare host is triggering an event in the FreeBSD client VM that essentially is making the virtual disks go away. Inside the FreeBSD VM, the SCSI layer tries to talk to the disk and gets a selection timeout since the disk is no longer there. It doesn't know that this is a temporary state, and it declares the I/O as failed. At that point, the BSD VM gets upset and everything gets bad. There is a property called kern.cam.da.default_timeout. It's set to 60 seconds, but I don't think that it will help you in this case, since it's likely that the i/o is failing because of a selection timeout, not because the virtual disk is slow in completing the i/o. The kern.cam.da.retry_count property is set to 5, and changing it might help since it might be able to force enough retries to give time for the virtual disk to come back. Try the following command on a running system: sysctl kern.cam.da.retry_count=3D100 This will allow for about 25 seconds worth of retries (a selection attempt takes 250ms, so you'll get about 4 retries per second). If this doesn't work, try configuring VMWare to give you a serial console that you can capture on the host, then set bootverbose during boot and send me the log once the problem happens. Scott From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 18 11:06:56 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 EF4DB1065677 for ; Mon, 18 Aug 2008 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E87778FC23 for ; Mon, 18 Aug 2008 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7IB6uHm079939 for ; Mon, 18 Aug 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7IB6u4p079935 for freebsd-scsi@FreeBSD.org; Mon, 18 Aug 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Aug 2008 11:06:56 GMT Message-Id: <200808181106.m7IB6u4p079935@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org 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: Mon, 18 Aug 2008 11:06:57 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/40895 scsi wierd kernel / device driver bug o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/60598 scsi wire down of scsi devices conflicts with config o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/120487 scsi [sg] scsi_sg incompatible with scanners o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o kern/123674 scsi [ahc] ahc driver dumping 10 problems total. From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 20 22:14:36 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 086DC1065671 for ; Wed, 20 Aug 2008 22:14:36 +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 DD4998FC15 for ; Wed, 20 Aug 2008 22:14:35 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 4FEA31A90DE; Wed, 20 Aug 2008 15:06:43 -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 SfUfQJW-nls9; Wed, 20 Aug 2008 15:06:43 -0700 (PDT) Received: from [10.0.0.40] (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 07CCA1A90CF; Wed, 20 Aug 2008 15:06:43 -0700 (PDT) Message-ID: <48AC974B.2020203@miralink.com> Date: Wed, 20 Aug 2008 15:14:35 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: RELENG_6 patch for MPT 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: Wed, 20 Aug 2008 22:14:36 -0000 Hmmm...RELENG_6 looks like it has a locking issue at this time. The patch below removes the panic due to dead lock, but I'm not sure how safe it is. Index: /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/mpt/mpt_user.c =================================================================== --- /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/mpt/mpt_user.c (revision 5657) +++ /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/mpt/mpt_user.c (revision 5761) @@ -106,15 +106,13 @@ mpt_user_attach(struct mpt_softc *mpt) { mpt_handler_t handler; int error, unit; - MPT_LOCK(mpt); handler.reply_handler = mpt_user_reply_handler; error = mpt_register_handler(mpt, MPT_HANDLER_REPLY, handler, &user_handler_id); - MPT_UNLOCK(mpt); if (error != 0) { mpt_prt(mpt, "Unable to register user handler!\n"); return (error); } unit = device_get_unit(mpt->dev); -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 21 00:23:56 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 E99541065671 for ; Thu, 21 Aug 2008 00:23:56 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id A339B8FC13 for ; Thu, 21 Aug 2008 00:23:56 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id m7L0NrlI044532; Wed, 20 Aug 2008 18:23:53 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48ACB599.8040603@samsco.org> Date: Wed, 20 Aug 2008 18:23:53 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Sean Bruno References: <48AC974B.2020203@miralink.com> In-Reply-To: <48AC974B.2020203@miralink.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: RELENG_6 patch for MPT 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: Thu, 21 Aug 2008 00:23:57 -0000 Sean Bruno wrote: > Hmmm...RELENG_6 looks like it has a locking issue at this time. > > The patch below removes the panic due to dead lock, but I'm not sure > how safe it is. > > > Index: /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/mpt/mpt_user.c > =================================================================== > --- /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/mpt/mpt_user.c > (revision 5657) > +++ /trunk/src/ankeny/src/FreeBSD_RELENG6/sys/dev/mpt/mpt_user.c > (revision 5761) > @@ -106,15 +106,13 @@ > mpt_user_attach(struct mpt_softc *mpt) > { > mpt_handler_t handler; > int error, unit; > > - MPT_LOCK(mpt); > handler.reply_handler = mpt_user_reply_handler; > error = mpt_register_handler(mpt, MPT_HANDLER_REPLY, handler, > &user_handler_id); > - MPT_UNLOCK(mpt); > if (error != 0) { > mpt_prt(mpt, "Unable to register user handler!\n"); > return (error); > } > unit = device_get_unit(mpt->dev); > I think this is fine to commit. I fixed it differently in FreeBSD7, but there's real locking there and enough differences to make it hard to directly compare. Go ahead and check it in, if you want. Scott From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 21 00:26:26 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 CE034106564A for ; Thu, 21 Aug 2008 00:26:26 +0000 (UTC) (envelope-from bob@immure.com) Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5388FC20 for ; Thu, 21 Aug 2008 00:26:26 +0000 (UTC) (envelope-from bob@immure.com) Received: from rancor.immure.com (rancor.immure.com [10.1.132.9]) by maul.immure.com (8.14.2/8.14.2) with ESMTP id m7L0BO6x079418 for ; Wed, 20 Aug 2008 19:11:24 -0500 (CDT) (envelope-from bob@immure.com) Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.14.2/8.14.2) with ESMTP id m7L0BOsp076130 for ; Wed, 20 Aug 2008 19:11:24 -0500 (CDT) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.2/8.13.8/Submit) id m7L0BO8d076129 for freebsd-scsi@freebsd.org; Wed, 20 Aug 2008 19:11:24 -0500 (CDT) (envelope-from bob) Date: Wed, 20 Aug 2008 19:11:24 -0500 From: Bob Willcox To: freebsd-scsi@freebsd.org Message-ID: <20080821001124.GA76080@rancor.immure.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-immure-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m7L0BO6x079418 X-immure-MailScanner: Found to be clean X-immure-MailScanner-From: bob@immure.com X-Spam-Status: No Subject: areca-cli: updating firmware X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 00:26:26 -0000 I want to update the firmware, bios, and boot code in my areca ARC-1210 raid controller and am a bit hesitant to do it for lack of any experience updating this card. I want to use the areca-cli program to do this and I see that the sys command appears to support updating the firmware (via the "sys updatefw" command), but I don't know if I can use this to update the bios and boot code as well or not. Can someone help me out on this? Also, is it ok to do this update while the system is up and using the card? Thanks, Bob -- Bob Willcox There are three ways to get something done: bob@immure.com 1: Do it yourself. Austin, TX 2: Hire someone to do it for you. 3: Forbid your kids to do it. 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; 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