Re: [PATCH] HPA support: Revised patch

From: Chuck Ebbert
Date: Mon Apr 09 2007 - 17:55:46 EST


Alan Cox wrote:
> On Fri, 6 Apr 2007 17:37:07 +0100
> Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
>
>> On Thu, Apr 05, 2007 at 02:13:52PM +0100, Alan Cox wrote:
>>> This one should fix the problems with slave devices and the Macintosh hang
>> Better, but still not happy with ata_piix - I get the following:
>>
>> [ 10.972000] ata3.01: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = 16337840
>> [ 10.972000] ata3.01: ATA-8: FUJITSU MHW2120BH, 00810013, max UDMA/100
>> [ 10.972000] ata3.01: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32)
>> [ 10.980000] ata3.01: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = -1342616656
>> [ 10.980000] ata3.01: Host Protected Area detected:
>> [ 10.980000] current size: 234441648 sectors
>> [ 10.980000] native size: -1342616656 sectors
>> ^^^^^^^^^^^!?!?!?!?!?!?!?
>>
>> so I'm not especially keen on letting it reprogram stuff. With ahci it
>> works fine. Still on a Macbook Pro - fuller logs below.
>
> Please apply Tejun's fix for LBA48 data and try again. Hopefully its just
> that which is causing the problem.
>

This?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=4742d54fa4b391342dfb8f34de14d51da101fb39

2.6.21 fix lba48 bug in libata fill_result_tf()

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