Skip to contentSkip to conversation

2.6.33-rc2: regression: gkrellm no longer shows all the temperatures on thinkpad x60

DISCUSSION Pavel Machek 3 participants 11 messages Dec 27, 2009 – Jan 13, 2010

lore
Share & tools
lore
#0 lore raw

...I'll have to find out where gkrell got that info. It worked in 2.6.32.

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 4 lines · Pavel Machek

...I'll have to find out where gkrell got that info. It worked in 2.6.32.

Pavel

Only to make sure... What is the output of cat /proc/acpi/ibm/thermal?

I ask that question because I noticed battery temperature 0° displayed by conky after updating to 2.6.32.2. Looking at my .conkyrc I saw I tried to display ${smapi_bat_temp 0} but I had forgotten to re-install the tp_smapi module.

May be gkrellm uses tp_smapi too??

PS what is worst, without tp_smapi hdaps do not work well either so I lost hard-disk parking on my Thinkpad T61 too... Hopefully meanwhile the laptop stayed nicely on my desk ;)

#2 lore raw
Quoted 9 lines · Didier Spaier
Quoted 4 lines · Pavel Machek

...I'll have to find out where gkrell got that info. It worked in 2.6.32.

Pavel

Only to make sure... What is the output of cat /proc/acpi/ibm/thermal?

I ask that question because I noticed battery temperature 0° displayed by conky after updating to 2.6.32.2. Looking at my .conkyrc I saw I tried to display ${smapi_bat_temp 0}

but I had forgotten to re-install the tp_smapi module.

Uhuh, there's no /proc/acpi/ibm:

ls /proc/acpi/ibm
ls: cannot access /proc/acpi/ibm: No such file or directory

. I guess that's the problem :-(. Config is:

CONFIG_THINKPAD_ACPI=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y
CONFIG_THINKPAD_ACPI_VIDEO=y
# CONFIG_THINKPAD_ACPI_HOTKEY_POLL is not set

...so I do not see "enable legacy interface" option.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
Quoted 25 lines · Pavel Machek
Quoted 9 lines · Didier Spaier
Quoted 4 lines · Pavel Machek

...I'll have to find out where gkrell got that info. It worked in 2.6.32.

Pavel

Only to make sure... What is the output of cat /proc/acpi/ibm/thermal?

I ask that question because I noticed battery temperature 0° displayed by conky after updating to 2.6.32.2. Looking at my .conkyrc I saw I tried to display ${smapi_bat_temp 0}

but I had forgotten to re-install the tp_smapi module.

Uhuh, there's no /proc/acpi/ibm:

ls /proc/acpi/ibm ls: cannot access /proc/acpi/ibm: No such file or directory

. I guess that's the problem :-(. Config is:

CONFIG_THINKPAD_ACPI=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y
CONFIG_THINKPAD_ACPI_VIDEO=y
# CONFIG_THINKPAD_ACPI_HOTKEY_POLL is not set

Quoted 2 lines

...so I do not see "enable legacy interface" option.
Pavel

bash-3.1$ grep THINKPAD_ACPI /boot/config-2.6.32.2strip CONFIG_THINKPAD_ACPI=m CONFIG_THINKPAD_ACPI_DEBUGFACILITIES=y CONFIG_THINKPAD_ACPI_DEBUG=y CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y CONFIG_THINKPAD_ACPI_VIDEO=y CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
bash-3.1$

I suggest you modularize THINKPAD_ACPI.

#4 lore raw
Quoted 38 lines · Didier Spaier
Quoted 19 lines · Pavel Machek
Quoted 9 lines · Didier Spaier
Quoted 4 lines · Pavel Machek

...I'll have to find out where gkrell got that info. It worked in 2.6.32.

Pavel

Only to make sure... What is the output of cat /proc/acpi/ibm/thermal?

I ask that question because I noticed battery temperature 0° displayed by conky after updating to 2.6.32.2. Looking at my .conkyrc I saw I tried to display ${smapi_bat_temp 0}

but I had forgotten to re-install the tp_smapi module.

Uhuh, there's no /proc/acpi/ibm:

ls /proc/acpi/ibm ls: cannot access /proc/acpi/ibm: No
such file or directory

. I guess that's the problem :-(. Config is:

Quoted 8 lines

CONFIG_THINKPAD_ACPI=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y
CONFIG_THINKPAD_ACPI_VIDEO=y
# CONFIG_THINKPAD_ACPI_HOTKEY_POLL is not set

...so I do not see "enable legacy interface" option.

bash-3.1$ grep THINKPAD_ACPI /boot/config-2.6.32.2strip CONFIG_THINKPAD_ACPI=m CONFIG_THINKPAD_ACPI_DEBUGFACILITIES=y CONFIG_THINKPAD_ACPI_DEBUG=y CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y CONFIG_THINKPAD_ACPI_VIDEO=y CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
bash-3.1$

Quoted 1 line

I suggest you modularize THINKPAD_ACPI.

How would modular version help?

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#5 lore raw
Quoted 39 lines · Pavel Machek
Quoted 38 lines · Didier Spaier
Quoted 19 lines · Pavel Machek
Quoted 9 lines · Didier Spaier
Quoted 4 lines · Pavel Machek

...I'll have to find out where gkrell got that info. It worked in 2.6.32.

Pavel

Only to make sure... What is the output of cat /proc/acpi/ibm/thermal?

I ask that question because I noticed battery temperature 0° displayed by conky after updating to 2.6.32.2. Looking at my .conkyrc I saw I tried to display ${smapi_bat_temp 0}

but I had forgotten to re-install the tp_smapi module.

Uhuh, there's no /proc/acpi/ibm:

ls /proc/acpi/ibm ls: cannot access /proc/acpi/ibm: No
such file or directory

. I guess that's the problem :-(. Config is:

Quoted 8 lines

CONFIG_THINKPAD_ACPI=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y
CONFIG_THINKPAD_ACPI_VIDEO=y
# CONFIG_THINKPAD_ACPI_HOTKEY_POLL is not set

...so I do not see "enable legacy interface" option.

bash-3.1$ grep THINKPAD_ACPI /boot/config-2.6.32.2strip CONFIG_THINKPAD_ACPI=m CONFIG_THINKPAD_ACPI_DEBUGFACILITIES=y CONFIG_THINKPAD_ACPI_DEBUG=y CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y CONFIG_THINKPAD_ACPI_VIDEO=y CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
bash-3.1$

Quoted 4 lines
Quoted 1 line

I suggest you modularize THINKPAD_ACPI.

How would modular version help?

I can't tell you how exactly.

But I can tell that is *does* work as a module, at least with 2.6.32.2.

Plus, reading Documentation/laptops/thinkpad-acpi make obvious IMHO, though not explicitly stated, that it is supposed to be built as a module.

For instance 'grep module thinkpad-acpi|wc -l' returns 17 here ;)

And how the 'modprobe' command (founded twice in the same file) is supposed to work with a driver built in the kernel image?

But of course deciding to try that or not is up to you :-)

Best regards,

Didier

#6 lore raw
In reply to Pavel Machek

Please apply the latest stack of patches (sent them to acpi-test yesterday).

It is failing to register the ALSA mixer for some reason, and due to a bug, it is not loading the module at all. I will look at the reason it is failing to register the ALSA mixer soon. Meanwhile, the patches I sent to Len make sure the module can still load sucessfully.

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
#7 lore raw

Hi!

Quoted 7 lines

Please apply the latest stack of patches (sent them to acpi-test yesterday).

It is failing to register the ALSA mixer for some reason, and due to a bug, it is not loading the module at all. I will look at the reason it is failing to register the ALSA mixer soon. Meanwhile, the patches I sent to Len make sure the module can still load sucessfully.

Well, I'm not sure its completely fixed. I got this in my syslog:

thinkpad_acpi: THERMAL EMERGENCY: a sensor reports something is extremely hot!
thinkpad_acpi: temperatures (Celsius): 95 47 N/A 89 47 N/A 41 N/A 51 61 N/A N/A N/A N/A N/A N/A

...meaning thinkpad_acpi is active and working, but still gkrellm does not report temperatures as it used to.

root@amd:~# cat /proc/acpi/ibm/thermal 
temperatures:	74 48 -128 75 47 -128 41 -128 51 58 -128 -128 -128
-128 -128 -128
root@amd:~# 

...is there, so I'm not sure why gkrellm stopped working.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#8 lore raw
Quoted 8 lines · Pavel Machek
Quoted 7 lines

Please apply the latest stack of patches (sent them to acpi-test yesterday).

It is failing to register the ALSA mixer for some reason, and due to a bug, it is not loading the module at all. I will look at the reason it is failing to register the ALSA mixer soon. Meanwhile, the patches I sent to Len make sure the module can still load sucessfully.

Quoted 6 lines

Well, I'm not sure its completely fixed. I got this in my syslog:

thinkpad_acpi: THERMAL EMERGENCY: a sensor reports something is extremely hot!
thinkpad_acpi: temperatures (Celsius): 95 47 N/A 89 47 N/A 41 N/A 51 61 N/A N/A N/A N/A N/A N/A

And the extremely hot sensor is that 89°C, which is the GPU I think (varies from thinkpad to thinkpad). That is not normal, and I'd say it needs repair, probably a badly seated heatsink or failed thermal interface compound.

Quoted 2 lines

...meaning thinkpad_acpi is active and working, but still gkrellm does not report temperatures as it used to.

Well, gkrellm has always been a hack, it may be objecting to the third N/A there (which reads as -128 through /proc, and results in ENXIO on hwmon sysfs).

Quoted 4 lines
root@amd:~# cat /proc/acpi/ibm/thermal 
temperatures:	74 48 -128 75 47 -128 41 -128 51 58 -128 -128 -128
-128 -128 -128
root@amd:~# 

The driver is operating normally (which doesn't surprise me, I didn't touch that code for quite a while, other than adding the temperature dump so that we could track what was cooking in your thinkpad :) ).

Quoted 1 line

...is there, so I'm not sure why gkrellm stopped working.

I'd take a look on the gkrellm side of things. Maybe I am doing something it doesn't like in the hwmon interface, etc.

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
#9 lore raw
Quoted 16 lines · Henrique de Moraes Holschuh
Quoted 8 lines · Pavel Machek
Quoted 7 lines

Please apply the latest stack of patches (sent them to acpi-test yesterday).

It is failing to register the ALSA mixer for some reason, and due to a bug, it is not loading the module at all. I will look at the reason it is failing to register the ALSA mixer soon. Meanwhile, the patches I sent to Len make sure the module can still load sucessfully.

Quoted 6 lines

Well, I'm not sure its completely fixed. I got this in my syslog:

thinkpad_acpi: THERMAL EMERGENCY: a sensor reports something is extremely hot!
thinkpad_acpi: temperatures (Celsius): 95 47 N/A 89 47 N/A 41 N/A 51 61 N/A N/A N/A N/A N/A N/A

Quoted 4 lines

And the extremely hot sensor is that 89°C, which is the GPU I think (varies from thinkpad to thinkpad). That is not normal, and I'd say it needs repair, probably a badly seated heatsink or failed thermal interface compound.

Hmm... come to think of it, the CPU is also quite hot (95°C), and it usually shares the heatsink system with the GPU/north bridge, so the problem might be on the CPU side of things.

While it can easily be a hardware problem in the heatsink, we could also have a screwed up ACPI thermal control in our hands once again (either kernel bug, or bogus ACPI firmware in the laptop).

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
#10 lore raw

Hi!

Quoted 11 lines
Quoted 11 lines
Quoted 6 lines

Well, I'm not sure its completely fixed. I got this in my syslog:

thinkpad_acpi: THERMAL EMERGENCY: a sensor reports something is extremely hot!
thinkpad_acpi: temperatures (Celsius): 95 47 N/A 89 47 N/A 41 N/A 51 61 N/A N/A N/A N/A N/A N/A

And the extremely hot sensor is that 89°C, which is the GPU I think (varies from thinkpad to thinkpad). That is not normal, and I'd say it needs repair, probably a badly seated heatsink or failed thermal interface compound.

Well, I'd prefer not to open it unless absolutely neccessary. It is my primary machine.

Quoted 7 lines

Hmm... come to think of it, the CPU is also quite hot (95°C), and it usually shares the heatsink system with the GPU/north bridge, so the problem might be on the CPU side of things.

While it can easily be a hardware problem in the heatsink, we could also have a screwed up ACPI thermal control in our hands once again (either kernel bug, or bogus ACPI firmware in the laptop).

Well, galeon (web browser) started misbehaving -- eating 100% cpu -- lately, so maybe that's it.

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html