Skip to contentSkip to conversation

Thermal module errors

DISCUSSION Darren Benham 3 participants 5 messages Feb 7, 2003 4 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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

Signature · 9 lines
Darren




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

A message that is not in the archive (sent off-list or not yet received): 32774.192.168.10.204.1044602945.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org

#2 lore raw
Quoted 5 lines · Darren Benham

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).

Quoted 7 lines
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

Signature · 10 lines
Á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

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 64330.64.164.111.5.1044640843.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org

#5 lore raw
Quoted 3 lines · Darren Benham

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

Quoted 23 lines
Quoted 16 lines · Alvaro Lopes

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

Signature · 10 lines
Á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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

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?

Quoted 78 lines · Alvaro Lopes
Quoted 3 lines · Darren Benham

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

Quoted 12 lines
Quoted 9 lines · Alvaro Lopes

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

Quoted 11 lines
Quoted 7 lines

--

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

--

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

Signature · 9 lines
Darren




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#8 lore raw
In reply to a message not in the archive
Quoted 1 line

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

Quoted 53 lines · Darren Benham

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

Signature · 13 lines
Darren




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
Signature · 17 lines
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