Date: Thu, 7 Feb 2002 22:42:45 +0100 (CET) From: Oliver Fromme <oliver.fromme@secnetix.de> To: gene@nttmcl.com (Eugene M. Kim) Cc: hardware@freebsd.org (FreeBSD Hardware Mailing List), hackers@freebsd.org (FreeBSD Hackers Mailing List) Subject: kern/34712 (was: USB "Memorybird" quirks) Message-ID: <200202072142.g17LgjV01787@lurza.secnetix.de> In-Reply-To: <20020207125449.A9620@alicia.nttmcl.com> from "Eugene M. Kim" at Feb 07, 2002 12:54:49 PM
next in thread | previous in thread | raw e-mail | index | archive | help
Eugene M. Kim wrote: > This is a common problem of most umass devices that implements BBB > protocol, and arises from the fact that those devices don't understand > the 6-byte SCSI READ command. You can add a quirk entry to > src/sys/cam/scsi_da.c (refer to quirk entries that have DA_Q_NO_6_BYTE). Thankyou very much! It works. Very cool indeed. # mount -t msdos /dev/da2s1 /mnt # df -k /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da2s1 63718 4 63714 0% /mnt This is with the following patch applied to 4.5-RELEASE: --- src/sys/cam/scsi/scsi_da.c.orig Mon Jan 14 10:25:43 2002 +++ src/sys/cam/scsi/scsi_da.c Thu Feb 7 22:07:33 2002 @@ -345,6 +345,14 @@ */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "DIVA USB", "Media Reader","*"}, /*quirks*/ DA_Q_NO_6_BYTE + }, + { + /* + * Fujitsu-Siemens Memorybird. + * Doesn't work correctly with 6 byte reads/writes. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Fujitsu", "Memorybird", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE } }; I've submitted a PR accordingly, it's kern/34712. Can someone please commit it? Thanks! Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202072142.g17LgjV01787>