From owner-freebsd-hardware Thu Feb 7 13:44:13 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id DB98E37B425; Thu, 7 Feb 2002 13:42:50 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g17LgjV01787; Thu, 7 Feb 2002 22:42:45 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) From: Oliver Fromme Message-Id: <200202072142.g17LgjV01787@lurza.secnetix.de> Subject: kern/34712 (was: USB "Memorybird" quirks) To: gene@nttmcl.com (Eugene M. Kim) Date: Thu, 7 Feb 2002 22:42:45 +0100 (CET) Cc: hardware@freebsd.org (FreeBSD Hardware Mailing List), hackers@freebsd.org (FreeBSD Hackers Mailing List) In-Reply-To: <20020207125449.A9620@alicia.nttmcl.com> from "Eugene M. Kim" at Feb 07, 2002 12:54:49 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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-hardware" in the body of the message