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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to