| Summary: | KingByte USB Pen Drive doesn't work with FreeBSD | ||
|---|---|---|---|
| Product: | Base System | Reporter: | gene <gene> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Committed. Thanks! |
Any program that tries to read/write data from/to KingByte Pen Drives will hang in a non-killable state. This is because Pen Drives, like some other flash-based drives, don't support 6-byte SCSI READ commands. Fix: Add the following quirk entry to src/sys/cam/scsi/scsi_da.c: { /* * KingByte Pen Drives * do not support READ_6 commands, only READ_10. */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, How-To-Repeat: Access the Pen Drive using programs like dd(1) as in: dd if=/dev/da0 of=/dev/null count=1