misc/129858: Need to add quirk to da_scsi.c to support StorCase SAN devices

Nick Triantos nick-freebsd at triantos.com
Mon Dec 22 08:00:15 PST 2008


>Number:         129858
>Category:       misc
>Synopsis:       Need to add quirk to da_scsi.c to support StorCase SAN devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 22 16:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Nick Triantos
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD bsd.triantos.com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #5: Tue Aug 19 22:58:55 PDT 2008     root at XXX.triantos.com:/usr/obj/usr/src/sys/BSD-TRIANTOS  i386
>Description:
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 fix below adds the device to the list of those which require the "NO_SYNC_CACHE" quirk.


>How-To-Repeat:
Install a StorCase SAN and watch the sys logs
>Fix:
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.

*** da_scsi.c.orig	Tue Aug 19 00:03:43 2008
--- scsi_scsi.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;



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list