HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread 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, eUSBCompact*,
 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, 

Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread Bruce M Simpson
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread Nate Lawson
On Fri, 22 Aug 2003, Bruce M Simpson wrote:
 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?

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.

The problem is that a lot of these quirks were added with no documentation
and a cut/paste of both NO_6_BYTE and NO_SYNCHRONIZE_CACHE quirks even
though only one of them was needed.  Now that no USB devices should
receive a 6 byte command, that only leaves the NO_SYNCHRONIZE_CACHE
quirks.  I am temporarily disabling them to flush out which ones are
REALLY needed.  They have been disabled since 2003/07/29 and 2003/08/07
for -current and -stable, respectively.  I have had 0 messages saying that
anything was broken by this.

-Nate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread Peter Radcliffe
Nate Lawson [EMAIL PROTECTED] 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[EMAIL PROTECTED] [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread twq
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, eUSBCompact*,
  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
 },
 {
 /*
 

Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread Kevin Oberman
 Date: Fri, 22 Aug 2003 00:20:55 -0700 (PDT)
 From: Nate Lawson [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 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,

As previously reported, the MuVo definitely requires both
DA_Q_NO_SYNC_CACHE and DA_Q_NO_PREVENT. On the up-side, my Apacer
HandyDrive now just works. No quirks needed.

Thanks!
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread John Baldwin

On 22-Aug-2003 Nate Lawson wrote:
 On Fri, 22 Aug 2003, Bruce M Simpson wrote:
 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?
 
 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.
 
 The problem is that a lot of these quirks were added with no documentation
 and a cut/paste of both NO_6_BYTE and NO_SYNCHRONIZE_CACHE quirks even
 though only one of them was needed.  Now that no USB devices should
 receive a 6 byte command, that only leaves the NO_SYNCHRONIZE_CACHE
 quirks.  I am temporarily disabling them to flush out which ones are
 REALLY needed.  They have been disabled since 2003/07/29 and 2003/08/07
 for -current and -stable, respectively.  I have had 0 messages saying that
 anything was broken by this.

Check the umass(4) standard.  The UFI USB transports does not support
SYNC_CACHE.  You should be able to pass that quirk back up to da(4)
from umass(4) for all UFI devices just like you do with the NO_6 right
now.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

2003-08-22 Thread Peter Radcliffe
Peter Radcliffe [EMAIL PROTECTED] probably said:
 The problem I'm having with it is trying to write the 4.8-REL-p3
 kernel floppy image to a floppy.
 
 With the USB drive the resulting floppy barfs trying to load the
 kernel (repeatedly, with various different floppies and trying to boot
 in various different drives). If I dd the same image with a
 traditional floppy drive the resultant floppy works fine.

This, unfortunately, seems to be a more general problem since building
a kernel with option DA_OLD_QUIRKS set didn't fix it.

P.

-- 
pir[EMAIL PROTECTED] [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]