Call for testers: Apple ATA DMA

Marco Trillo marcotrillo at gmail.com
Mon Sep 22 22:49:40 UTC 2008


Hi,

On Tue, Sep 23, 2008 at 12:13 AM, Maxim Sobolev <sobomax at freebsd.org> wrote:
>>> I was able to "fix" the problem by making ata_macio probe function
>>> returning ENXIO always. My guess is that ATA chipset on this machine is
>>> somehow accessible through two different buses (macio and pci), which
>>> creates some weird conflicts, but I might be wrong. Hopefully you will have
>>> better idea, I can provide any assistance needed to fix the issue properly.
>>> See 342.png screenshot. Dmesg with hacked ata_macio is as follows:
>>
>> Interesting -- it looks like all the interrupts are arriving on the second
>> (DBDMA) IRQ. Could you try setting USE_DBDMA_IRQ to 0 in ata_macio.c and
>> re-enabling ata_macio? There is something funny with how these interrupts
>> are triggered currently and they can set off interrupt storms like this.
>
> I've done that, but it has not changed anything. I still see interrupt storm
> on irq 12.

Try deleting the USE_DBDMA_IRQ definition line from ata_macio.c
instead of just defining it to 0, so the "ifdef USE_DBDMA_IRQ" stuff
is not compiled.

Hope that helps,
Marco.


More information about the freebsd-ppc mailing list