TechTalkz.com Logo

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

Notices

Reading CPU Core Temp

Mandriva Linux


Reply
 
Thread Tools Display Modes
Old 09-01-2008, 05:33 AM   #21
David W. Hodgins
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

On Fri, 04 Jan 2008 18:44:24 -0500, Adam <.address> wrote:

> system, a bottom-of-the-line Compaq (aka HP) desktop with a Celeron 420
> CPU, and installing Mandriva 2008.0, kernel 2.6.22.12-desktop-1mdv .
> What I can't figure out is how to read the temperature of the CPU core,


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?

Mine has Intel(R) Celeron(R) CPU 2.40GHz,
Family, model, stepping 15, 3, 4 (Pentium 4).

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

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 05:34 AM   #22
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
  Reply With Quote
Old 09-01-2008, 05:34 AM   #23
David W. Hodgins
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

On Fri, 04 Jan 2008 18:44:24 -0500, Adam <.address> wrote:

> system, a bottom-of-the-line Compaq (aka HP) desktop with a Celeron 420
> CPU, and installing Mandriva 2008.0, kernel 2.6.22.12-desktop-1mdv .
> What I can't figure out is how to read the temperature of the CPU core,


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?

Mine has Intel(R) Celeron(R) CPU 2.40GHz,
Family, model, stepping 15, 3, 4 (Pentium 4).

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

> 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?

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 05:35 AM   #24
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> 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


ok try this:




I don't know if you can do this but if you can install opensuse rpms get
these two rmps and see what happens

k8temp-kmp-default-0.0_2.6.18.8_0.3-1.guru.suse102.i586.rpm
k8temp-kmp-bigsmp-0.0_2.6.18.8_0.3-1.guru.suse102.i586.rpm

or below before the k8temp rpm came out i used this shell script to load the
k8temp module

#!/bin/sh

cd /home/username/.amd_digital_temp:
insmod k8temp.ko

i can't remember where i down loaded the module from thou or if you can
still down load it
  Reply With Quote
Old 09-01-2008, 05:35 AM   #25
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
  Reply With Quote
Old 09-01-2008, 05:35 AM   #26
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,

>
> 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
  Reply With Quote
Old 09-01-2008, 05:36 AM   #27
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
  Reply With Quote
Old 09-01-2008, 05:38 AM   #28
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
  Reply With Quote
Old 09-01-2008, 05:38 AM   #29
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> 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


ok try this:




I don't know if you can do this but if you can install opensuse rpms get
these two rmps and see what happens

k8temp-kmp-default-0.0_2.6.18.8_0.3-1.guru.suse102.i586.rpm
k8temp-kmp-bigsmp-0.0_2.6.18.8_0.3-1.guru.suse102.i586.rpm

or below before the k8temp rpm came out i used this shell script to load the
k8temp module

#!/bin/sh

cd /home/username/.amd_digital_temp:
insmod k8temp.ko

i can't remember where i down loaded the module from thou or if you can
still down load it
  Reply With Quote
Old 09-01-2008, 05:38 AM   #30
Darklight
Guest
 
Posts: n/a
Re: Reading CPU Core Temp

Adam wrote:

> 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


ok try this:




I don't know if you can do this but if you can install opensuse rpms get
these two rmps and see what happens

k8temp-kmp-default-0.0_2.6.18.8_0.3-1.guru.suse102.i586.rpm
k8temp-kmp-bigsmp-0.0_2.6.18.8_0.3-1.guru.suse102.i586.rpm

or below before the k8temp rpm came out i used this shell script to load the
k8temp module

#!/bin/sh

cd /home/username/.amd_digital_temp:
insmod k8temp.ko

i can't remember where i down loaded the module from thou or if you can
still down load it
  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:29 PM.


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