Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 14:51:03 +0900 (JST)
From:      Yasunori Tada <tada@er.ams.eng.osaka-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/34747: Please add USB floppy entry
Message-ID:  <200202090551.g195p3J00599@tp02.er.ams.eng.osaka-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>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: <TEAC FD-05PUB 1026> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202090551.g195p3J00599>