Date: Fri, 4 Oct 2002 12:34:47 +1000 (YAKST) From: Igor Kulemzin <ivk@kristal.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/43649: QUIRK: USB drive (kern/37322) Message-ID: <20021004023447.CFB511B2@mail.kristal.ru>
next in thread | raw e-mail | index | archive | help
>Number: 43649
>Category: kern
>Synopsis: QUIRK: USB drive (kern/37322)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 03 19:40:06 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Igor Kulemzin <ivk@kristal.ru>
>Release: FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD mail.kristal.ru 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Aug 26 11:46:57 YAKST 2002 ivk@mail.kristal.ru:/usr/obj/usr/src/sys/HOLD i386
camcontrol inquiry 0:0:0
pass0: < USB DISK 1.05> Removable Direct Access SCSI-0 device
pass0: Serial Number
pass0: 650KB/s transfers
No brand disk, without name (maybe china)
usbd -d -v:
usbd: attach event at 1033639123.015733000, product 0x0100, vendor 0x0d7d:
vndr=0x0d7d prdct=0x0100 rlse=0x0100 clss=0x0000 subclss=0x0000 prtcl=0x0000
device names: umass0
Transport type: USB
dmesg output for failed attach attempts:
umass0: USB Disk , rev 1.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DISK 1.05> Removable Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C)
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
msdos: /dev/da0s1: Input/output error
dmesg output for successful attach attempts:
umass0: USB Disk , rev 1.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DISK 1.05> Removable Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C)
Re-scan of bus 0 was successful
ivk@kristal.ru
--- scsi_da.c.orig Sat Jun 1 02:18:45 2002
+++ scsi_da.c Sun Aug 11 15:43:37 2002
@@ -317,6 +317,13 @@
{T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"},
/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
},
+ {
+ /*
+ * Nonamed USB Pen Drive
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "", "USB DISK", "*"},
+ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+ },
{
/*
* FujiFilm Camera
>Description:
>How-To-Repeat:
>Fix:
>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?20021004023447.CFB511B2>
