• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Thinkpad und powersaved arbeiten nicht richtig zusammen

su|

Newbie
---- SNIP -----
Edit: Habe dieses Posting editiert und noch einige Infos ans Ende angefügt. Wenn noch Configfiles fehlen, werde ich die entweder hier einstellen, oder auf einem Webspace veröffentlichen.
---- SNAP -----

Hallo zusammen,
ich hab ein dickes Problem mit einem IBM Thinkpad R31.

Es handelt sich um ein 1,2 GhZ Centrino mit 256 MB Ram.

Ich hab auf dieser Kiste eine SuSE 9.1 Live Edition installiert.
Es sind alle Onlineupdates installiert, sowie KDE 3.4.

Da ich häufiger in der Bibliothek sitze habe ich mir in YaST einmal die powersaveeinstellungen angeschaut und auch das ein oder andere Mal gewechselt zwischen Leistung und Akkustik.
An den konfigurationsdateien habe ich bisher nicht rumeditiert.

Jetzt habe ich das Problem, das der Rechner - wenn er warm wird - den Lüfter nicht mehr aktiviert.

Der Prozessor wird runtergetaktet - zur Zeit schreibe ich diesen Text bei einer Frequenz von 145 MhZ - aber der Lüfter geht einfach nicht an. Die Temperatur liegt augenblicklich bei 64 °C (laut gkrellm2)

Ich habe hier auch schon die Boardsuche bemüht, aber leider keinen passenden Thread gefunden.

Folgende Infos kann ich euch geben:

Code:
Tito:~ # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Mobile Intel(R) Celeron(TM) CPU         1200MHz
stepping        : 4
cpu MHz         : 157.846
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 261.63

Ein Neustart des powersaved bringt auch keine abhilfe - die ACPI Module werden scheinbar nicht gefunden:

Code:
Tito:~ # powersave -r
130.125900 MHz
Tito:~ # powersave -s
NORMAL
Tito:~ # /etc/init.d/powersaved restart
Shutting down powersaved                                                                    done
Unloading ACPI modules ()                                                                          done
loading ACPI modules () Starting powersaved                                                        done

In der /etc/sysconfig/powersave/common stehen alle Werte auf default- Einstellungen. Siehe hier
http://emppsz.homelinux.org/~sui/linux/thinkpad/common

Die Datei /etc/sysconfig/powersave/events fehlt, dafür gibt es die Dateien

http://emppsz.homelinux.org/~sui/linux/thinkpad/scheme_acoustic
http://emppsz.homelinux.org/~sui/linux/thinkpad/scheme_performance
http://emppsz.homelinux.org/~sui/linux/thinkpad/scheme_powersave

Edit: Habe mich in der zwischenzeit noch ein bisschen schlau gemacht - zwar noch keine Lösung gefunden - aber das kommt hoffentlich noch...
Ich habe das Handbuch online gefunden unter
http://sman.informatik.htw-dresden.de/doc/manual.9.2/suselinux-adminguide_de/html/ch16s03.html

Mir ist aufgefallen, daß einige Infos fehlen - die werde ich nun nachreichen

Folgender Kernel ist installiert: 2.6.5-7.155.29-default
Aus der boot.msg weiss ich, daß ACPI-Module geladen werden:
Code:
loading ACPI modules (ac battery button fan processor thermal ) Starting powersaved <notice>startproc: execve (/usr/sbin/powersaved) [ /usr/sbin/powersaved -d -e /etc/powersave.conf -a resmgr -v 3 ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=25 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=92 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x314 RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=32 SHLVL=2 splash=verbose sscripts=38 _=/sbin/startproc DAEMON=/usr/sbin/powersaved ]

so, das ist der Eintrag in der /var/log/messages

Code:
Tito:~ # less /var/log/messages | grep ACPI   
Jun 22 09:07:48 Tito kernel: ACPI: Battery Slot [BAT0] (battery absent)
Jun 22 09:07:48 Tito kernel: ACPI: Power Button (FF) [PWRF]
Jun 22 09:07:48 Tito kernel: ACPI: Sleep Button (CM) [SLPB]
Jun 22 09:07:48 Tito kernel: ACPI: Lid Switch [LID]
Jun 22 09:07:48 Tito kernel: ACPI: Processor [CPU0] (supports C1 C2 C3)
Jun 22 09:07:48 Tito kernel: ACPI: Thermal Zone [THR1] (85 C)
Jun 22 09:07:48 Tito kernel: ACPI: Thermal Zone [THR2] (29 C)
Jun 22 09:07:48 Tito [powersaved][2939]: WARNING in Function ACPI_Interface; line 26: could not set battery alarm, you may need to force polling mode.
Jun 22 09:07:49 Tito kernel: ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
Jun 22 09:07:49 Tito kernel: ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
Jun 22 09:07:49 Tito kernel: ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
Jun 22 09:07:50 Tito kernel: ACPI: PCI interrupt 0000:01:09.0[A] -> GSI 11 (level, low) -> IRQ 11

Bei ACPI handelt sich um Version
Code:
Tito:~ # cat /proc/acpi/info
version:                 20040326

Der Rechner unterstützt die Sleepmodes
Code:
Tito:~ # cat /proc/acpi/sleep
S0 S1 S3 S4 S5

Die Events lassen sich nicht auslesen
Code:
Tito:~ # cat /proc/acpi/event
cat: /proc/acpi/event: Device or resource busy

Und der Lüfterstatus auch nicht
Code:
Tito:~ # cat /proc/acpi/fan/FAN/state
cat: /proc/acpi/fan/FAN/state: No such file or directory

Über den Prozessor weiss ich nun, dass er kein Throttling unterstützt:
Code:
Tito:~ # cat /proc/acpi/processor/CPU0/
info        limit       power       throttling
Tito:~ # cat /proc/acpi/processor/CPU0/throttling
<not supported>
Tito:~ # cat /proc/acpi/processor/CPU0/
info        limit       power       throttling
Tito:~ # cat /proc/acpi/processor/CPU0/info
processor id:            0
acpi id:                 1
bus mastering control:   yes
power management:        yes
throttling control:      no
limit interface:         no
Tito:~ # cat /proc/acpi/processor/CPU0/power
active state:            C3
default state:           C1
bus master activity:     00000000
states:
    C1:                  promotion[C2] demotion[--] latency[000] usage[00027520]
    C2:                  promotion[C3] demotion[C1] latency[099] usage[01360575]
   *C3:                  promotion[--] demotion[C2] latency[999] usage[00001491]

Über die Thermal Zones hab ich dies:
Code:
Tito:~ # cat /proc/acpi/thermal_zone/THR1/cooling_mode
<not supported>
Tito:~ # cat /proc/acpi/thermal_zone/THR1/polling_frequency
polling frequency:       10 seconds
Tito:~ # cat /proc/acpi/thermal_zone/THR1/state
state:                   ok
Tito:~ # cat /proc/acpi/thermal_zone/THR1/trip_points
critical (S5):           103 C

Ich habe außerdem den Infolevel für das syslog auf "debug" gestellt und eine Zeitlang reingeschaut:

Code:
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  File /proc/acpi/battery/BAT0/state open to read out battery!
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  Battery BAT0 not present!
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  remaining_cap_sum: 0, last_full_cap_sum: 0, present_rate 0
Jun 22 10:37:41 Tito [powersaved][7364]: DIAG in Function getBatteriesInfo, line 31:  remaining: 0 percent, 0 minutes
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  Could not determine battery state, suppose normal!
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  Get Battery state: 3
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  Battery state unchanged!
Jun 22 10:37:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:37:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:37:41 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:37:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:37:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:37:44 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:38:16 Tito last message repeated 13 times
Jun 22 10:38:36 Tito last message repeated 8 times
Jun 22 10:38:38 Tito [powersaved][7364]: Info:  File /proc/acpi/battery/BAT0/state open to read out battery!
Jun 22 10:38:38 Tito [powersaved][7364]: Info:  Battery BAT0 not present!
Jun 22 10:38:38 Tito [powersaved][7364]: Info:  remaining_cap_sum: 0, last_full_cap_sum: 0, present_rate 0
Jun 22 10:38:38 Tito [powersaved][7364]: DIAG in Function getBatteriesInfo, line 31:  remaining: 0 percent, 0 minutes
Jun 22 10:38:38 Tito [powersaved][7364]: Info:  Could not determine battery state, suppose normal!
Jun 22 10:38:38 Tito [powersaved][7364]: Info:  Get Battery state: 3
Jun 22 10:38:38 Tito [powersaved][7364]: Info:  Battery state unchanged!
Jun 22 10:38:39 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:38:41 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:38:41 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1542:  CPU state changed to high! CPU load: 100
Jun 22 10:38:41 Tito [powersaved][7364]: DIAG in Function executeEvent, line 1450:  Executed event: processor.dynamic.high
Jun 22 10:38:41 Tito [powersaved][7521]: Info:  Program /usr/sbin/powersave_proxy will be executed for event processor.dynamic.high! ACPI line: , param: 1
Jun 22 10:38:41 Tito [powersave_proxy][7521]: INFO: load ac scheme: /etc/sysconfig/powersave/scheme_performance
Jun 22 10:38:41 Tito [powersave_proxy][7521]: INFO: processor.dynamic.high
Jun 22 10:38:41 Tito [powersave_proxy][7521]: INFO: $POWERSAVE_EVENT_PROCESSOR_DYNAMIC_HIGH
Jun 22 10:38:41 Tito [powersave_proxy][7521]: INFO: execute action dethrottle for event PROCESSOR_DYNAMIC_HIGH
Jun 22 10:38:41 Tito [powersave_proxy][7521]: DIAG: dethrottle cpu
Jun 22 10:38:41 Tito [powersaved][7520]: Info:  END OF PROXY OUTPUT
Jun 22 10:38:41 Tito [powersaved][7520]: Info:  Program /usr/sbin/powersave_proxy for event processor.dynamic.high exited with status 0
Jun 22 10:38:42 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1538:  CPU state changed to low! CPU load: 21
Jun 22 10:38:44 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:38:49 Tito last message repeated 2 times
Jun 22 10:38:51 Tito [powersaved][7364]: DIAG in Function executeEvent, line 1450:  Executed event: processor.dynamic.low
Jun 22 10:38:51 Tito [powersaved][7542]: Info:  Program /usr/sbin/powersave_proxy will be executed for event processor.dynamic.low! ACPI line: , param: 1
Jun 22 10:38:51 Tito [powersave_proxy][7542]: INFO: load ac scheme: /etc/sysconfig/powersave/scheme_performance
Jun 22 10:38:51 Tito [powersave_proxy][7542]: INFO: processor.dynamic.low
Jun 22 10:38:51 Tito [powersave_proxy][7542]: INFO: $POWERSAVE_EVENT_PROCESSOR_DYNAMIC_LOW
Jun 22 10:38:51 Tito [powersave_proxy][7542]: INFO: execute action throttle for event PROCESSOR_DYNAMIC_LOW
Jun 22 10:38:51 Tito [powersave_proxy][7542]: INFO: CPU throttling not activated
Jun 22 10:38:51 Tito [powersaved][7541]: Info:  END OF PROXY OUTPUT
Jun 22 10:38:51 Tito [powersaved][7541]: Info:  Program /usr/sbin/powersave_proxy for event processor.dynamic.low exited with status 0
Jun 22 10:38:51 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:39:24 Tito last message repeated 13 times
Jun 22 10:39:31 Tito last message repeated 3 times
Jun 22 10:39:33 Tito [powersaved][7364]: Info:  File /proc/acpi/battery/BAT0/state open to read out battery!
Jun 22 10:39:33 Tito [powersaved][7364]: Info:  Battery BAT0 not present!
Jun 22 10:39:33 Tito [powersaved][7364]: Info:  remaining_cap_sum: 0, last_full_cap_sum: 0, present_rate 0
Jun 22 10:39:33 Tito [powersaved][7364]: DIAG in Function getBatteriesInfo, line 31:  remaining: 0 percent, 0 minutes
Jun 22 10:39:33 Tito [powersaved][7364]: Info:  Could not determine battery state, suppose normal!
Jun 22 10:39:33 Tito [powersaved][7364]: Info:  Get Battery state: 3
Jun 22 10:39:33 Tito [powersaved][7364]: Info:  Battery state unchanged!
Jun 22 10:39:34 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:39:39 Tito last message repeated 2 times
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:39:41 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:39:41 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function getCPULoad, line 262:  Could not evalutate CPU load, /proc/stat is not updated, yet, please slow down polling this file!
Jun 22 10:39:41 Tito [powersaved][7364]: DIAG in Function updateCPUState, line 1531:  /proc/stat not updated yet, CPU load could not be evaluated
Jun 22 10:39:44 Tito [powersaved][7364]: Info:  Server has been pinged, ping will be ignored!

Kann jemand helfen ??

Danke im voraus
sui
 
Oben