From owner-freebsd-bugs Sun Mar 23 13:50:16 2003 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 3DC9237B404 for ; Sun, 23 Mar 2003 13:50:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE32243FBF for ; Sun, 23 Mar 2003 13:50:10 -0800 (PST) (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 h2NLoANS089556 for ; Sun, 23 Mar 2003 13:50:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2NLoANm089555; Sun, 23 Mar 2003 13:50:10 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F219C37B407 for ; Sun, 23 Mar 2003 13:44:21 -0800 (PST) Received: from hope.caffeinated-systems.com (hope.caffeinated-systems.com [209.98.4.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 075D143FA3 for ; Sun, 23 Mar 2003 13:44:20 -0800 (PST) (envelope-from jon@caffeinated-systems.com) Received: by hope.caffeinated-systems.com (Postfix, from userid 1003) id C41344D911; Sun, 23 Mar 2003 15:22:36 -0600 (CST) Message-Id: <20030323212236.C41344D911@hope.caffeinated-systems.com> Date: Sun, 23 Mar 2003 15:22:36 -0600 (CST) From: Jon Passki Reply-To: Jon Passki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/50226: QUIRK: MITSUMI USB FDD 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: 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: 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