Hi, I've been trying to obtain a USB key/dongle that plays well with FreeBSD, and found it harder than I expected. In the washup, I thought that I should pass on my experiences FYI. I am running RELENG_5 on a P4 (Dell/Intel Mainboard), and following output is from this machine, however I experienced similar results on 4.8 RELEASE and 5.3 RELEASE ie devices that worked on one tended to work on all and vice versa. As this is the -stable list, I'm confining my report to RELENG_5 testing. So, without further ado, here are some devices and their log messages: (branded: OMEGA) umass0: PNY USB DISK Pro, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < USB DISK Pro PMAP> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 236MB (484352 512 byte sectors: 64H 32S/T 236C) da1 at umass-sim0 bus 0 target 0 lun 1 da1: < USB DISK Pro PMAP> Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: 1MB (2880 512 byte sectors: 64H 32S/T 1C) umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da1:umass-sim0:0:0:1): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da1:umass-sim0:0:0:1): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Phase Error, residue = 0 (da1:umass-sim0:0:0:1): Synchronize cache failed, status == 0x4, scsi status == 0x0 (branded: KingMAX) Jul 27 10:37:26 P4Machine kernel: umass0: USB Flash Disk, rev 2.00/2.00, addr 2 Jul 27 10:37:26 P4Machine kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 27 10:37:26 P4Machine kernel: da0: <KINGMAX USB Flash Disk 2.00> Removable Direct Access SCSI-2 device Jul 27 10:37:26 P4Machine kernel: da0: 1.000MB/s transfers Jul 27 10:37:26 P4Machine kernel: da0: Attempt to query device size failed: UNIT ATTENTION, Not ready to ready change, Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retries Exhausted Jul 27 10:37:26 P4Machine kernel: Opened disk da0 -> 6 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Jul 27 10:37:26 P4Machine kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 <and so on, for a bit longer...> (branded: M-Disk. Switchable between HDD and FDD mode, in FDD mode here) umass0: Generic USB Flash Disk, rev 1.10/3.2c, addr 2 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Generic USB Flash Disk 0.0A> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 1MB (2880 512 byte sectors: 64H 32S/T 1C) (branded: M-Disk. Switchable between HDD and FDD mode, in HDD mode here) Jul 28 14:37:51 P4Machine kernel: umass0: Generic USB Flash Disk, rev 1.10/3.2c, addr 2 Jul 28 14:37:51 P4Machine kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 28 14:37:51 P4Machine kernel: da0: <Generic USB Flash Disk 0.0A> Removable Direct Access SCSI-0 device Jul 28 14:37:51 P4Machine kernel: da0: 1.000MB/s transfers Jul 28 14:37:51 P4Machine kernel: da0: 29MB (61120 512 byte sectors: 64H 32S/T 29C) Jul 28 14:37:51 P4Machine kernel: da1 at umass-sim0 bus 0 target 0 lun 1 Jul 28 14:37:51 P4Machine kernel: da1: <Generic USB Flash Disk 0.0A> Removable Direct Access SCSI-0 device Jul 28 14:37:51 P4Machine kernel: da1: 1.000MB/s transfers Jul 28 14:37:51 P4Machine kernel: da1: 1MB (2880 512 byte sectors: 64H 32S/T 1C) This one was curious - ironically, situation was reversed for P3/5.3 RELEASE machine! Finally, some winners: (branded: Dell) umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <LEXAR DIGITAL FILM /W1.> Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 123MB (251904 512 byte sectors: 64H 32S/T 123C) (branded: Shintaro) Jul 29 09:37:06 P4Machine kernel: uhub4: Prolific Technology Inc. USB Embedded Hub, class 9/0, rev 2.00/1.00, addr 2 Jul 29 09:37:06 P4Machine kernel: uhub4: 1 port with 0 removable, self powered Jul 29 09:37:07 P4Machine kernel: umass0: Prolific Technology Inc. USB Mass Storage Device, rev 2.00/1.00, addr 3 Jul 29 09:37:07 P4Machine kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 29 09:37:07 P4Machine kernel: da0: <USB 2.0 Flash Disk 1.00> Removable Direct Access SCSI-0 device Jul 29 09:37:07 P4Machine kernel: da0: 1.000MB/s transfers Jul 29 09:37:07 P4Machine kernel: da0: 124MB (253952 512 byte sectors: 64H 32S/T 124C) (branded: Shintaro, but this time 256mb) Jul 29 12:37:55 P4Machine kernel: umass0: at uhub2 port 2 (addr 2) disconnected Jul 29 12:37:55 P4Machine kernel: (da0:umass-sim0:0:0:0): lost device Jul 29 12:37:55 P4Machine kernel: (da0:umass-sim0:0:0:0): removing device entry Jul 29 12:37:55 P4Machine kernel: umass0: detached Jul 29 12:38:02 P4Machine kernel: uhub4: Prolific Technology Inc. USB Embedded Hub, class 9/0, rev 2.00/1.00, addr 2 Jul 29 12:38:02 P4Machine kernel: uhub4: 1 port with 0 removable, self powered Jul 29 12:38:03 P4Machine kernel: umass0: Prolific Technology Inc. USB Mass Storage Device, rev 2.00/1.00, addr 3 Jul 29 12:38:03 P4Machine kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 29 12:38:03 P4Machine kernel: da0: <USB 2.0 Flash Disk 1.00> Removable Direct Access SCSI-0 device Jul 29 12:38:03 P4Machine kernel: da0: 1.000MB/s transfers Jul 29 12:38:03 P4Machine kernel: da0: 248MB (507904 512 byte sectors: 64H 32S/T 248C) (branded: MyFlash) Jul 27 10:24:42 P4Machine kernel: umass0: USBest Technology USB Mass Storage Device, rev 2.00/1.00, addr 2 Jul 27 10:24:42 P4Machine kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 27 10:24:42 P4Machine kernel: da0: <USB 2.0 Flash Disk 0.00> Removable Direct Access SCSI-2 device Jul 27 10:24:42 P4Machine kernel: da0: 1.000MB/s transfers Jul 27 10:24:42 P4Machine kernel: da0: 992MB (2031616 512 byte sectors: 64H 32S/T 992C) (branded: no brand, but cute Christmas logo and packaged in what appears to be a rubber case) Jul 27 10:31:20 P4Machine kernel: umass1: USBest Technology USB Mass Storage Device, rev 2.00/1.00, addr 2 Jul 27 10:31:20 P4Machine kernel: da1 at umass-sim1 bus 1 target 0 lun 0 Jul 27 10:31:20 P4Machine kernel: da1: <USB 2.0 Flash Disk 0.00> Removable Direct Access SCSI-2 device Jul 27 10:31:20 P4Machine kernel: da1: 1.000MB/s transfers Jul 27 10:31:20 P4Machine kernel: da1: 125MB (256000 512 byte sectors: 64H 32S/T 125C) I hope all this is helpful! -- Joel Hatton -- Security Analyst | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au