If you have any of the devices listed below, please test with a recent -stable or -current. They will stop working in 4.9 and 5.2 although old behavior can _temporarily_ be enabled by adding "options DA_OLD_QUIRKS" to your kernel config. If I don't hear from anyone, they'll be going away permanently after the releases. -Nate #ifdef DA_OLD_QUIRKS /* Below a list of quirks for USB devices supported by umass. */ { /* * This USB floppy drive uses the UFI command set. This * command set is a derivative of the ATAPI command set and * does not support READ_6 commands only READ_10. It also does * not support sync cache (0x35). */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Y-E DATA", "USB-FDU", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* Another USB floppy */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "MATSHITA", "FDD CF-VFDU*","*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Sony Memory Stick adapter MSAC-US1 and * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01). * Make all sony MS* products use this quirk. */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "MS*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Sony Memory Stick adapter for the CLIE series * of PalmOS PDA's */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "CLIE*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Intelligent Stick USB disk-on-key * PR: kern/53005 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB Card", "IntelligentStick*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Sony DSC cameras (DSC-S30, DSC-S50, DSC-S70) */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Microtech USB CameraMate */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "eUSB Compact*", "Compact Flash*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * The vendor, product and version strings coming from the * controller are null terminated instead of being padded with * spaces. The trailing wildcard character '*' is required. */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Olympus digital cameras (C-3040ZOOM, C-2040ZOOM, C-1) */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "C-*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Olympus digital cameras (E-100RS, E-10). */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "E-*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * KingByte Pen Drives */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * FujiFilm Camera */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "FUJIFILMUSB-DRIVEUNIT", "USB-DRIVEUNIT", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Minolta Dimage E203 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DiMAGE E203", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Apacer HandyDrive * PR: kern/43627 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Apacer", "HandyDrive", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Daisy Technology PhotoClip on Zoran chip * PR: kern/43580 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "ZORAN", "COACH", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * Sony USB Key-Storage * PR: kern/46386 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Storage Media", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { /* * SmartDisk (Mitsumi) USB floppy drive * PR: kern/50226 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "MITSUMI", "USB FDD", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, #endif /* DA_OLD_QUIRKS */
On Fri, Aug 22, 2003 at 12:20:55AM -0700, Nate Lawson wrote:> If you have any of the devices listed below, please test with a recent > -stable or -current. They will stop working in 4.9 and 5.2 although old > behavior can _temporarily_ be enabled by adding "options DA_OLD_QUIRKS" to > your kernel config. If I don't hear from anyone, they'll be going away > permanently after the releases.The Y-E 'Flashbuster' floppy is a fairly common device. It is often sold with Sony Vaio notebooks. There is legacy BIOS boot support, but how will people use a fixit floppy once the kernel has booted? BMS
Nate Lawson <nate@root.org> probably said:> If you have any of the devices listed below, please test with a recent > -stable or -current. They will stop working in 4.9 and 5.2 although old > behavior can _temporarily_ be enabled by adding "options DA_OLD_QUIRKS" to > your kernel config. If I don't hear from anyone, they'll be going away > permanently after the releases.I'm running -stable as of August 18th (without DA_OLD_QUIRKS) and trying to use my usb floppy drive gives me; (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0 P.> /* > * This USB floppy drive uses the UFI command set. This > * command set is a derivative of the ATAPI command set and > * does not support READ_6 commands only READ_10. It also does > * not support sync cache (0x35). > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Y-E DATA", "USB-FDU", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE-- pir pir-sig@pir.net pir-sig@net.tufts.edu
On Fri, 22 Aug 2003, Peter Radcliffe wrote:> Nate Lawson <nate@root.org> probably said: > > Sure it's common. But no one has mentioned that it really needs the > > NO_SYNC_CACHE quirk. So unless I hear otherwise, I will assume it doesn't > > need the quirk and it will continue to work fine. > > It appears to need it; > > umass0: Unsupported UFI command 0x35 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, > scsi status == 0x0Unless that causes an actual problem (i.e. crash, data loss), it is not necessary to have a quirk for it. There are two kinds of "unsupported" commands: those that cause the device to hang or crash and those that successfully reject commands they don't want with the proper return value. Quirks will only be added for the former. Try to mount/unmount it a few times and see if there really is a problem. zzz, -Nate
I have a Sony Microvault that never worked, if this is related to the quirks or not is beyond me to say so apologies if this post lacks relevance. It gets detected by umass (i have been told that the max lun error is ok) Aug 22 09:48:55 rollo /kernel: umass0: Sony USB Storage Media, rev 1.10/2.00, addr 4 Aug 22 09:48:55 rollo /kernel: umass0: Get Max Lun not supported (SHORT_XFER) It also shows up using usbdevs -vw, but it never gets attached to da0! The only other "scsidevice" is a ide cd-r running under atapicam. That works. Aug 22 08:33:36 rollo /kernel: acd0: CD-RW <SONY CD-RW CRX160E> at ata0-master PIO4 Aug 22 08:33:36 rollo /kernel: cd0 at ata0 bus 0 target 0 lun 0 Aug 22 08:33:36 rollo /kernel: cd0: <SONY CD-RW CRX160E 1.0e> Removable CD-ROM SCSI-0 device Aug 22 08:33:36 rollo /kernel: cd0: 16.000MB/s transfers Im running FreeBSD 4.8-STABLE #22: Sat Aug 9 and the microvault unit works on other os's. Any pointers would be much appreciated! // Martin Gumucio Fre 2003-08-22 klockan 07.20 skrev Nate Lawson:> If you have any of the devices listed below, please test with a recent > -stable or -current. They will stop working in 4.9 and 5.2 although old > behavior can _temporarily_ be enabled by adding "options DA_OLD_QUIRKS" to > your kernel config. If I don't hear from anyone, they'll be going away > permanently after the releases. > > -Nate > > > #ifdef DA_OLD_QUIRKS > /* Below a list of quirks for USB devices supported by umass. */ > { > /* > * This USB floppy drive uses the UFI command set. This > * command set is a derivative of the ATAPI command set and > * does not support READ_6 commands only READ_10. It also does > * not support sync cache (0x35). > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Y-E DATA", "USB-FDU", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* Another USB floppy */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MATSHITA", "FDD CF-VFDU*","*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Sony Memory Stick adapter MSAC-US1 and > * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01). > * Make all sony MS* products use this quirk. > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "MS*", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Sony Memory Stick adapter for the CLIE series > * of PalmOS PDA's > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "CLIE*", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Intelligent Stick USB disk-on-key > * PR: kern/53005 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB Card", > "IntelligentStick*", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Sony DSC cameras (DSC-S30, DSC-S50, DSC-S70) > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Microtech USB CameraMate > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "eUSB Compact*", > "Compact Flash*", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * The vendor, product and version strings coming from the > * controller are null terminated instead of being padded with > * spaces. The trailing wildcard character '*' is required. > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Olympus digital cameras (C-3040ZOOM, C-2040ZOOM, C-1) > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "C-*", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Olympus digital cameras (E-100RS, E-10). > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "E-*", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * KingByte Pen Drives > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * FujiFilm Camera > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "FUJIFILMUSB-DRIVEUNIT", > "USB-DRIVEUNIT", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Minolta Dimage E203 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DiMAGE E203", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Apacer HandyDrive > * PR: kern/43627 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Apacer", "HandyDrive", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Daisy Technology PhotoClip on Zoran chip > * PR: kern/43580 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "ZORAN", "COACH", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * Sony USB Key-Storage > * PR: kern/46386 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Storage Media", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > /* > * SmartDisk (Mitsumi) USB floppy drive > * PR: kern/50226 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MITSUMI", "USB FDD", "*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > #endif /* DA_OLD_QUIRKS */ > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Le Ven 22 ao? 03 ? 9:20:55 +0200, Nate Lawson <nate@root.org> ?crivait?:> If you have any of the devices listed below, please test with a recent > -stable or -current. They will stop working in 4.9 and 5.2 although old > behavior can _temporarily_ be enabled by adding "options DA_OLD_QUIRKS" to > your kernel config. If I don't hear from anyone, they'll be going away > permanently after the releases.It is not directly related, but I have an USB memory stick, which works nicely on FreeBSD 5.1. A `camcontrol inquiry da0' reports: pass1: <3SYSTEM USB FLASH DISK 1.00> Removable Direct Access SCSI-2 device pass1: Serial Number pass1: 1.000MB/s transfers On 4.8-RELEASE and 4.8-STABLE, I cannot use it: when I plug it, I get these messages: umass0: 3SYSTEM USB FLASH DISK, rev 1.10/1.00, addr 2 umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry with or without "options DA_OLD_QUIRKS". -- Th. Thomas.