misc/153599: Feiya Elango USB MicroSD reader synchronize cache quirk
CyberLeo
cyberleo at cyberleo.net
Sat Jan 1 16:00:21 UTC 2011
>Number: 153599
>Category: misc
>Synopsis: Feiya Elango USB MicroSD reader synchronize cache quirk
>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: Sat Jan 01 16:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: CyberLeo
>Release: 8.2-RC1
>Organization:
CyberLeo.Net
>Environment:
FreeBSD albanew.cyberleo.net 8.2-RC1 FreeBSD 8.2-RC1 #0 r216852+4500366: Sat Jan 1 05:20:15 UTC 2011 cyberleo at albanew.cyberleo.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
A Feyia Elango USB2.0 MicroSDHC reader, when attached to a FreeBSD machine, spills this into the kernel log:
ugen0.2: <vendor 0x067b> at usbus0
uplcom0: <vendor 0x067b product 0x2303, class 0/0, rev 1.10/2.02, addr 2> on usbus0
umass0:10:0:-1: Attached to scbus10
Trying to mount root from zfs:alba/root
da0 at umass-sim0 bus 0 scbus10 target 0 lun 0
da0: <Generic USB SD Reader 1.00> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 59MB (122624 512 byte sectors: 64H 32S/T 59C)
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): SCSI sense: Error code 0x52
(da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): SCSI sense: Error code 0x52
..
followed by 11 more of the same error.
Included patch silences the errors.
>How-To-Repeat:
>Fix:
Date: Sat, 1 Jan 2011 03:56:16 +0000
Subject: [PATCH] [CDN-Patch] Add Feiya Elango no_synchronize_cache quirk
---
sys/dev/usb/quirk/usb_quirk.c | 1 +
sys/dev/usb/usbdevs | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c
index 6691538..d24ae71 100644
--- a/sys/dev/usb/quirk/usb_quirk.c
+++ b/sys/dev/usb/quirk/usb_quirk.c
@@ -458,6 +458,7 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = {
USB_QUIRK(CHIPSBANK, USBMEMSTICK, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),
USB_QUIRK(CHIPSBANK, USBMEMSTICK1, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),
USB_QUIRK(NEWLINK, USB2IDEBRIDGE, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),
+ USB_QUIRK(FEIYA, ELANGO, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),
};
#undef USB_QUIRK_VP
#undef USB_QUIRK
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 46cf139..6af5b26 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1563,6 +1563,7 @@ product EXTENDED XTNDACCESS 0x0100 XTNDAccess IrDA
/* FEIYA products */
product FEIYA 5IN1 0x1132 5-in-1 Card Reader
+product FEIYA ELANGO 0x6200 MicroSDHC Card Reader
/* Fiberline */
product FIBERLINE WL430U 0x6003 WL-430U
--
1.7.3.3
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list