Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved, kind of] wrong cpu frequency on one cpu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Klayman
n00b
n00b


Joined: 10 Jun 2009
Posts: 10

PostPosted: Thu Jun 11, 2009 10:25 am    Post subject: [solved, kind of] wrong cpu frequency on one cpu Reply with quote

Hi.

My problem would be that the /proc/cpuinfo file tells me that the frequency of the CPU0 is 1.6GHz, while it should be 2.4GHz. All the remaining cores have the frequency displayed correctly. (the governor is performance)
The cpufreq-info tells me that the frequency range for the first core is 1.6GHz - 1.6GHz, while for the rest it is 1.6GHz - 2.4GHz.
Actually the displayed frequency on my Q6600 for CPU0 is always 1.6GHz, no matter what cpu governor I use, no matter what the load is on the CPU.

On the other side
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq tells me 160000,
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq tells me 2400000
and
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq tells me the correct frequency that I would expect depending on what governor I use.

I'm using the 2.6.29-r5 kernel.

If I boot up the gentoo boot cd, then /proc/cpuinfo contains correct information.

So my questions are:

Why is /proc/cpuinfo is incorrect? If the /proc/cpuinfo is correct then whats with the /sys/... information and why is my first core is not functioning correctly?
What kernel config would fix this problem?

Thanks in advance!

Regards: IW


Last edited by Klayman on Wed Jun 24, 2009 8:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Sat Jun 13, 2009 11:24 am    Post subject: Reply with quote

please verify the output from
Code:
diff /boot/configfromgenkernellivecdkernel /usr/src/linux/.config


maybe u dont use an option the is required

please at alternativ way bring your system to max load with an special process and verify if /proc/CPUINFO is correctly then.
Back to top
View user's profile Send private message
Klayman
n00b
n00b


Joined: 10 Jun 2009
Posts: 10

PostPosted: Wed Jun 24, 2009 8:51 pm    Post subject: Reply with quote

I have found the source of the problem (actually by accident :) ).
The problem was, that in the BIOS I used some hand mad settings to the CPU and the RAM frequency (was not overclocking tough).
If I set the autodetect mode in my mobo, then everything works fine.

Actually before finding the problem, I have checked a lot of things.
I found out, that all my cores were running on the appropriate frequency, and only cpufreq-info reported some bad data.
If calling the command as a user, then the first core was always reported to be running on 1.63GHz, and the range was 1.63-163GHz.
If running cpufreq-info as root, then the reported current frequency was good, but the range for the first core was still 1.63-163GHz.
Could this be a bug of cpufreq-info? Shall I report it? It seems to me that is someone overclocks or makes custom settings to his/her CPU, then cpufreq-info will report bad info on the firs core.

Regards: IW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum