Re: AMD 780G chipset major issues 1/3 (ata, ataati)

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Wed, 8 Apr 2009 12:56:37 -0400
On Wednesday 08 April 2009 07:24 am, Diego Depaoli wrote:
> On Tue, Apr 7, 2009 at 11:57 PM, Jung-uk Kim <jkim_at_freebsd.org> 
wrote:
> > I have a similar board and it seems to share the broken ACPI
> > DSDT.
>
> At this point I consider acpi's issues very minor issues.
> The hard reality is than I can't install and run FreeBSD out of the
> box on such board bought in the last five years (and I do not ever
> buy products just released on the market).

These days ACPI does a lot more than you may think. ;-) Actually, the 
BIOS writer *tried* to configure SATA controller modes differently 
depending on BIOS options you have selected when DSDT is loaded but 
that is one of the things ignored if my assumption was correct, i.e., 
sharing broken DSDT.  Try dumping DSDT and see it for yourself.  You 
may see something like this:

    Device (SATA)
    {
        Name (_ADR, 0x00110000)
        If (LEqual (STCL, 0x0101)) <--- "executable at module level"
        {
...                                <--- This entire block is ignored!
        }
    }

Within the block, it sets PCI BARs and stuff for atapci0 and enables 
its channels via _STA methods.  Without the south bridge 
documentation[1], we cannot do anything to mimic what it does from 
ataati(4).

Jung-uk Kim

[1] The situation may change in the future, though:

http://forums.amd.com/devforum/messageview.cfm?catid=203&threadid=110538
Received on Wed Apr 08 2009 - 14:57:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC