TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Mandriva Linux

Reading CPU Core Temp

Mandriva Linux

 
 
Thread Tools Display Modes
Unread 08-01-2008, 11:58 PM   #11
Peter D.
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

on Saturday 05 January 2008 10:44
in the Usenet newsgroup alt.os.linux.mandriva
Adam wrote:

[snip]
> What I can't figure out is how to read the temperature of the CPU core,

[snip]

Have you installed "lmsensors"?


--
sig goes here...
Peter D.
 
Unread 08-01-2008, 11:59 PM   #12
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> Peter D. wrote:
>>> What I can't figure out is how to read the temperature of the CPU core,

>>
>> Have you installed "lmsensors"?

>
> Thanks for the suggestion, Peter. Yep, lm_sensors is installed, but
> that only reads the outputs of the sensor chip. (I've figured out what
> most of those values indicate on my system, but that's another topic.)
> There's some registers in the CPU that measure the actual core temp.
>
> I'm still running lm_sensors version 2.10.4, because version 3 won't
> compile correctly on my system. Both use module 'coretemp' to get the
> value I'm looking for. I found C source for some version of module
> 'coretemp' (also won't compile correctly on my system) and will be
> looking over it later today. Any suggestions, anybody, on what to do
> next? Thanks!
>
> Adam


i think you might need the k8temp module as i need this to read the
core temperatures of my dual core cpu
 
Unread 08-01-2008, 11:59 PM   #13
Adam
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

David W. Hodgins wrote:
>> What I can't figure out is how to read the temperature of the CPU core,

>
> http://www.alcpu.com/CoreTemp/supportlist.html shows that within the Celeron
> family, only Celeron-M 400 series, and Celeron E1000 series. Is your cpu
> a mobile, Celeron-M, or just a plain desktop Celeron?


[adam@eris ~]$ uname -p
Intel(R) Celeron(R) CPU 420 @ 1.60GHz

Plain desktop Celeron 420, apparently.

> Trying modprobe -v coretemp fails here with "No such device". I suspect
> we're both stuck with lm_sensors.


[adam@eris ~]$ sudo modprobe -v coretemp
insmod
/lib/modules/2.6.22.15-desktop-1.uc1mdv/kernel/drivers/hwmon/coretemp.ko
FATAL: Error inserting coretemp
(/lib/modules/2.6.22.15-desktop-1.uc1mdv/kernel/drivers/hwmon/coretemp.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

When I hacked the 'sensors-detect' script to always report that core
temperature was available, that didn't get me anywhere because that
forced use of the 'coretemp' module which as you can see is somehow
screwed up on my system.

>> because there are Win programs that can do this on my system.

>
> Are you sure the win programs are reading the core temp, and not a sensor
> value?


"Hardware sensors monitor 4.3" showed "Mainboard xx.x C, CPU1 34.0 C,
Temp3 26.0 C, CPU0 Core 55.0 C", and the 34 and 26 are in line with what
lm_sensors reports. (They don't sound right, but they're consistent.)
"Core Temp 0.96" only shows a core temp, but it's also around 50 C.

I found C source for one version of the coretemp module, but couldn't
understand it. Fortunately I see absolutely no signs of overheating;
I'm just curious. Thanks for your suggestions!

Adam
 
Unread 09-01-2008, 12:00 AM   #14
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> Peter D. wrote:
>>> What I can't figure out is how to read the temperature of the CPU core,

>>
>> Have you installed "lmsensors"?

>
> Thanks for the suggestion, Peter. Yep, lm_sensors is installed, but
> that only reads the outputs of the sensor chip. (I've figured out what
> most of those values indicate on my system, but that's another topic.)
> There's some registers in the CPU that measure the actual core temp.
>
> I'm still running lm_sensors version 2.10.4, because version 3 won't
> compile correctly on my system. Both use module 'coretemp' to get the
> value I'm looking for. I found C source for some version of module
> 'coretemp' (also won't compile correctly on my system) and will be
> looking over it later today. Any suggestions, anybody, on what to do
> next? Thanks!
>
> Adam


i think you might need the k8temp module as i need this to read the
core temperatures of my dual core cpu
 
Unread 09-01-2008, 12:00 AM   #15
Adam
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Darklight wrote:
>> I'm still running lm_sensors version 2.10.4, because version 3 won't
>> compile correctly on my system. Both use module 'coretemp' to get the
>> value I'm looking for.

>
> i think you might need the k8temp module as i need this to read the
> core temperatures of my dual core cpu


Thanks for your help! Unfortunately it didn't seem to make any
difference on my system. I think 'k8temp' is for AMD CPUs, and Intel
chips (like my Celeron) need 'coretemp'.

Adam
 
Unread 09-01-2008, 12:00 AM   #16
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> Peter D. wrote:
>>> What I can't figure out is how to read the temperature of the CPU core,

>>
>> Have you installed "lmsensors"?

>
> Thanks for the suggestion, Peter. Yep, lm_sensors is installed, but
> that only reads the outputs of the sensor chip. (I've figured out what
> most of those values indicate on my system, but that's another topic.)
> There's some registers in the CPU that measure the actual core temp.
>
> I'm still running lm_sensors version 2.10.4, because version 3 won't
> compile correctly on my system. Both use module 'coretemp' to get the
> value I'm looking for. I found C source for some version of module
> 'coretemp' (also won't compile correctly on my system) and will be
> looking over it later today. Any suggestions, anybody, on what to do
> next? Thanks!
>
> Adam


i think you might need the k8temp module as i need this to read the
core temperatures of my dual core cpu
 
Unread 09-01-2008, 12:02 AM   #17
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> Peter D. wrote:
>>> What I can't figure out is how to read the temperature of the CPU core,

>>
>> Have you installed "lmsensors"?

>
> Thanks for the suggestion, Peter. Yep, lm_sensors is installed, but
> that only reads the outputs of the sensor chip. (I've figured out what
> most of those values indicate on my system, but that's another topic.)
> There's some registers in the CPU that measure the actual core temp.
>
> I'm still running lm_sensors version 2.10.4, because version 3 won't
> compile correctly on my system. Both use module 'coretemp' to get the
> value I'm looking for. I found C source for some version of module
> 'coretemp' (also won't compile correctly on my system) and will be
> looking over it later today. Any suggestions, anybody, on what to do
> next? Thanks!
>
> Adam


i think you might need the k8temp module as i need this to read the
core temperatures of my dual core cpu
 
Unread 09-01-2008, 12:02 AM   #18
Adam
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Darklight wrote:
>> I'm still running lm_sensors version 2.10.4, because version 3 won't
>> compile correctly on my system. Both use module 'coretemp' to get the
>> value I'm looking for.

>
> i think you might need the k8temp module as i need this to read the
> core temperatures of my dual core cpu


Thanks for your help! Unfortunately it didn't seem to make any
difference on my system. I think 'k8temp' is for AMD CPUs, and Intel
chips (like my Celeron) need 'coretemp'.

Adam
 
Unread 09-01-2008, 12:02 AM   #19
Adam
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Peter D. wrote:
>> What I can't figure out is how to read the temperature of the CPU core,

>
> Have you installed "lmsensors"?


Thanks for the suggestion, Peter. Yep, lm_sensors is installed, but
that only reads the outputs of the sensor chip. (I've figured out what
most of those values indicate on my system, but that's another topic.)
There's some registers in the CPU that measure the actual core temp.

I'm still running lm_sensors version 2.10.4, because version 3 won't
compile correctly on my system. Both use module 'coretemp' to get the
value I'm looking for. I found C source for some version of module
'coretemp' (also won't compile correctly on my system) and will be
looking over it later today. Any suggestions, anybody, on what to do
next? Thanks!

Adam
 
Unread 09-01-2008, 12:03 AM   #20
Adam
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Darklight wrote:
>> I'm still running lm_sensors version 2.10.4, because version 3 won't
>> compile correctly on my system. Both use module 'coretemp' to get the
>> value I'm looking for.

>
> i think you might need the k8temp module as i need this to read the
> core temperatures of my dual core cpu


Thanks for your help! Unfortunately it didn't seem to make any
difference on my system. I think 'k8temp' is for AMD CPUs, and Intel
chips (like my Celeron) need 'coretemp'.

Adam
 
 

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 10:43 AM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional