* Wrong frequencies sometimes on Sony Vaio Athlon4
@ 2005-11-29 13:54 Nathan Conrad
2005-11-29 19:44 ` Dave Jones
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Nathan Conrad @ 2005-11-29 13:54 UTC (permalink / raw)
To: cpufreq
Hi,
I have a 1.2 GHz Athlon4 CPU on my Sony Vaio PCG-FXA49 laptop. I use
the powernow CPU scaling. Sometimes (a few percent of the time), the
driver records my laptop's CPU as the wrong speed. For example, right
now the following speeds are available:
1292256 1076880 861504 646128 538440
The first should be almost exactly 1.2 GHz while the last should be
500 MHz.
/proc/cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : mobile AMD Athlon(tm) 4
stepping : 2
cpu MHz : 1076.885
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 2144.24
dmesg reports:
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383f9ff c1cbf9ff 00000000 00000020 00000000 00000000 00000000
CPU: AMD mobile AMD Athlon(tm) 4 stepping 02
powernow: PowerNOW! Technology present. Can scale: frequency and
voltage.
Detected 1292.262 MHz processor.
powernow: No PST tables match this cpuid (0x762)
powernow: This is indicative of a broken BIOS.
powernow: Trying ACPI perflib
powernow: Minimum speed 538 MHz. Maximum speed 1292 MHz.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong frequencies sometimes on Sony Vaio Athlon4
2005-11-29 13:54 Wrong frequencies sometimes on Sony Vaio Athlon4 Nathan Conrad
@ 2005-11-29 19:44 ` Dave Jones
2005-12-02 15:46 ` Alex Simonov
2005-12-05 11:11 ` Bruno Ducrot
2 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2005-11-29 19:44 UTC (permalink / raw)
To: Nathan Conrad; +Cc: cpufreq
On Tue, Nov 29, 2005 at 08:54:23AM -0500, Nathan Conrad wrote:
> Hi,
>
> I have a 1.2 GHz Athlon4 CPU on my Sony Vaio PCG-FXA49 laptop. I use
> the powernow CPU scaling. Sometimes (a few percent of the time), the
> driver records my laptop's CPU as the wrong speed. For example, right
> now the following speeds are available:
>
> 1292256 1076880 861504 646128 538440
>
> The first should be almost exactly 1.2 GHz while the last should be
> 500 MHz.
They're an approximation. We just report what the BIOS claims
the platform is capable of.
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong frequencies sometimes on Sony Vaio Athlon4
2005-11-29 13:54 Wrong frequencies sometimes on Sony Vaio Athlon4 Nathan Conrad
2005-11-29 19:44 ` Dave Jones
@ 2005-12-02 15:46 ` Alex Simonov
2005-12-05 11:11 ` Bruno Ducrot
2 siblings, 0 replies; 4+ messages in thread
From: Alex Simonov @ 2005-12-02 15:46 UTC (permalink / raw)
To: Nathan Conrad, cpufreq
It is strange that the cpufreq driver is not
recognising your CPU.
Did you change/upgrade it? I have the same laptop
(FX-502, which is the european version of
FXA-49). I had the same problem when I upgraded
my CPU from the original Mobile 1GHz Duron, to
Athlon XP 1900+.
What I did is to hardcode the powerstates table
(thank you CPUFREQ guys for the support and the
help in doing that!)
so the driver is always using it instead of
using the ACPI perflib. Please email me if you
want my patch. Then just recompile your kernel
and have fun ! :)
May be you will need to adjust the
frequencies/voltages table yourself, as my
settings may not work for you.
Best,
Alex
Alex
--- Nathan Conrad <conrad@bungled.net> wrote:
> Hi,
>
> I have a 1.2 GHz Athlon4 CPU on my Sony Vaio
> PCG-FXA49 laptop. I use
> the powernow CPU scaling. Sometimes (a few
> percent of the time), the
> driver records my laptop's CPU as the wrong
> speed. For example, right
> now the following speeds are available:
>
> 1292256 1076880 861504 646128 538440
>
> The first should be almost exactly 1.2 GHz
> while the last should be
> 500 MHz.
>
> /proc/cpuinfo:
>
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 6
> model : 6
> model name : mobile AMD Athlon(tm) 4
> stepping : 2
> cpu MHz : 1076.885
> cache size : 256 KB
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae
> mce cx8 sep mtrr pge mca
> cmov pat pse36 mmx fxsr sse syscall mp mmxext
> 3dnowext 3dnow
> bogomips : 2144.24
>
> dmesg reports:
>
> CPU: After generic identify, caps: 0383f9ff
> c1cbf9ff 00000000 00000000 00000000 00000000
> 00000000
> CPU: After vendor identify, caps: 0383f9ff
> c1cbf9ff 00000000 00000000 00000000 00000000
> 00000000
> CPU: L1 I Cache: 64K (64 bytes/line), D cache
> 64K (64 bytes/line)
> CPU: L2 Cache: 256K (64 bytes/line)
> CPU: After all inits, caps: 0383f9ff c1cbf9ff
> 00000000 00000020 00000000 00000000 00000000
> CPU: AMD mobile AMD Athlon(tm) 4 stepping 02
> powernow: PowerNOW! Technology present. Can
> scale: frequency and
> voltage.
> Detected 1292.262 MHz processor.
> powernow: No PST tables match this cpuid
> (0x762)
> powernow: This is indicative of a broken BIOS.
> powernow: Trying ACPI perflib
> powernow: Minimum speed 538 MHz. Maximum speed
> 1292 MHz.
>
> _______________________________________________
> Cpufreq mailing list
> Cpufreq@lists.linux.org.uk
>
http://lists.linux.org.uk/mailman/listinfo/cpufreq
>
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong frequencies sometimes on Sony Vaio Athlon4
2005-11-29 13:54 Wrong frequencies sometimes on Sony Vaio Athlon4 Nathan Conrad
2005-11-29 19:44 ` Dave Jones
2005-12-02 15:46 ` Alex Simonov
@ 2005-12-05 11:11 ` Bruno Ducrot
2 siblings, 0 replies; 4+ messages in thread
From: Bruno Ducrot @ 2005-12-05 11:11 UTC (permalink / raw)
To: Nathan Conrad; +Cc: cpufreq
On Tue, Nov 29, 2005 at 08:54:23AM -0500, Nathan Conrad wrote:
> Hi,
>
> I have a 1.2 GHz Athlon4 CPU on my Sony Vaio PCG-FXA49 laptop. I use
> the powernow CPU scaling. Sometimes (a few percent of the time), the
> driver records my laptop's CPU as the wrong speed. For example, right
> now the following speeds are available:
>
> 1292256 1076880 861504 646128 538440
>
> The first should be almost exactly 1.2 GHz while the last should be
> 500 MHz.
Does that patch fix this issue?
--- linux-2.6.14/arch/i386/kernel/timers/timer_tsc.c 2005/11/16 18:35:06 1.1
+++ linux-2.6.14/arch/i386/kernel/timers/timer_tsc.c 2005/11/16 18:36:27
@@ -325,7 +325,9 @@ int recalibrate_cpu_khz(void)
unsigned int cpu_khz_old = cpu_khz;
if (cpu_has_tsc) {
+ local_irq_disable();
init_cpu_khz();
+ locale_irq_enable();
cpu_data[0].loops_per_jiffy =
cpufreq_scale(cpu_data[0].loops_per_jiffy,
cpu_khz_old,
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-05 11:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 13:54 Wrong frequencies sometimes on Sony Vaio Athlon4 Nathan Conrad
2005-11-29 19:44 ` Dave Jones
2005-12-02 15:46 ` Alex Simonov
2005-12-05 11:11 ` Bruno Ducrot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.