Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 15:34:54 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nate Lawson <nate@root.org>
Cc:        scsi@freebsd.org
Subject:   RE: PATCH: Disable 6 byte commands for USB, firewire, ATAPICAM
Message-ID:  <XFMail.20030730153454.jhb@FreeBSD.org>
In-Reply-To: <20030724183246.X42809@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-Jul-2003 Nate Lawson wrote:
> Attached is a patch that disables ever sending 6 byte commands to buses
> that do not support them.  Numerous USB devices hang when receiving a 6
> byte command.  For testing, this patch comments out the scsi_da quirks for
> devices that I believe are addressed by this patch and no longer need the
> quirk.
> 
> Please test devices such as USB keys, USB cameras, Firewire hard disks,
> and ATAPICAM cd drives to be sure they still work with this patch.
> Especially if you've needed a quirk before, it is important to see if this
> patch does not break your device.  I hope to get this into the tree early
> so there is plenty of testing before 5.2.

You should remove the 6 to 10 translation that is already in umass(4)
for UFI and ATAPI devices.  I didn't do it for SCSI devices because
the SCSI transport was supposed to work ok with 6 byte commands.  Not
all devices properly report their transport though.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030730153454.jhb>