RE: NO_RETURN_VALUE w/ 20040715

From: Moore, Robert <hidden>
Date: 2004-08-20 20:31:58

The error occurred *during* the execution of SSTA, therefore one of the
methods called by SSTA is not returning a value.

psparse-1133: *** Error: Method execution failed
[\_SB_.N000.S000.IOC0.L000.SSTA] (Node e0000703fef6d730),
AE_AML_NO_RETURN_VALUE

Take a look at
PRES ()
PCHK ()

Please send the original (binary) DSDT

Bob

-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Alex Williamson
Sent: Friday, August 20, 2004 1:12 PM
To: acpi-devel
Subject: [ACPI] NO_RETURN_VALUE w/ 20040715


   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 ())
    }
}

--
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
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help