Date: Sun, 25 Aug 2002 15:01:09 +0200 (CEST) From: wilko@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/41997: Quirk entry for scsi_da.c for USB pen drive Message-ID: <200208251301.g7PD19uT000365@freebie.xs4all.nl>
next in thread | raw e-mail | index | archive | help
>Number: 41997
>Category: kern
>Synopsis: Quirk entry for scsi_da.c for USB pen drive
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 25 06:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Wilko Bulte
>Release: FreeBSD 4-STABLE i386
>Organization:
Private FreeBSD site - The Netherlands
>Environment:
USB equipped FreeBSD machine. HP promotional 16MB USB pen drive
as given out on tradeshows
FreeBSD freebie.xs4all.nl 4.6-STABLE FreeBSD 4.6-STABLE #3: Sun Aug
25 14:34:39 CEST 2002
>Description:
Without quirk entry the kernel cannot access the USB pen drive asin:
Aug 25 14:12:35 freebie /kernel: umass0: BBB reset failed, TIMEOUT
Aug 25 14:12:40 freebie /kernel: umass0: BBB bulk-in clear stall failed,
TIMEOUT
Aug 25 14:12:45 freebie /kernel: umass0: BBB bulk-out clear stall failed,
TIMEOU
T
Aug 25 14:12:55 freebie /kernel: umass0: BBB reset failed, TIMEOUT
Aug 25 14:13:00 freebie /kernel: umass0: BBB bulk-in clear stall failed,
TIMEOUT
Aug 25 14:13:05 freebie /kernel: umass0: BBB bulk-out clear stall failed,
TIMEOU
T
>How-To-Repeat:
See above
>Fix:
Note that this device does not seem to have a Vendor ID.
--- scsi_da.c.orig Wed Jul 24 19:38:15 2002
+++ scsi_da.c Sun Aug 25 14:30:34 2002
@@ -373,7 +373,14 @@
*/
{T_DIRECT, SIP_MEDIA_REMOVABLE, "Digital", "World DMC","*"},
/*quirks*/ DA_Q_NO_6_BYTE
- }
+ },
+ {
+ /*
+ * HP promotional 16MB pen drive
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "*", "USB DISK*", "*"},
+ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+ }
};
static d_open_t daopen;
--- scsi_da.c.orig Wed Jul 24 19:38:15 2002
+++ scsi_da.c Sun Aug 25 14:30:34 2002
@@ -373,7 +373,14 @@
*/
{T_DIRECT, SIP_MEDIA_REMOVABLE, "Digital", "World DMC","*"},
/*quirks*/ DA_Q_NO_6_BYTE
- }
+ },
+ {
+ /*
+ * HP promotional 16MB pen drive
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "*", "USB DISK*", "*"},
+ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+ }
};
static d_open_t daopen;
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208251301.g7PD19uT000365>
