lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 21 May 2007 14:42:13 +0200
From:	Tejun Heo <htejun@...il.com>
To:	Alan Cox <alan@...hat.com>
CC:	Robert de Rooy <robert.de.rooy@...il.com>,
	linux-kernel@...r.kernel.org, bzolnier@...il.com, jgarzik@...ox.com
Subject: Re: libata and legacy ide pcmcia failure

Alan Cox wrote:
> On Mon, May 21, 2007 at 01:50:48PM +0200, Tejun Heo wrote:
>>> May 20 23:02:56 localhost kernel: ata3.00: qc timeout (cmd 0xef)
>>> May 20 23:02:56 localhost kernel: ata3.00: failed to set xfermode
>>> (err_mask=0x4)
>> Hmmm... It doesn't like SETXFERMASK either.  Please try the attached patch.
> 
> The CF 1.1 command list is pretty short. Unfortunately the patch you've
> given below won't itself cure the problem as some of the newer CF cards do
> need SETXFERMASK issuing to do higher PIO modes.

Yeap, it's a debug patch.  What I was thinking was adding a HORKAGE for
the device - e.g. ATA_HORKAGE_NO_SETXFERMODE, but product ID "Memory
Card Adapter" doesn't seem too specific.

> The CFA people also didn't put the CFA version in the ident data. What might
> work sanely would be
> 
> 	if (supports_pio == only_pio0 && cfa)

OIC.  I don't really know much about these CFA thingies.  If the above
should work for most devices, no objection from me.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ