public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Thermal module errors
@ 2003-02-07  7:29 Darren Benham
       [not found] ` <32774.192.168.10.204.1044602945.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Darren Benham @ 2003-02-07  7:29 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I don't know if anyone's seen this but I haven't seen anything mentioned
(easily) in the list archives.  Here's the output from a kernel log when
trying to load the thermal module.  I've seen this with kernels 2.4.18,
2.4.20 , and 2.4.21pre4 (with the latest patch, which applied cleanly,
BTW).
Feb  6 23:04:37 ltdbenham kernel: dswstate-0251 [29]
ds_result_pop_from_bot: No result objects! State=c15d8828Feb  6 23:04:37 ltdbenham kernel:  dsutils-0494 [29] ds_create_operand    
: Missing or null operand, AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  dsutils-0587 [28] ds_create_operands   
: While creating Arg 1 - AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  psparse-1102: *** Error: Method
execution failed [\_TZ_.C1F1] (Node c15ede08), AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  psparse-1102: *** Error: Method
execution failed [\_TZ_.TZ1_._TMP] (Node c15ebce8), AE_AML_NO_RETURN_VALUE
Here's the .config ACPI section...

#
# ACPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_DEBUG=y

compiled with gcc 2.95.4
and glibc 2.2.5

-- 
Darren




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thermal module errors
       [not found] ` <32774.192.168.10.204.1044602945.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
@ 2003-02-07 11:29   ` Alvaro Lopes
       [not found]     ` <64330.64.164.111.5.1044640843.squirrel@benham.net>
  2003-02-07 12:12   ` Sérgio Monteiro Basto
  1 sibling, 1 reply; 5+ messages in thread
From: Alvaro Lopes @ 2003-02-07 11:29 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: dbenham-FG1iuTdj8bisTnJN9+BGXg

Darren Benham wrote:

>I don't know if anyone's seen this but I haven't seen anything mentioned
>(easily) in the list archives.  Here's the output from a kernel log when
>trying to load the thermal module.  I've seen this with kernels 2.4.18,
>2.4.20 , and 2.4.21pre4 (with the latest patch, which applied cleanly,
>BTW).
>Feb  6 23:04:37 ltdbenham kernel: dswstate-0251 [29]
>ds_result_pop_from_bot: No result objects! State=c15d8828Feb  6 23:04:37 ltdbenham kernel:  dsutils-0494 [29] ds_create_operand    
>: Missing or null operand, AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  dsutils-0587 [28] ds_create_operands   
>: While creating Arg 1 - AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  psparse-1102: *** Error: Method
>execution failed [\_TZ_.C1F1] (Node c15ede08), AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  psparse-1102: *** Error: Method
>execution failed [\_TZ_.TZ1_._TMP] (Node c15ebce8), AE_AML_NO_RETURN_VALUE
>
>  
>
There's a problem with your DSDT. Can you sent it to this list ? I 
believe there's already a DSTD patch for your compaq or a similar one.

Install the Intel iasl package (you can find it at 
http://www.intel.com/technology/iapc/acpi/downloads.htm )  and do a 
'iasl -d /proc/acpi/dsdt'. Send here the results, please.

Álvaro

-- 

Álvaro Lopes 
---------------------
A .sig is just a .sig




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thermal module errors
       [not found] ` <32774.192.168.10.204.1044602945.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
  2003-02-07 11:29   ` Alvaro Lopes
@ 2003-02-07 12:12   ` Sérgio Monteiro Basto
  1 sibling, 0 replies; 5+ messages in thread
From: Sérgio Monteiro Basto @ 2003-02-07 12:12 UTC (permalink / raw)
  To: Darren Benham; +Cc: acpi-devel

>From what I know, shouldn't use modules, compiling with kernel have
better results.
so should be everything Y except CONFIG_ACPI_HT_ONLY and
CONFIG_ACPI_TOSHIBA that should be N


On Fri, 2003-02-07 at 07:29, Darren Benham wrote:
> I don't know if anyone's seen this but I haven't seen anything mentioned
> (easily) in the list archives.  Here's the output from a kernel log when
> trying to load the thermal module.  I've seen this with kernels 2.4.18,
> 2.4.20 , and 2.4.21pre4 (with the latest patch, which applied cleanly,
> BTW).
> Feb  6 23:04:37 ltdbenham kernel: dswstate-0251 [29]
> ds_result_pop_from_bot: No result objects! State=c15d8828Feb  6 23:04:37 ltdbenham kernel:  dsutils-0494 [29] ds_create_operand    
> : Missing or null operand, AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  dsutils-0587 [28] ds_create_operands   
> : While creating Arg 1 - AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  psparse-1102: *** Error: Method
> execution failed [\_TZ_.C1F1] (Node c15ede08), AE_AML_NO_RETURN_VALUEFeb  6 23:04:37 ltdbenham kernel:  psparse-1102: *** Error: Method
> execution failed [\_TZ_.TZ1_._TMP] (Node c15ebce8), AE_AML_NO_RETURN_VALUE
> Here's the .config ACPI section...
> 
> #
> # ACPI Support
> #
> CONFIG_ACPI=y
> # CONFIG_ACPI_HT_ONLY is not set
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_BUS=y
> CONFIG_ACPI_INTERPRETER=y
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SLEEP=y
> CONFIG_ACPI_SYSTEM=y
> CONFIG_ACPI_AC=m

> CONFIG_ACPI_BATTERY=m
> CONFIG_ACPI_BUTTON=m
> CONFIG_ACPI_FAN=m
> CONFIG_ACPI_PROCESSOR=m
> CONFIG_ACPI_THERMAL=m
> CONFIG_ACPI_TOSHIBA=m
> CONFIG_ACPI_DEBUG=y
> 
> compiled with gcc 2.95.4
> and glibc 2.2.5
> 
> -- 
> Darren
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
-- 
Sérgio Basto
Technology Project Manager
onevision design studios
Rua Prof. Mota Pinto
42F-S2.30
4100-353 PORTO
tel. + 351 22 532 0300
fax. + 351 22 616 0182
email: sbasto-n97bsLhj/YhQPh2TJV30h1aTQe2KTcn/@public.gmane.org
web: http://www.onevision-design.com



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thermal module errors
       [not found]       ` <64330.64.164.111.5.1044640843.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
@ 2003-02-07 19:08         ` Alvaro Lopes
       [not found]           ` <3E440425.1080006-JkNoWtNHh5AAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Alvaro Lopes @ 2003-02-07 19:08 UTC (permalink / raw)
  To: Darren Benham; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Darren Benham wrote:

>I had a feeling it was going to come to that.  I had already disassembled
>the DSDT but it doesn't mean anything to me.
>
Well, to me it means just a little bit more :)

Lets see, here's the cause of one of the errors:

dsdt-darren.dsl  5892:                 Store (C11A (0x1F, 0x00, 0x00, 
0x00), Local0)
Error    1029 -   Called method returns no value ^

OK, let's look at method C11A (in namespace _TZ_):

        Method (C11A, 4, Serialized)
        {
            \_SB.C03E.C053.C0D1.C11A (Arg0, Arg1, Arg2, Arg3)
        }

And \_SB.C03E.C053.C0D1.C11A looks like it does return a value:

                    Method (C11A, 4, NotSerialized)
                    {
                        Acquire (C10B, 0xFFFF)
                        Acquire (\_GL, 0xFFFF)
                        [snip]
                        Release (\_GL)
                        Release (C10B)
                        Return (Local7)
                    }

Ok, here's the bug. This method calls another and discards its value. 
So, it should be like this:

        Method (C11A, 4, Serialized)
        {
           Return (  \_SB.C03E.C053.C0D1.C11A (Arg0, Arg1, Arg2, Arg3) )
        }

I am not able to compile your DSDT. Can you please try to compile it 
yourself ?

ASL Input:  dsdt-darren.dsl - 6545 lines, 222603 bytes, 3917 keywords
Compilation complete. 39 Errors, 2 Warnings, 0 Remarks, 1109 Optimizations

Álvaro

>Alvaro Lopes said:
>  
>
>>There's a problem with your DSDT. Can you sent it to this list ? I
>>believe there's already a DSTD patch for your compaq or a similar one.
>>
>>Install the Intel iasl package (you can find it at
>>http://www.intel.com/technology/iapc/acpi/downloads.htm )  and do a
>>'iasl -d /proc/acpi/dsdt'. Send here the results, please.
>>
>>Álvaro
>>
>>--
>>
>>Álvaro Lopes
>>---------------------
>>A .sig is just a .sig
>>    
>>
>
>
>  
>

-- 

Álvaro Lopes 
---------------------
A .sig is just a .sig




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thermal module errors
       [not found]           ` <3E440425.1080006-JkNoWtNHh5AAvxtiuMwx3w@public.gmane.org>
@ 2003-02-07 21:36             ` Darren Benham
  0 siblings, 0 replies; 5+ messages in thread
From: Darren Benham @ 2003-02-07 21:36 UTC (permalink / raw)
  To: alvieboy-JkNoWtNHh5AAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Ok, I played with it and I'm down to 4 errors and 2 warnings when compiling.

The warnings:  two _OFF routines have "not all control paths return a
value" but since they're warnings, I'm ignoring them.
The errors:

There is one reference to \C001 the string "C001" occurs only on this line
and it's referenced like (I think) a value store: If (LEqual (\C001,
0x00))
The are 3 references to \_PR.C000.  These three lines are the only places
_PR is referenced at all.  Not even a scope statement for _PR. Of the
three references, two are notify statments:  Notify (\_PR.C000, 0x80) and
one is a Package statement nested inside of a Name statement.
 Name (_PSL, Package (0x01)
            {
                \_PR.C000
            })


Mean anything?

Alvaro Lopes said:
> Darren Benham wrote:
>
>>I had a feeling it was going to come to that.  I had already
>>disassembled the DSDT but it doesn't mean anything to me.
>>
> Well, to me it means just a little bit more :)
>
> Lets see, here's the cause of one of the errors:
>
> dsdt-darren.dsl  5892:                 Store (C11A (0x1F, 0x00, 0x00,
> 0x00), Local0)
> Error    1029 -   Called method returns no value ^
>
> OK, let's look at method C11A (in namespace _TZ_):
>
>        Method (C11A, 4, Serialized)
>        {
>            \_SB.C03E.C053.C0D1.C11A (Arg0, Arg1, Arg2, Arg3)
>        }
>
> And \_SB.C03E.C053.C0D1.C11A looks like it does return a value:
>
>                    Method (C11A, 4, NotSerialized)
>                    {
>                        Acquire (C10B, 0xFFFF)
>                        Acquire (\_GL, 0xFFFF)
>                        [snip]
>                        Release (\_GL)
>                        Release (C10B)
>                        Return (Local7)
>                    }
>
> Ok, here's the bug. This method calls another and discards its value.
> So, it should be like this:
>
>        Method (C11A, 4, Serialized)
>        {
>           Return (  \_SB.C03E.C053.C0D1.C11A (Arg0, Arg1, Arg2, Arg3) )
>        }
>
> I am not able to compile your DSDT. Can you please try to compile it
> yourself ?
>
> ASL Input:  dsdt-darren.dsl - 6545 lines, 222603 bytes, 3917 keywords
> Compilation complete. 39 Errors, 2 Warnings, 0 Remarks, 1109
> Optimizations
>
> Álvaro
>
>>Alvaro Lopes said:
>>
>>
>>>There's a problem with your DSDT. Can you sent it to this list ? I
>>>believe there's already a DSTD patch for your compaq or a similar one.
>>>
>>>Install the Intel iasl package (you can find it at
>>>http://www.intel.com/technology/iapc/acpi/downloads.htm )  and do a
>>>'iasl -d /proc/acpi/dsdt'. Send here the results, please.
>>>
>>>Álvaro
>>>
>>>--
>>>
>>>Álvaro Lopes
>>>---------------------
>>>A .sig is just a .sig
>>>
>>>
>>
>>
>>
>>
>
> --
>
> Álvaro Lopes
> ---------------------
> A .sig is just a .sig


-- 
Darren




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-07 21:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-07  7:29 Thermal module errors Darren Benham
     [not found] ` <32774.192.168.10.204.1044602945.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
2003-02-07 11:29   ` Alvaro Lopes
     [not found]     ` <64330.64.164.111.5.1044640843.squirrel@benham.net>
     [not found]       ` <64330.64.164.111.5.1044640843.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
2003-02-07 19:08         ` Alvaro Lopes
     [not found]           ` <3E440425.1080006-JkNoWtNHh5AAvxtiuMwx3w@public.gmane.org>
2003-02-07 21:36             ` Darren Benham
2003-02-07 12:12   ` Sérgio Monteiro Basto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox