usb/166848: Buffalo RUF2 requires quirk

Andrew Gregory andrew at scss.com.au
Wed Apr 11 15:30:14 UTC 2012


>Number:         166848
>Category:       usb
>Synopsis:       Buffalo RUF2 requires quirk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 11 15:30:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Gregory
>Release:        8.2
>Organization:
Southern Cross Software Solutions
>Environment:
FreeBSD domain-redacted 8.2-RELEASE-p6 FreeBSD 8.2-RELEASE-p6 #0: Mon Apr  9 04:53:29 UTC 2012     root at domain-redacted:/usr/local/8.2.0-BETA2/os-base/amd64/usr/local/8.2.0-BETA2/FreeBSD/src/sys/FREENAS.amd64  amd64
>Description:
I've recently built a FreeNAS 8.2.0 system using some Buffalo RUF2 Flash drives for the operating system and swap. Specifically:

http://www.buffalo-asia.com/cgi-bin/products/detail.cgi?country=ar&code=5&id=485

These reported frequent cache sync errors until I built a custom kernel with a quirk added to sys/dev/usb/quirk/usb_quirk.c. I presume a proper fix would add the VID and PID to usbdevs as well.
>How-To-Repeat:
Write to Buffalo RUF2 flash drives using FreeBSD. Many errors are reported as:

(da1:umass-sim1:1:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
(da1:umass-sim1:1:0:0): CAM status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI status: Check Condition
(da1:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
>Fix:
Line to add to usb_quirk.c:

USB_QUIRK_VP(0x13fe, 0x2240, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),

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


More information about the freebsd-usb mailing list