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

Jung-uk Kim jkim at FreeBSD.org
Wed Apr 8 09:57:28 PDT 2009


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


More information about the freebsd-current mailing list