>>My power management works fine when I first boot my Lenovo T61, but after putting it into suspend mode it will always run on the highest frequency.

I can confirm that behaviour  for my T61p

BTW: Why does powertop only show either 0% or 100% and nothing between?

regards

Bernd

Henrik Johansson wrote:

On Apr 24, 2009, at 5:10 PM, Detlef [email protected] wrote:

Hi,
with b111a now I can boot again my Toshiba M9.

1.I discoverred that Power Management seems no longer to work.
(The fan is blowing like hell and "kstat -m cpu_info" shows in
currentClock_Hz 2001000000
but
supported_frequencies_Hz
800000000:1200000000:1600000000:2000000000:2001000000

New Bug with b111a ?

My power management works fine when I first boot my Lenovo T61, but after putting it into suspend mode it will always run on the highest frequency.

Some additional info:

Typical pre-suspend powertop and kstats:
                        OpenSolaris PowerTOP version 1.1

Cn                      Avg     residency       P-states (frequencies)
C0 (cpu running)                (16.1%)  800 Mhz        100.0%
C1                      1.5ms   (83.9%)         1200 Mhz        0.0%
                                                1600 Mhz        0.0%
                                                2000 Mhz        0.0%
                                                2001 Mhz(turbo) 0.0%

Wakeups-from-idle per second: 563.9     interval: 5.0s
Power usage (ACPI estimate): 0.000W (running on AC power, fully charged)

Top causes for wakeups:
17.7% (100.0)               <kernel> :  genunix`clock
12.5% ( 70.2)               <kernel> :  genunix`cv_wakeup
 4.9% ( 27.4)            <interrupt> :  i8042#0
 4.6% ( 26.2)                  sched :  <cross calls>
3.4% ( 19.2) <kernel> : uhci`uhci_handle_root_hub_status_change
 2.8% ( 15.7)            <interrupt> :  ata#0
 1.8% (  9.9)               <kernel> :  genunix`delay_wakeup

opensolaris:~$ pfexec kstat -m cpu_info | grep _Hz
        current_clock_Hz                1200000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000
        current_clock_Hz                1200000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000
opensolaris:~$ pfexec kstat -m cpu_info | grep _Hz
        current_clock_Hz                800000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000
        current_clock_Hz                800000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000


Typical post-suspend powertop and kstats:

                        OpenSolaris PowerTOP version 1.1

Cn                      Avg     residency       P-states (frequencies)
C0 (cpu running)                (13.9%)  800 Mhz        0.0%
C1                      1.5ms   (86.1%)         1200 Mhz        0.0%
                                                1600 Mhz        0.0%
                                                2000 Mhz        0.0%
                                                2001 Mhz(turbo) 100.0%

Wakeups-from-idle per second: 587.1     interval: 5.0s
Power usage (ACPI estimate): 0.000W (running on AC power, fully charged)

Top causes for wakeups:
17.0% (100.0)               <kernel> :  genunix`clock
11.5% ( 67.4)               <kernel> :  genunix`cv_wakeup
 9.7% ( 56.7)                  sched :  <cross calls>
 9.1% ( 53.7)            <interrupt> :  i8042#0
3.2% ( 18.9) <kernel> : uhci`uhci_handle_root_hub_status_change
 1.7% ( 10.1)               <kernel> :  ata`ghd_timeout
 1.7% (  9.9)               <kernel> :  genunix`delay_wakeup

opensolaris:~$ pfexec kstat -m cpu_info | grep _Hz
        current_clock_Hz                2001000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000
        current_clock_Hz                2001000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000
opensolaris:~$ pfexec kstat -m cpu_info | grep _Hz
        current_clock_Hz                2001000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000
        current_clock_Hz                2001000000
supported_frequencies_Hz 800000000:1200000000:1600000000:20000000
00:2001000000

power.conf:
cpupm  enable poll-mode
cpu-threshold 5s
autoS3 default
S3-support enable

mpstat:
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 0 304 103 183 1 14 2 0 315 1 0 0 99 1 0 0 0 103 49 165 3 15 1 0 481 1 0 0 99 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 4 333 131 196 2 17 2 0 290 1 1 0 99 1 0 0 0 101 46 171 3 16 3 0 458 1 1 0 98

Kernel messages from the time of suspend:

Apr 27 16:15:01 opensolaris unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared by drivers with different interrupt levels. Apr 27 16:15:01 opensolaris This may result in reduced system performance. Apr 27 16:15:11 opensolaris unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared by drivers with different interrupt levels. Apr 27 16:15:11 opensolaris This may result in reduced system performance. Apr 27 16:15:48 opensolaris gnome-session[1265]: [ID 702911 daemon.warning] EggSMClient-WARNING: Desktop file '/usr/share/gnome/autostart/desktop-print-management-applet.desktop' has malformed Icon key 'print-manager.png'(should not include extension) Apr 27 16:26:27 opensolaris gnome-session[1265]: [ID 702911 daemon.warning] WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name Apr 27 16:26:31 opensolaris genunix: [ID 535284 kern.notice] System is being suspended Apr 27 16:26:33 opensolaris acpica: [ID 530733 kern.notice] NOTICE: acpica_ddi_setwake: could not evaluate _PRW
Apr 27 16:27:05 opensolaris last message repeated 1 time
Apr 27 16:27:07 opensolaris genunix: [ID 228648 kern.info] ata_set_feature: (0x66,0x0) failed Apr 27 16:27:11 opensolaris gnome-session[1265]: [ID 702911 daemon.warning] WARNING: Could not ask power manager to suspend: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Apr 27 16:27:12 opensolaris unix: [ID 954099 kern.info] NOTICE: IRQ16 is being shared by drivers with different interrupt levels. Apr 27 16:27:12 opensolaris This may result in reduced system performance.

Regards
Henrik

Henrik Johansson
http://sparcv9.blogspot.com



_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss



--
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html

M s temprano que tarde el mundo cambiar .
                       Fidel Castro

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to