From owner-freebsd-bugs Fri Feb 8 22: 0:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AD79F37B41E for ; Fri, 8 Feb 2002 22:00:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g19600J52647; Fri, 8 Feb 2002 22:00:00 -0800 (PST) (envelope-from gnats) Received: from er02.ams.eng.osaka-u.ac.jp (er02.ams.eng.osaka-u.ac.jp [133.1.207.64]) by hub.freebsd.org (Postfix) with ESMTP id E4A2937B416 for ; Fri, 8 Feb 2002 21:51:04 -0800 (PST) Received: from server1.er.ams.eng.osaka-u.ac.jp (server1 [192.168.1.2]) by er02.ams.eng.osaka-u.ac.jp (8.9.3/3.7W-primary) with ESMTP id OAA28641 for ; Sat, 9 Feb 2002 14:51:03 +0900 (JST) Received: from tp02.er.ams.eng.osaka-u.ac.jp (tp02 [192.168.2.27]) by server1.er.ams.eng.osaka-u.ac.jp (8.9.3/3.7W-nomx) with ESMTP id OAA51757 for ; Sat, 9 Feb 2002 14:51:03 +0900 (JST) Received: (from tada@localhost) by tp02.er.ams.eng.osaka-u.ac.jp (8.11.6/3.7W) id g195p3J00599; Sat, 9 Feb 2002 14:51:03 +0900 (JST) Message-Id: <200202090551.g195p3J00599@tp02.er.ams.eng.osaka-u.ac.jp> Date: Sat, 9 Feb 2002 14:51:03 +0900 (JST) From: Yasunori Tada Reply-To: Yasunori Tada To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/34747: Please add USB floppy entry 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: 34747 >Category: kern >Synopsis: Please add USB floppy entry >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 08 22:00:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Yasunori Tada >Release: FreeBSD 4.5-RELEASE i386 >Organization: Dept. of Adaptive Machine Systems, Osaka Univ. >Environment: System: FreeBSD tp02 4.5-RELEASE FreeBSD 4.5-RELEASE #6: Wed Feb 6 15:07:33 JST 2002 tada@tp02:/usr/src/sys/compile/THINKPAD i386 IBM ThinkPad X22 with IBM USB floppy (FD-05PUB) >Description: I use a ThinkPad X22 with USB floppy. But I can't use this floppy, because there is no entry for one. /var/log/messages: Feb 6 12:57:55 tp02 /kernel: umass0: TEAC TEAC FD-05PUB , rev 1.00/0.00, addr 2 ...snip Feb 6 12:57:55 tp02 /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 6 12:57:55 tp02 /kernel: da0: Removable Direct Access SCSI-0 device Feb 6 12:57:55 tp02 /kernel: da0: 20KB/s transfers Feb 6 12:57:55 tp02 /kernel: da0: Attempt to query device size failed: NOT READY, Medium not present # mount -t msdos /dev/da0 /mnt /var/log/messages: Feb 6 14:39:36 tp02 /kernel: umass0: Unsupported UFI command 0x08, 6 byte command should have been converted Feb 6 14:39:36 tp02 /kernel: da0: reading primary partition table: error reading fsbn 0 Feb 6 14:39:36 tp02 /kernel: umass0: Unsupported UFI command 0x35 Feb 6 14:39:37 tp02 /kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0 >How-To-Repeat: >Fix: Please add following entry. --- /usr/src/sys/cam/scsi/scsi_da.c.org Wed Feb 6 14:29:10 2002 +++ /usr/src/sys/cam/scsi/scsi_da.c Wed Feb 6 15:07:21 2002 @@ -235,6 +235,11 @@ /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, { + /* TEAC USB floppy */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "TEAC", "FD-05PUB*","*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE + }, + { /* Another USB floppy */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "MATSHITA", "FDD CF-VFDU*","*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message