From owner-freebsd-bugs Thu Oct 3 19:40:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2795837B401 for ; Thu, 3 Oct 2002 19:40:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E89143E6A for ; Thu, 3 Oct 2002 19:40:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g942e7Co026570 for ; Thu, 3 Oct 2002 19:40:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g942e7b2026569; Thu, 3 Oct 2002 19:40:07 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17D4D37B401 for ; Thu, 3 Oct 2002 19:34:56 -0700 (PDT) Received: from mail.kristal.ru (mail.kristal.ru [195.161.155.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01D7F43E42 for ; Thu, 3 Oct 2002 19:34:55 -0700 (PDT) (envelope-from ivk@kristal.ru) Received: by mail.kristal.ru (Postfix, from userid 1000) id CFB511B2; Fri, 4 Oct 2002 12:34:47 +1000 (YAKST) Message-Id: <20021004023447.CFB511B2@mail.kristal.ru> Date: Fri, 4 Oct 2002 12:34:47 +1000 (YAKST) From: Igor Kulemzin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/43649: QUIRK: USB drive (kern/37322) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 >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