Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 15:22:36 -0600 (CST)
From:      Jon Passki <jon@caffeinated-systems.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/50226: QUIRK: MITSUMI USB FDD
Message-ID:  <20030323212236.C41344D911@hope.caffeinated-systems.com>

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

>Number:         50226
>Category:       kern
>Synopsis:       QUIRK: MITSUMI USB FDD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 23 13:50:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jon Passki
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Caffeinated Systems
>Environment:
System: FreeBSD hope.caffeinated-systems.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Jan 29 17:23:50 CST 2003 root@novaV2:/usr/obj/usr/src/sys/NOVAV2 i386


	
>Description:
	Mitsumi USB FDD does not support 6 byte CAM commands and syncache
>How-To-Repeat:
	Upon attempting a mount with media in drive, kernel reports errors
>Fix:

src/sys/cam/scsi/scsi_da.c,v 1.42.2.30 2002/12/20 15:20:25 yar Exp

(diff -u scsi_da.c /usr/src/sys/cam/scsi/scsi_da.c)
--- scsi_da.c   Sun Mar 23 15:05:09 2003
+++ /usr/src/sys/cam/scsi/scsi_da.c     Sun Mar 23 15:10:44 2003
@@ -240,11 +240,6 @@
                /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },
        {
-               /* Another USB floppy */
-               {T_DIRECT, SIP_MEDIA_REMOVABLE, "MITSUMI", "USB FDD*","*"},
-               /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
-       },
-       {
                /*
                 * Sony Memory Stick adapter MSAC-US1 and
                 * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01).

Info for http://www.root.org/~nate/freebsd/quirks.html
=================================
# Output of "camcontrol inquiry yourdevice"
pass0: <MITSUMI USB FDD 1039> Removable Direct Access SCSI-0 device 
pass0: 20KB/s transfers 
=================================
# Manufacturer name, model number, etc.
SmartDisk Titanium edition USB Floppy Disk Drive (from BestBuy)
=================================
# Transport type (FC, SCSI, USB, Firewire)
USB
=================================
# Output from dmesg for failed attach attempts
(mount_msdos /dev/da0 /mnt)
umass0: Unsupported UFI command 0x08, 6 byte command should have been converted
da0: reading primary partition table: error reading fsbn 0
umass0: Unsupported UFI command 0x35
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0
=================================
# Output from dmesg for successful attach attempts (after quirk added)
(mount_msdos /dev/da0 /mnt)
da0s1: slice starts beyond end of the disk: rejecting it
da0s2: slice starts beyond end of the disk: rejecting it
da0s3: slice starts beyond end of the disk: rejecting it
=================================
# Output of "usbdevs -v" with device attached
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: power 500 mA, config 1, MITSUMI USB FDD (0x6901), MITSUMI (0x03ee), rev 1.00
 port 2 powered
=================================

>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?20030323212236.C41344D911>