Skip to contentSkip to conversation

NO_RETURN_VALUE w/ 20040715

DISCUSSION Alex Williamson 1 participant 1 message Aug 20, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

I've got one more new error going on with the new ACPI. On bootup of
an hp rx8620 (sx1000 based ia64 system), I'm now getting a number of these:

dswstate-0273 [18] ds_result_pop_from_bot: No result objects! State=e000072000095030
dsutils-0526 [18] ds_create_operand : Missing or null operand, AE_AML_NO_RETURN_VALUE
psparse-1133: *** Error: Method execution failed [\_SB_.N000.S000.IOC0.L000.SSTA] (Node e0000703fef6d730), AE_AML_NO_RETURN_VALUE
psparse-1133: *** Error: Method execution failed [\_SB_.N000.S000.IOC0.L000.SBF0._STA] (Node e0000703fef6f130), AE_AML_NO_RETURN_VALUE
uteval-0158: *** Error: Method execution failed [\_SB_.N000.S000.IOC0.L000.SBF0._STA] (Node e0000703fef6f130), AE_AML_NO_RETURN_VALUE

This did not happen w/ the previous ACPI code so I'd like to get a feel
for whether this looks like an interpreter bug or an AML bug. The
disassembled DSDT for the _STA and SSTA methods is below. Looks to me like there's no way out of the SSTA method w/o a return, but then I don't really know AML. I can provide the entire DSDT if this isn't sufficient. Thanks,

Alex

Method (SSTA, 0, NotSerialized)

{
    Acquire (MCTX, 0xFFFF)
    Store (0x0F, CSTS)
    If (LNot (LEqual (PRES (), Ones)))
    {
        Store (0x00, CSTS)
        Release (MCTX)
        Return (ToInteger (CSTS, Local0))
    }
    If (LNot (LEqual (PCHK (), Ones)))
    {
         Store (0x00, GOOD)
         Store (0x00, LIVE)
         Store (0x00, SEEN)
         Release (MCTX)
         Return (ToInteger (CSTS, Local0))
    }
    If (LEqual (RC, 0x00))
    {
        Store (BSTR, Local0)
    }
    Else
    {
        Store (0x00, Local0)
    }
    If (LEqual (Local0, 0x00))
    {
        Store (0x01, GOOD)
    }
    Release (MCTX)
    Return (ToInteger (CSTS, Local0))
}
...
Device (SBF0)
{
    ...
    Method (_STA, 0, NotSerialized)
    {
        Return (^^SSTA ())
    }
}
Signature · 9 lines
Alex Williamson                             HP Linux & Open Source Lab



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285