mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG][acpi-cpufreq/userspace-governor]Frequency does not change
@ 2006-11-17 21:22 Dhaval Giani
  2006-11-17 22:25 ` Dhaval Giani
  0 siblings, 1 reply; 5+ messages in thread
From: Dhaval Giani @ 2006-11-17 21:22 UTC (permalink / raw)
  To: Pallipadi, Venkatesh, davej, paul.s.diefenbaugh, linux, denis.m.sadykov
  Cc: linux-kernel

Hey there,

Looks like I spoke too soon. I tried changing the frequency in cpu1
and then it all fell apart. I got a ridiculously high value. To test
it, I rebooted my system, and this is what happened.

[root@localhost dhaval]# cd /sys/devices/system/cpu/cpu0/cpufreq/
[root@localhost cpufreq]# cat *
0
1862000
1862000
1596000
1862000 1596000
ondemand userspace
1862000
acpi-cpufreq
userspace
1862000
1596000
1862000
cat: stats: Is a directory
[root@localhost cpufreq]# echo 1596000 > scaling_setspeed
[root@localhost cpufreq]# cat *
0
1862000
1862000
1596000
1862000 1596000
ondemand userspace
0
acpi-cpufreq
userspace
1862000
1596000
0
cat: stats: Is a directory
[root@localhost cpufreq]# cd ../../cpu1/cpufreq/
[root@localhost cpufreq]# cat *
1
1862000
1862000
1596000
1862000 1596000
ondemand userspace
1862000
acpi-cpufreq
userspace
1862000
1596000
1862000
cat: stats: Is a directory
[root@localhost cpufreq]# echo 1596000 > scaling_setspeed
[root@localhost cpufreq]# cat *
1
1596000
1862000
1596000
1862000 1596000
ondemand userspace
4294967295
acpi-cpufreq
userspace
1862000
1596000
4294967295
cat: stats: Is a directory
[root@localhost cpufreq]# cd ../../cpu1/cpufreq
[root@localhost cpufreq]# cat *
1
1596000
1862000
1596000
1862000 1596000
ondemand userspace
4294967295
acpi-cpufreq
userspace
1862000
1596000
4294967295
cat: stats: Is a directory


The dmesg is as follows,
acpi-cpufreq: get_cur_freq_on_cpu (0)
acpi-cpufreq: get_cur_val = 100665128
acpi-cpufreq: cur freq = 1862000
userspace: cpufreq_set for cpu 0, freq 1596000 kHz
cpufreq-core: target for CPU 0: 1596000 kHz, relation 0
acpi-cpufreq: acpi_cpufreq_target 1596000 (0)
freq-table: request for target 1596000 kHz (relation: 0) for cpu 0
freq-table: target is 1 (1596000 kHz, 9)
cpufreq-core: notification 0 of frequency transition to 0 kHz
userspace: saving cpu_cur_freq of cpu 0 to be 0 kHz
cpufreq-core: notification 1 of frequency transition to 0 kHz
userspace: saving cpu_cur_freq of cpu 0 to be 0 kHz
acpi-cpufreq: get_cur_freq_on_cpu (0)
printk: 2 messages suppressed.
acpi-cpufreq: get_cur_freq_on_cpu (1)
acpi-cpufreq: get_cur_val = 100665128
acpi-cpufreq: cur freq = 1862000
userspace: cpufreq_set for cpu 1, freq 1596000 kHz
cpufreq-core: target for CPU 1: 1596000 kHz, relation 0
acpi-cpufreq: acpi_cpufreq_target 1596000 (1)
freq-table: request for target 1596000 kHz (relation: 0) for cpu 1
freq-table: target is 1 (1596000 kHz, 9)
cpufreq-core: notification 0 of frequency transition to 4294967295 kHz
printk: 6 messages suppressed.
acpi-cpufreq: get_cur_freq_on_cpu (0)
acpi-cpufreq: get_cur_val = 100664859
acpi-cpufreq: cur freq = 1596000
acpi-cpufreq: get_cur_freq_on_cpu (1)
acpi-cpufreq: get_cur_val = 100664859
acpi-cpufreq: cur freq = 1596000
[root@localhost cpufreq]#

This is on the 2.6.19-rc5-mm2 with the patch at
http://lkml.org/lkml/2006/11/15/302 applied.

Thanks and regards
Dhaval Giani

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: [BUG][acpi-cpufreq/userspace-governor]Frequency does not change
@ 2006-11-17 23:19 Pallipadi, Venkatesh
  2006-11-17 23:48 ` Dhaval Giani
  0 siblings, 1 reply; 5+ messages in thread
From: Pallipadi, Venkatesh @ 2006-11-17 23:19 UTC (permalink / raw)
  To: Dhaval Giani, davej, Diefenbaugh, Paul S, linux, Sadykov, Denis M
  Cc: linux-kernel


 

>-----Original Message-----
>From: Dhaval Giani [mailto:dhaval.giani@gmail.com] 
>Sent: Friday, November 17, 2006 1:22 PM
>To: Pallipadi, Venkatesh; davej@codemonkey.org.uk; 
>Diefenbaugh, Paul S; linux@brodo.de; Sadykov, Denis M
>Cc: linux-kernel@vger.kernel.org
>Subject: [BUG][acpi-cpufreq/userspace-governor]Frequency does 
>not change
>
>Hey there,
>
>Looks like I spoke too soon. I tried changing the frequency in cpu1
>and then it all fell apart. I got a ridiculously high value. To test
>it, I rebooted my system, and this is what happened.
>

You will also need another patch here.
http://lists.linux.org.uk/mailman/private/cpufreq/2006-November/006591.h
tml

Please apply that patch along with the other one that you already
applied and let me know if you still see the issue.

Thanks,
Venki

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

end of thread, other threads:[~2006-11-18 22:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 21:22 [BUG][acpi-cpufreq/userspace-governor]Frequency does not change Dhaval Giani
2006-11-17 22:25 ` Dhaval Giani
2006-11-18 22:16   ` [PATCH] Bug fix for acpi-cpufreq and cpufreq_stats oops on frequency change notification Venkatesh Pallipadi
2006-11-17 23:19 [BUG][acpi-cpufreq/userspace-governor]Frequency does not change Pallipadi, Venkatesh
2006-11-17 23:48 ` Dhaval Giani

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

all inboxes | Powered by JetHome®