Re: Odd ada(4) failures when trying using USB scanner

From: Michael Reifenberger <mike_at_reifenberger.com>
Date: Wed, 3 Feb 2010 22:38:05 +0100 (CET)
On Wed, 3 Feb 2010, Alexander Motin wrote:
...
>>> I would say that scanner application tries to probe all CAM devices,
>>> looking for scanner. While doing it, it uses SCSI/ATAPI commands with
>>> odd-sized transfer sizes. It causes errors from ata(4) and triggers bug
>>> in IXP700 AHCI controller. Odd-sized requests are generally not
>>> supported by ATA/SATA. Second problem is in work now.
>>
>> Could odd-sized commands be prohibited/ignored by the driver then?
>
> I've recently committed patch to 9-CURRENT, that should block sending of
> SCSI commands to non-ATAPI devices. That should fix your problem.

I'm currently running HEAD _at_ r203376 and it fixed my problem already.

Thanks for your work!

Bye/2
---
Michael Reifenberger
Michael_at_Reifenberger.com
http://www.Reifenberger.com
Received on Wed Feb 03 2010 - 20:38:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC