Skip to contentSkip to conversation

Gigabyte GA-D525 core temps N/A?

lm-sensors [email protected] 3 participants 19 messages Jun 16, 2011 – Jun 18, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I'm running Ubuntu Server 10.4 LTS (64 bit) on a Gigabyte GA-D525 board and have downloaded, built and installed the latest version of lm- sensors (using 'sensors -v' it reports 'sensors version 3.3.0 with libsensors version 3.3.0'), as far as I can tell I've done this correctly.

I ran 'sensors-detect' and answered all of the questions and let it do its thing.

On checking what gets reported through
'sensors' I get the following which appears to be failing to report the temperatures of the cores (I also wonder why it's attempting to report four when it's only a dual core processor) although I do get some temperatures at the bottom:

coretemp-isa-0000
Adapter: ISA adapter

Core 0: N/A (crit = +100.0°C)

coretemp-isa-0001
Adapter:
ISA adapter
Core 1: N/A (crit = +100.0°C)

coretemp-isa-
0002
Adapter: ISA adapter
Core 2: N/A (crit = +100.0°C)

coretemp-isa-0003
Adapter: ISA adapter
Core 3: N/A (crit =
+100.0°C)

it8720-isa-0290
Adapter: ISA adapter
in0: +1.10 V
(min = +0.00 V, max = +4.08 V)
in1: +1.52 V (min = +0.00
V, max = +4.08 V)
in2: +3.31 V (min = +0.00 V, max = +4.08
V)
in3: +2.98 V (min = +0.00 V, max = +4.08 V)

in4: +3.09 V (min = +0.00 V, max = +4.08 V)
in5:
+4.08 V (min = +0.00 V, max = +4.08 V) ALARM
in6: +4.08 V
(min = +0.00 V, max = +4.08 V) ALARM
in7: +2.18 V (min =
+0.00 V, max = +4.08 V)

Vbat:         +3.06 V
fan1:        3857 RPM  

(min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
temp1:
-55.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor

temp2: +64.0°C (low = +127.0°C, high = +127.0°C) sensor =
thermistor
temp3: +30.0°C (low = +127.0°C, high = +127.0°
C) sensor = thermal diode
cpu0_vid: +1.850 V

From what I
understand 'coretemp' is reporting the core temperatures and the other stuff is from'it87' (these are also in '/etc/modules')

I also noticed
that someone else has reported what appears to be a similar or the same
problems with this board back in April (http://lists.lm-sensors.org/pipermail/lm-sensors/2011-April/032332.html
, oddly they only got two core temperature reading attempts.

Hopefully
someone can respond and help me out, no one appears to have replied to the other posting unfortunately. I'm willing to try out any code changes and run tests that may be required.

Thanks
Dave

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 34 lines · On Thu, Jun 16, 2011 at 02:21:21PM -0400, [email protected] wrote:

Hi,

I'm running Ubuntu Server 10.4 LTS (64 bit) on a Gigabyte GA-D525 board and have downloaded, built and installed the latest version of lm- sensors (using 'sensors -v' it reports 'sensors version 3.3.0 with libsensors version 3.3.0'), as far as I can tell I've done this correctly.

I ran 'sensors-detect' and answered all of the questions and let it do its thing.

On checking what gets reported through
'sensors' I get the following which appears to be failing to report the temperatures of the cores (I also wonder why it's attempting to report four when it's only a dual core processor) although I do get some temperatures at the bottom:

coretemp-isa-0000
Adapter: ISA adapter

Core 0: N/A (crit = +100.0°C)

coretemp-isa-0001
Adapter:
ISA adapter
Core 1: N/A (crit = +100.0°C)

coretemp-isa-
0002
Adapter: ISA adapter
Core 2: N/A (crit = +100.0°C)

Quoted 5 lines

coretemp-isa-0003
Adapter: ISA adapter
Core 3: N/A (crit =
+100.0°C)

Your CPU may support hyperthreading. Older versions of the driver don't take this into account.

Quoted 30 lines

it8720-isa-0290
Adapter: ISA adapter
in0: +1.10 V
(min = +0.00 V, max = +4.08 V)
in1: +1.52 V (min = +0.00
V, max = +4.08 V)
in2: +3.31 V (min = +0.00 V, max = +4.08
V)
in3: +2.98 V (min = +0.00 V, max = +4.08 V)

in4: +3.09 V (min = +0.00 V, max = +4.08 V)
in5:
+4.08 V (min = +0.00 V, max = +4.08 V) ALARM
in6: +4.08 V
(min = +0.00 V, max = +4.08 V) ALARM
in7: +2.18 V (min =
+0.00 V, max = +4.08 V)

Vbat:         +3.06 V
fan1:        3857 RPM  

(min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
temp1:
-55.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor

temp2: +64.0°C (low = +127.0°C, high = +127.0°C) sensor =
thermistor
temp3: +30.0°C (low = +127.0°C, high = +127.0°
C) sensor = thermal diode
cpu0_vid: +1.850 V

Quoted 4 lines

From what I
understand 'coretemp' is reporting the core temperatures and the other stuff is from'it87' (these are also in '/etc/modules')

Yes.

Quoted 5 lines

I also noticed
that someone else has reported what appears to be a similar or the same
problems with this board back in April (http://lists.lm-sensors.org/pipermail/lm-sensors/2011-April/032332.html
, oddly they only got two core temperature reading attempts.

Newer kernel version, most likely.

No idea what is going on. You might try to build and compile the latest version of the coretemp driver to see if it improves the situation. You can download it from http://roeck-us.net/linux/drivers/coretemp/.

Can you provide output of /proc/cpuinfo ?

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to [email protected]

Thanks for the fast response, replies to your questions are below...

Quoted 3 lines

----Original Message----
From: [email protected]
Date:

16/06/2011 19:39

Quoted 1 line

To: "[email protected]"

<[email protected]>

Quoted 1 line

[email protected]>

Quoted 1 line

Subj: Re: [lm-sensors] Gigabyte GA-D525 core

temps N/A?

Quoted 2 lines

On Thu, Jun 16, 2011 at 02:21:21PM -0400,

Quoted 3 lines · [email protected] wrote:
Quoted 3 lines

Hi,

I'm running Ubuntu

Server 10.4 LTS (64 bit) on a Gigabyte GA-D525

Quoted 1 line
Quoted 1 line

board and have

downloaded, built and installed the latest version of lm-

Quoted 1 line
Quoted 1 line

sensors

(using 'sensors -v' it reports 'sensors version 3.3.0 with

Quoted 1 line
Quoted 1 line

libsensors version 3.3.0'), as far as I can tell I've done this

Quoted 1 line
Quoted 1 line

correctly.

Quoted 2 lines
Quoted 2 lines

I ran 'sensors-detect' and answered all of the

questions

Quoted 3 lines
Quoted 3 lines

and let it do its thing.

On checking what gets

reported through

Quoted 1 line
Quoted 1 line

'sensors' I get the following which appears to be

failing to report the

Quoted 1 line
Quoted 1 line

temperatures of the cores (I also wonder why

it's attempting to report

Quoted 1 line
Quoted 1 line

four when it's only a dual core

processor) although I do get some

Quoted 8 lines
Quoted 8 lines

temperatures at the bottom:

coretemp-isa-0000
Adapter: ISA adapter

Core

0: N/A (crit = +100.0°C)

Quoted 3 lines
Quoted 3 lines

coretemp-isa-0001

Adapter:

Quoted 8 lines
Quoted 8 lines

ISA adapter
Core 1: N/A (crit = +100.0°C)

coretemp-isa-
0002
Adapter: ISA adapter
Core

2: N/A (crit = +100.0°C)

Quoted 4 lines
Quoted 4 lines

coretemp-isa-0003

Adapter: ISA adapter

Quoted 8 lines
Quoted 4 lines

Core 3: N/A (crit =
+100.0°C)

Your CPU may support hyperthreading. Older versions of the driver

don't take this into account.

It's an Intel Atom D525 which
according to the specs does support hyperthreading, I did think that may have been why.

Quoted 3 lines
Quoted 3 lines

it8720-isa-0290
Adapter: ISA adapter

in0: +1.10 V

Quoted 2 lines
Quoted 2 lines

(min = +0.00 V, max = +4.08 V)

in1: +1.52 V (min = +0.00

Quoted 2 lines
Quoted 2 lines

V, max = +4.08 V)

in2: +3.31 V (min = +0.00 V, max = +4.08

Quoted 2 lines
Quoted 2 lines

V)

in3: +2.98 V (min = +0.00 V, max = +4.08 V)

Quoted 2 lines
Quoted 2 lines

in4: +3.09 V (min = +0.00 V, max = +4.08 V)

Quoted 1 line
Quoted 1 line

in5:

Quoted 2 lines
Quoted 2 lines

+4.08 V (min = +0.00 V, max = +4.08 V) ALARM

in6: +4.08 V

Quoted 2 lines
Quoted 2 lines

(min = +0.00 V, max = +4.08 V) ALARM

in7: +2.18 V (min =

Quoted 2 lines
Quoted 2 lines

+0.00 V, max = +4.08 V)

Vbat: +3.06 V

Quoted 3 lines
Quoted 3 lines

fan1: 3857 RPM
(min = 0 RPM)

fan2: 0 RPM (min = 0 RPM)

Quoted 2 lines
Quoted 2 lines

temp1:
-55.0°C

(low = +127.0°C, high = +127.0°C) sensor = thermistor

Quoted 2 lines
Quoted 2 lines

temp2: +64.0°C (low = +127.0°C, high = +127.0°C) sensor =

Quoted 2 lines
Quoted 2 lines

thermistor
temp3: +30.0°C (low = +127.0°C, high = +127.

0°

Quoted 4 lines
Quoted 4 lines

C) sensor = thermal diode
cpu0_vid: +1.850 V

From

what I

Quoted 1 line
Quoted 1 line

understand 'coretemp' is reporting the core temperatures and

the other

Quoted 7 lines
Quoted 3 lines

stuff is from'it87' (these are also in '/etc/modules')

Yes.

Quoted 2 lines

I also noticed
that someone else has reported what

appears to be a similar or the same

Quoted 1 line
Quoted 1 line

problems with this board back

in April (http://lists.lm-sensors.org/pipermail/lm-sensors/2011-April/032332.html

Quoted 6 lines
Quoted 2 lines

, oddly they only got two core temperature reading attempts.

Newer kernel version, most likely.

No idea what is going on. You

might try to build and compile the latest

Quoted 1 line

version of the coretemp

driver to see if it improves the situation.

Quoted 2 lines

You can download it from http://roeck-us.net/linux/drivers/coretemp/.

Sadly that may be where my knowledge of building things under Ubuntu (or any Linux) falls somewhat flat. I'll take a look on-line for how to do it but if you can quickly let me know that'll make the turn around faster.

Quoted 2 lines

Can you provide output of /proc/cpuinfo ?

Yep:

processor : 0
vendor_id : GenuineIntel
cpu family : 6

model : 28
model name : Intel(R) Atom(TM) CPU D525 @
1.80GHz
stepping : 10
cpu MHz : 1799.720
cache size
: 512 KB
physical id : 0
siblings : 4
core id : 0

cpu cores : 2
apicid : 0
initial apicid : 0

fpu : yes
fpu_exception : yes
cpuid level : 10

wp : yes
flags : fpu vme de pse tsc msr pae mce
cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3599.44
clflush size : 64

cache_alignment : 64
address sizes : 36 bits physical, 48 bits
virtual
power management:

processor : 1
vendor_id :
GenuineIntel
cpu family : 6
model : 28
model name :
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
stepping : 10
cpu
MHz : 1799.720
cache size : 512 KB
physical id : 0

siblings : 4
core id : 1
cpu cores : 2

apicid : 2
initial apicid : 2
fpu : yes

fpu_exception : yes
cpuid level : 10
wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm

bogomips : 3599.91
clflush size : 64
cache_alignment : 64

address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6

model : 28
model name : Intel(R) Atom(TM) CPU D525 @
1.80GHz
stepping : 10
cpu MHz : 1799.720
cache size
: 512 KB
physical id : 0
siblings : 4
core id : 1

cpu cores : 2
apicid : 3
initial apicid : 3

fpu : yes
fpu_exception : yes
cpuid level : 10

wp : yes
flags : fpu vme de pse tsc msr pae mce
cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm
bogomips : 3599.92
clflush size : 64

cache_alignment : 64
address sizes : 36 bits physical, 48 bits
virtual
power management:

processor : 3
vendor_id :
GenuineIntel
cpu family : 6
model : 28
model name :
Intel(R) Atom(TM) CPU D525 @ 1.80GHz
stepping : 10
cpu
MHz : 1799.720
cache size : 512 KB
physical id : 0

siblings : 4
core id : 0
cpu cores : 2

apicid : 1
initial apicid : 1
fpu : yes

fpu_exception : yes
cpuid level : 10
wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm

bogomips : 3599.90
clflush size : 64
cache_alignment : 64

address sizes : 36 bits physical, 48 bits virtual
power management:

Quoted 3 lines

Thanks,
Guenter

Hope that helps.

Cheers,
Dave

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to [email protected]
Quoted 12 lines · On Thu, 16 Jun 2011 20:03:09 +0100 (BST), [email protected] wrote:

Thanks for the fast response, replies to your questions are below...

Quoted 8 lines

----Original Message----
From: [email protected]
No idea what is going on. You
might try to build and compile the latest
version of the coretemp
driver to see if it improves the situation.
You can download it from http://roeck-us.net/linux/drivers/coretemp/.

Quoted 4 lines

Sadly that may be where my knowledge of building things under Ubuntu (or any Linux) falls somewhat flat. I'll take a look on-line for how to do it but if you can quickly let me know that'll make the turn around faster.

http://khali.linux-fr.org/devel/misc/INSTALL

may help. It's not Ubuntu-specific, but the Debian hints may work.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to [email protected]
Quoted 148 lines · On Thu, Jun 16, 2011 at 03:03:09PM -0400, [email protected] wrote:

Thanks for the fast response, replies to your questions are below...

Quoted 3 lines

----Original Message----
From: [email protected]
Date:

16/06/2011 19:39

Quoted 1 line

To: "[email protected]"

<[email protected]>

Quoted 1 line

[email protected]>

Quoted 1 line

Subj: Re: [lm-sensors] Gigabyte GA-D525 core

temps N/A?

Quoted 2 lines

On Thu, Jun 16, 2011 at 02:21:21PM -0400,

Quoted 3 lines · [email protected] wrote:
Quoted 3 lines

Hi,

I'm running Ubuntu

Server 10.4 LTS (64 bit) on a Gigabyte GA-D525

Quoted 1 line
Quoted 1 line

board and have

downloaded, built and installed the latest version of lm-

Quoted 1 line
Quoted 1 line

sensors

(using 'sensors -v' it reports 'sensors version 3.3.0 with

Quoted 1 line
Quoted 1 line

libsensors version 3.3.0'), as far as I can tell I've done this

Quoted 1 line
Quoted 1 line

correctly.

Quoted 2 lines
Quoted 2 lines

I ran 'sensors-detect' and answered all of the

questions

Quoted 3 lines
Quoted 3 lines

and let it do its thing.

On checking what gets

reported through

Quoted 1 line
Quoted 1 line

'sensors' I get the following which appears to be

failing to report the

Quoted 1 line
Quoted 1 line

temperatures of the cores (I also wonder why

it's attempting to report

Quoted 1 line
Quoted 1 line

four when it's only a dual core

processor) although I do get some

Quoted 8 lines
Quoted 8 lines

temperatures at the bottom:

coretemp-isa-0000
Adapter: ISA adapter

Core

0: N/A (crit = +100.0°C)

Quoted 3 lines
Quoted 3 lines

coretemp-isa-0001

Adapter:

Quoted 8 lines
Quoted 8 lines

ISA adapter
Core 1: N/A (crit = +100.0°C)

coretemp-isa-
0002
Adapter: ISA adapter
Core

2: N/A (crit = +100.0°C)

Quoted 4 lines
Quoted 4 lines

coretemp-isa-0003

Adapter: ISA adapter

Quoted 8 lines
Quoted 4 lines

Core 3: N/A (crit =
+100.0°C)

Your CPU may support hyperthreading. Older versions of the driver

don't take this into account.

It's an Intel Atom D525 which
according to the specs does support hyperthreading, I did think that may have been why.

Quoted 3 lines
Quoted 3 lines

it8720-isa-0290
Adapter: ISA adapter

in0: +1.10 V

Quoted 2 lines
Quoted 2 lines

(min = +0.00 V, max = +4.08 V)

in1: +1.52 V (min = +0.00

Quoted 2 lines
Quoted 2 lines

V, max = +4.08 V)

in2: +3.31 V (min = +0.00 V, max = +4.08

Quoted 2 lines
Quoted 2 lines

V)

in3: +2.98 V (min = +0.00 V, max = +4.08 V)

Quoted 2 lines
Quoted 2 lines

in4: +3.09 V (min = +0.00 V, max = +4.08 V)

Quoted 1 line
Quoted 1 line

in5:

Quoted 2 lines
Quoted 2 lines

+4.08 V (min = +0.00 V, max = +4.08 V) ALARM

in6: +4.08 V

Quoted 2 lines
Quoted 2 lines

(min = +0.00 V, max = +4.08 V) ALARM

in7: +2.18 V (min =

Quoted 2 lines
Quoted 2 lines

+0.00 V, max = +4.08 V)

Vbat: +3.06 V

Quoted 3 lines
Quoted 3 lines

fan1: 3857 RPM
(min = 0 RPM)

fan2: 0 RPM (min = 0 RPM)

Quoted 2 lines
Quoted 2 lines

temp1:
-55.0°C

(low = +127.0°C, high = +127.0°C) sensor = thermistor

Quoted 2 lines
Quoted 2 lines

temp2: +64.0°C (low = +127.0°C, high = +127.0°C) sensor =

Quoted 2 lines
Quoted 2 lines

thermistor
temp3: +30.0°C (low = +127.0°C, high = +127.

0°

Quoted 4 lines
Quoted 4 lines

C) sensor = thermal diode
cpu0_vid: +1.850 V

From

what I

Quoted 1 line
Quoted 1 line

understand 'coretemp' is reporting the core temperatures and

the other

Quoted 7 lines
Quoted 3 lines

stuff is from'it87' (these are also in '/etc/modules')

Yes.

Quoted 2 lines

I also noticed
that someone else has reported what

appears to be a similar or the same

Quoted 1 line
Quoted 1 line

problems with this board back

in April (http://lists.lm-sensors.org/pipermail/lm-sensors/2011-April/032332.html

Quoted 6 lines
Quoted 2 lines

, oddly they only got two core temperature reading attempts.

Newer kernel version, most likely.

No idea what is going on. You

might try to build and compile the latest

Quoted 1 line

version of the coretemp

Quoted 9 lines

driver to see if it improves the situation.

Quoted 2 lines

You can download it from http://roeck-us.net/linux/drivers/coretemp/.

Sadly that may be where my knowledge of building things under Ubuntu (or any Linux) falls somewhat flat. I'll take a look on-line for how to do it but if you can quickly let me know that'll make the turn around faster.

Download the two files into some directory, then run "make" in it. You may have to install the linux-headers package first, and possibly the C compiler (gcc) and/or make.

After make succeeds, run "sudo make install" followed by "sudo modprobe -r coretemp" and "sudo modprobe coretemp".

Something like

mkdir coretemp
cd coretemp
wget http://roeck-us.net/linux/drivers/coretemp/coretemp.c
wget http://roeck-us.net/linux/drivers/coretemp/Makefile
sudo apt-get install make # if necessary
sudo apt-get install gcc # if necessary
make
# Note: make will likely fail and tell you the missing headers, such as #make: *** /usr/src/linux-headers-2.6.35-25-server: No such file or directory. Stop. #make: *** [modules] Error 2
sudo apt-get install linux-headers-2.6.35-25-server # or whatever linux version you run
make
sudo make install
sudo modprobe -r coretemp
sudo modprobe coretemp

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#5 lore raw
In reply to [email protected]

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

CC [M] /home/dave/coretemp/coretemp.o

/home/dave/coretemp/coretemp.c: In function âget_tjmaxâ:

/home/dave/coretemp/coretemp.c:290: error:
âMSR_IA32_TEMPERATURE_TARGETâ undeclared (first use in this function)

/home/dave/coretemp/coretemp.c:290: error: (Each undeclared identifier is reported only once
/home/dave/coretemp/coretemp.c:290: error: for
each function it appears in.) /home/dave/coretemp/coretemp.c: In
function âget_pkg_tjmaxâ:
/home/dave/coretemp/coretemp.c:326: error:
âMSR_IA32_TEMPERATURE_TARGETâ undeclared (first use in this function)

/home/dave/coretemp/coretemp.c: In function âcreate_name_attrâ:

/home/dave/coretemp/coretemp.c:338: error: implicit declaration of function âsysfs_attr_initâ
/home/dave/coretemp/coretemp.c: In function âupdate_ttargetâ:
/home/dave/coretemp/coretemp.c:401: error:
âMSR_IA32_TEMPERATURE_TARGETâ undeclared (first use in this function)

/home/dave/coretemp/coretemp.c: In function âinit_temp_dataâ:

/home/dave/coretemp/coretemp.c:467: error:
âMSR_IA32_PACKAGE_THERM_STATUSâ undeclared (first use in this function)

/home/dave/coretemp/coretemp.c: In function âget_core_onlineâ:

/home/dave/coretemp/coretemp.c:715: error: âX86_FEATURE_DTSâ undeclared (first use in this function) /home/dave/coretemp/coretemp.c:732: error:
âX86_FEATURE_PTSâ undeclared (first use in this function) make[2]: ***
[/home/dave/coretemp/coretemp.o] Error 1
make[1]: ***
[_module_/home/dave/coretemp] Error 2
make: *** [modules] Error 2

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Any suggestions?
I'll keep looking on-line...

Thanks,
Dave

Quoted 2 lines
Quoted 2 lines

Sadly that may be

where my knowledge of building things under Ubuntu

Quoted 1 line
Quoted 1 line

(or any Linux)

falls somewhat flat. I'll take a look on-line for how

Quoted 1 line
Quoted 1 line

to do it but

if you can quickly let me know that'll make the turn

Quoted 10 lines
Quoted 3 lines

around faster.

Download the two files into some directory, then run "make" in it.

You may have to install the linux-headers package first, and possibly

the C compiler (gcc) and/or make.

After make succeeds, run "sudo

make install" followed by "sudo modprobe -r coretemp"

Quoted 1 line

and "sudo

modprobe coretemp".

Quoted 9 lines

Something like

mkdir coretemp
cd coretemp

wget http://roeck-us.net/linux/drivers/coretemp/coretemp.c>wget http://roeck-us.net/linux/drivers/coretemp/Makefile
sudo apt-get install make # if necessary
sudo apt-get install

gcc # if necessary

Quoted 2 lines

make
# Note: make will likely fail and tell

you the missing headers, such as

Quoted 1 line

#make: *** /usr/src/linux-headers-

2.6.35-25-server: No such file or directory. Stop.

Quoted 1 line

#make: ***

[modules] Error 2

Quoted 1 line

sudo apt-get install linux-headers-2.6.35-25-server

# or whatever linux version you run
Quoted 3 lines

make
sudo make install
sudo

modprobe -r coretemp

Quoted 4 lines

sudo modprobe coretemp

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#6 lore raw
In reply to [email protected]
Quoted 11 lines · On Thu, Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

[ ... ]

Quoted 7 lines

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Any suggestions?
I'll keep looking on-line...

The build worked for me with linux-headers-2.6.32-25-server. Can you update your system to the latest kernel version and try again ? It should be 2.6.32-32 as far as I can see.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#7 lore raw
In reply to [email protected]
Quoted 18 lines · Guenter Roeck
Quoted 11 lines · On Thu, Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

[ ... ]

Quoted 5 lines

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Quoted 7 lines
Quoted 2 lines

Any suggestions?
I'll keep looking on-line...

The build worked for me with linux-headers-2.6.32-25-server. Can you update your system to the latest kernel version and try again ? It should be 2.6.32-32 as far as I can see.

Sorry, I got that wrong; it was 2.6.35-25, not 2.6.32-25.

Wel'll have to add the missing defines manually. I'll send you an update later tonight.

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#8 lore raw
In reply to [email protected]
Quoted 18 lines · Guenter Roeck
Quoted 11 lines · On Thu, Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

[ ... ]

Quoted 5 lines

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Quoted 6 lines
Quoted 2 lines

Any suggestions?
I'll keep looking on-line...

The build worked for me with linux-headers-2.6.32-25-server. Can you update your system to the latest kernel version and try again ? It should be 2.6.32-32 as far as I can see.

FWIW my own backport of the coretemp driver at:
http://khali.linux-fr.org/devel/misc/coretemp/
includes compatibility quirks which may help. I don't know if Guenter's has the same.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#9 lore raw
In reply to [email protected]
Quoted 22 lines · Guenter Roeck
Quoted 21 lines · Guenter Roeck
Quoted 11 lines · On Thu, Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

[ ... ]

Quoted 7 lines

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Any suggestions?
I'll keep looking on-line...

Quoted 7 lines
Quoted 4 lines

The build worked for me with linux-headers-2.6.32-25-server. Can you update your system to the latest kernel version and try again ? It should be 2.6.32-32 as far as I can see.

Sorry, I got that wrong; it was 2.6.35-25, not 2.6.32-25.

Wel'll have to add the missing defines manually. I'll send you an update later tonight.

I've attached my compatibility patch for your reference. But it's probably easier for Dave to just use my driver.

Signature · 1 line
Jean Delvare
---
 coretemp.c |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
coretemp.c +20 -0
@@ -36,9 +36,21 @@
 #include <linux/cpu.h>
 #include <linux/pci.h>
 #include <linux/smp.h>
+#include <linux/version.h>
 #include <asm/msr.h>
 #include <asm/processor.h>
 
+#ifndef MSR_IA32_TEMPERATURE_TARGET
+#define MSR_IA32_TEMPERATURE_TARGET		0x000001a2
+#endif
+#ifndef MSR_IA32_PACKAGE_THERM_STATUS
+#define MSR_IA32_PACKAGE_THERM_STATUS		0x000001b1
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 34)
+#define sysfs_attr_init(attr)	do {} while(0)
+#endif
+
 #define DRVNAME	"coretemp"
 
 #define BASE_SYSFS_ATTR_NO	2	/* Sysfs Base attr no for coretemp */
@@ -712,7 +724,11 @@ static void __cpuinit get_core_online(un
 	 * sensors. We check this bit only, all the early CPUs
 	 * without thermal sensors will be filtered out.
 	 */
+#ifdef X86_FEATURE_DTS
 	if (!cpu_has(c, X86_FEATURE_DTS))
+#else
+	if (c->cpuid_level < 6 || !(cpuid_eax(0x06) & 0x01))
+#endif
 		return;
 
 	if (!pdev) {
@@ -729,7 +745,11 @@ static void __cpuinit get_core_online(un
 		 * Check whether pkgtemp support is available.
 		 * If so, add interfaces for pkgtemp.
 		 */
+#ifdef X86_FEATURE_PTS
 		if (cpu_has(c, X86_FEATURE_PTS))
+#else
+		if (c->cpuid_level >= 6 && cpuid_eax(0x06) & 0x40)
+#endif
 			coretemp_add_core(cpu, 1);
 	}
 	/*

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#10 lore raw
In reply to [email protected]
Quoted 22 lines · Jean Delvare
Quoted 21 lines · Guenter Roeck
Quoted 11 lines · On Thu, Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

[ ... ]

Quoted 7 lines

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Any suggestions?
I'll keep looking on-line...

Quoted 9 lines
Quoted 3 lines

The build worked for me with linux-headers-2.6.32-25-server. Can you update your system to the latest kernel version and try again ? It should be 2.6.32-32 as far as I can see.

FWIW my own backport of the coretemp driver at:
http://khali.linux-fr.org/devel/misc/coretemp/
includes compatibility quirks which may help. I don't know if Guenter's has the same.

No, my version doesn't have any compatibility stuff, so using your driver may be a better choice (and save me some time).

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#11 lore raw
In reply to [email protected]
Quoted 27 lines · Jean Delvare
Quoted 26 lines · Guenter Roeck
Quoted 25 lines · Guenter Roeck
Quoted 11 lines · On Thu, Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:

Thanks Guenter & Jean for the replies.

I found this web page with some
info and was following that (but just used the Makefile as downloaded):

https://wiki.ubuntu.com/CoreTemp
That checked and updated a few things
plus downloaded other (it covered everything Guenter had suggested) but I still get errors:

[ ... ]

Quoted 7 lines

I
would have assumed that 'MSR_IA32_TEMPERATURE_TARGET' would be defined in a header file and that that would be in the 'linux-headers-2.6.32-24- server' package that was downloaded, perhaps not?

Any suggestions?
I'll keep looking on-line...

The build worked for me with linux-headers-2.6.32-25-server. Can you update your system to the latest kernel version and try again ? It should be 2.6.32-32 as far as I can see.

Quoted 7 lines
Quoted 3 lines

Sorry, I got that wrong; it was 2.6.35-25, not 2.6.32-25.

Wel'll have to add the missing defines manually. I'll send you an update later tonight.

I've attached my compatibility patch for your reference. But it's probably easier for Dave to just use my driver.

Yes, agreed.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#12 lore raw
In reply to [email protected]

Guenter & Jean, thanks for the continued help.

I got slightly bogged
down yesterday attempting to upgrade my install - I tried 'apt-get update' which downloaded a few things but didn't fix the problem so I then tried 'apt-get upgrade' (I'm not sure on the difference between the two...) which downloaded even more and then got into trouble, ending with a segmentation fault! I rebooted and continued but got more issues and had to stop as it was getting late.

I've since resumed
and managed to get where I am now with what I hope is a fully upgraded install but I still get the same compile errors.

So, I've grabbed
Jean's file and followed Guenter's instructions to build and install those, all went well. On running 'sensors' I still get 'N/A' for the core temps but at least I only get two:

coretemp-isa-0000
Adapter: ISA
adapter
Core 0: N/A (high = +80.0°C, crit = +100.0°C)
Core
1: N/A (high = +80.0°C, crit = +100.0°C)

it8720-isa-0290

Adapter: ISA adapter
in0: +1.10 V (min = +0.00 V, max = +4.
08 V)
in1: +1.52 V (min = +0.00 V, max = +4.08 V)

in2: +3.31 V (min = +0.00 V, max = +4.08 V)
in3:
+2.98 V (min = +0.00 V, max = +4.08 V)
in4: +3.07 V (min
= +0.00 V, max = +4.08 V)
in5: +4.08 V (min = +0.00 V, max
= +4.08 V) ALARM
in6: +4.08 V (min = +0.00 V, max = +4.08
V) ALARM
in7: +2.18 V (min = +0.00 V, max = +4.08 V)

Vbat:         +3.06 V
fan1:        3994 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
temp1:        -55.0°C  (low  = 

+127.0°C, high = +127.0°C) sensor = thermistor
temp2: +63.0°
C (low = +127.0°C, high = +127.0°C) sensor = thermistor

temp3: +29.0°C (low = +127.0°C, high = +127.0°C) sensor =
thermal diode
cpu0_vid: +1.850 V

Any further thoughts?

Btw, how
do you apply a patch file?

Thanks,
Dave

Quoted 5 lines

----Original Message----

From: [email protected]
Date: 16/06/2011 23:43
To: "Jean

Delvare"<[email protected]>

Quoted 1 line

<[email protected]>, "[email protected]"<lm- [email protected]>

Quoted 1 line

Subj: Re: [lm-sensors] Gigabyte GA-D525 core

temps N/A?

Quoted 3 lines · Jean Delvare
Quoted 1 line
Quoted 1 line · Guenter Roeck
Quoted 1 line
Quoted 1 line

On Thu,

Quoted 1 line · Guenter Roeck
Quoted 1 line
Quoted 1 line
Quoted 1 line

On Thu,

Quoted 4 lines · Jun 16, 2011 at 04:06:10PM -0400, [email protected] wrote:
Quoted 4 lines
Quoted 4 lines

Thanks Guenter & Jean for the replies.

Quoted 2 lines
Quoted 2 lines

I found

this web page with some

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

info and was following that (but just

used the Makefile as downloaded):

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

https://wiki.ubuntu.com/CoreTemp>> > > > That checked and

updated a few things

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

plus downloaded other (it covered

everything Guenter had suggested) but

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line

I still get errors:

[ ... ]

Quoted 2 lines

I
would have assumed that

'MSR_IA32_TEMPERATURE_TARGET' would be defined

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

in a header

file and that that would be in the 'linux-headers-2.6.32-24-

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

server' package that was downloaded, perhaps not?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Any suggestions?

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

I'll keep looking on-line...

The build worked for me with linux-headers-2.6.32-25-server.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Can

you update your system to the latest kernel version and try again ?

Quoted 4 lines
Quoted 4 lines

It should be 2.6.32-32 as far as I can see.

Quoted 2 lines
Quoted 1 line

Sorry, I

got that wrong; it was 2.6.35-25, not 2.6.32-25.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Wel'll have

to add the missing defines manually. I'll send you an update later tonight.

Quoted 2 lines
Quoted 2 lines

I've attached my compatibility patch for your

reference. But it's

Quoted 10 lines
Quoted 3 lines

probably easier for Dave to just use my driver.

Yes, agreed.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#13 lore raw
In reply to [email protected]
Quoted 53 lines · On Fri, 2011-06-17 at 13:30 -0400, [email protected] wrote:

Guenter & Jean, thanks for the continued help.

I got slightly bogged
down yesterday attempting to upgrade my install - I tried 'apt-get update' which downloaded a few things but didn't fix the problem so I then tried 'apt-get upgrade' (I'm not sure on the difference between the two...) which downloaded even more and then got into trouble, ending with a segmentation fault! I rebooted and continued but got more issues and had to stop as it was getting late.

I've since resumed
and managed to get where I am now with what I hope is a fully upgraded install but I still get the same compile errors.

So, I've grabbed
Jean's file and followed Guenter's instructions to build and install those, all went well. On running 'sensors' I still get 'N/A' for the core temps but at least I only get two:

coretemp-isa-0000
Adapter: ISA
adapter
Core 0: N/A (high = +80.0°C, crit = +100.0°C)
Core
1: N/A (high = +80.0°C, crit = +100.0°C)

it8720-isa-0290

Adapter: ISA adapter
in0: +1.10 V (min = +0.00 V, max = +4.
08 V)
in1: +1.52 V (min = +0.00 V, max = +4.08 V)

in2: +3.31 V (min = +0.00 V, max = +4.08 V)
in3:
+2.98 V (min = +0.00 V, max = +4.08 V)
in4: +3.07 V (min
= +0.00 V, max = +4.08 V)
in5: +4.08 V (min = +0.00 V, max
= +4.08 V) ALARM
in6: +4.08 V (min = +0.00 V, max = +4.08
V) ALARM
in7: +2.18 V (min = +0.00 V, max = +4.08 V)

Vbat:         +3.06 V
fan1:        3994 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
temp1:        -55.0°C  (low  = 

+127.0°C, high = +127.0°C) sensor = thermistor
temp2: +63.0°
C (low = +127.0°C, high = +127.0°C) sensor = thermistor

Quoted 7 lines

temp3: +29.0°C (low = +127.0°C, high = +127.0°C) sensor =
thermal diode
cpu0_vid: +1.850 V

Any further thoughts?

Maybe your CPU doesn't support the temperature register ? I don't really know.

Quoted 3 lines

Btw, how
do you apply a patch file?

Usually you would use the "patch" command. Idea, though, was that you would just use Jean's driver; he sent the patch to show the differences to the upstream version.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#14 lore raw
In reply to [email protected]

Hi Dave,

Quoted 19 lines · On Fri, 17 Jun 2011 18:30:53 +0100 (BST), [email protected] wrote:

Guenter & Jean, thanks for the continued help.

I got slightly bogged
down yesterday attempting to upgrade my install - I tried 'apt-get update' which downloaded a few things but didn't fix the problem so I then tried 'apt-get upgrade' (I'm not sure on the difference between the two...) which downloaded even more and then got into trouble, ending with a segmentation fault! I rebooted and continued but got more issues and had to stop as it was getting late.

I've since resumed
and managed to get where I am now with what I hope is a fully upgraded install but I still get the same compile errors.

So, I've grabbed
Jean's file and followed Guenter's instructions to build and install those, all went well. On running 'sensors' I still get 'N/A' for the core temps but at least I only get two:

Quoted 5 lines

coretemp-isa-0000
Adapter: ISA
adapter

Core 0:           N/A  (high = +80.0°C, crit = +100.0°C)
Core 1:           N/A  (high = +80.0°C, crit = +100.0°C)

Actually this reminds me of similar issues that were reported before and never solved:
http://lists.lm-sensors.org/pipermail/lm-sensors/2010-January/027716.html
http://lists.lm-sensors.org/pipermail/lm-sensors/2010-September/029501.html
http://lists.lm-sensors.org/pipermail/lm-sensors/2010-November/030521.html

The errors look slightly different because of older versions of lm-sensors, but the problem is the same: the MSR_IA32_THERM_STATUS register fails to return a valid value.

It would be interesting to check from user-space and see what the raw MSR read returns. You'll need the msr kernel driver, as well as the msr-tools package.

# rdmsr -p 0 -x 0x19c
# rdmsr -p 1 -x 0x19c
# rdmsr -p 2 -x 0x19c
# rdmsr -p 3 -x 0x19c
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#15 lore raw
In reply to [email protected]

Jean,

I've installed and set-up msr-tools after a quick look on-line on how to do so ('sudo apt-get install msr-tools' followed by 'sudo modprobe msr', let me know if that's missing something) and I get the following for your commands:

$ sudo rdmsr -p 0 -x 0x19c
8600000
$ sudo 
rdmsr -p 1 -x 0x19c
8630000
$ sudo rdmsr -p 2 -x 0x19c
8630000
$ sudo 
rdmsr -p 3 -x 0x19c
8600000

Hope that helps.

Cheers,
Dave

Quoted 1 line

----

Original Message----

Quoted 5 lines

From: [email protected]
Date: 17/06/2011 20:29

To: <[email protected]>
Cc: <[email protected]>,

<[email protected]>

Quoted 1 line

Subj: Re: [lm-sensors] Gigabyte GA-D525

core temps N/A?

Quoted 4 lines

Hi Dave,

On Fri, 17 Jun 2011 18:30:53 +0100

Quoted 1 line · (BST), [email protected] wrote:
Quoted 1 line

Guenter & Jean, thanks for

the continued help.

Quoted 3 lines
Quoted 3 lines

I got slightly bogged
down yesterday

attempting to upgrade my install - I tried 'apt-get

Quoted 1 line
Quoted 1 line

update' which

downloaded a few things but didn't fix the problem so I

Quoted 1 line
Quoted 1 line

then tried

'apt-get upgrade' (I'm not sure on the difference between

Quoted 1 line
Quoted 1 line

the

two...) which downloaded even more and then got into trouble,

Quoted 1 line
Quoted 1 line

ending with a segmentation fault! I rebooted and continued but got

Quoted 1 line
Quoted 1 line

more issues and had to stop as it was getting late.

Quoted 2 lines
Quoted 2 lines

I've since

resumed

Quoted 1 line
Quoted 1 line

and managed to get where I am now with what I hope is a

fully upgraded

Quoted 5 lines
Quoted 5 lines

install but I still get the same compile errors.

So, I've grabbed
Jean's file and followed Guenter's instructions

to build and install

Quoted 1 line
Quoted 1 line

those, all went well. On running 'sensors' I

still get 'N/A' for the

Quoted 7 lines
Quoted 7 lines

core temps but at least I only get two:

coretemp-isa-0000
Adapter: ISA
adapter
Core 0:

N/A (high = +80.0째C, crit = +100.0째C)

Quoted 1 line
Quoted 1 line

Core 1: N/A (high

= +80.0째C, crit = +100.0째C)

Quoted 2 lines

Actually this reminds me of similar

issues that were reported before and

Quoted 7 lines

never solved:
http://lists.lm-sensors.org/pipermail/lm-sensors/2010-January/027716.html
http://lists.lm-sensors.org/pipermail/lm-sensors/2010-September/029501.html
http://lists.lm-sensors.org/pipermail/lm-sensors/2010-November/030521.html

The errors look slightly different because of older versions of lm-

sensors, but the problem is the same: the MSR_IA32_THERM_STATUS

Quoted 3 lines

register fails to return a valid value.

It would be interesting to

check from user-space and see what the raw

Quoted 1 line

MSR read returns. You'll

need the msr kernel driver, as well as the

Quoted 3 lines

msr-tools package.

#

rdmsr -p 0 -x 0x19c

Quoted 3 lines
# rdmsr -p 1 -x 0x19c
# rdmsr -p 2 -x 0x19c
# 

rdmsr -p 3 -x 0x19c

Quoted 4 lines
Signature · 2 lines
-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#16 lore raw
In reply to [email protected]

Hi Dave,

Quoted 14 lines · On Sat, 18 Jun 2011 04:58:51 +0100 (BST), [email protected] wrote:

I've installed and set-up msr-tools after a quick look on-line on how to do so ('sudo apt-get install msr-tools' followed by 'sudo modprobe msr', let me know if that's missing something) and I get the following for your commands:

$ sudo rdmsr -p 0 -x 0x19c
8600000
$ sudo rdmsr -p 1 -x 0x19c
8630000
$ sudo rdmsr -p 2 -x 0x19c
8630000
$ sudo rdmsr -p 3 -x 0x19c
8600000
Quoted 1 line

Hope that helps.

The valid reading bit (31) is indeed never set, which is why the driver returns an error (and in turn "sensors" returns N/A.)

The readings themselves don't look good anyway. 0x60 and 0x63 would translate to offset values of 96 and 99, respectively. With a critical limit at 100°C, that would lead to readings of 4°C and 1°C, respectively, which is obviously incorrect.

I am wondering if maybe the valid reading bit gets cleared when the measured temperature is too low, because it is known that the reliability and accuracy of the digital thermal sensor get very poor when too far below the critical limit. Durgaross, Fenghua, do you know if this is the case? The CPU in question is an Atom D525 (family 6, model 28, stepping 10).

Dave, please try putting as much load as possible on your CPU (e.g. by running "md5sum /dev/zero" 4 times in parallel), and then run the rdmsr commands again, every 20 seconds or so, for 5 minutes. It will be interesting to see if the readings decrease (meaning higher temperatures over time) and if the valid reading bit will get set at some point.

When done, don't forget to kill the md5sum commands ;)

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#17 lore raw
In reply to [email protected]

Hi Jean,

I did as you ask but the values being returned were no different to those before. I checked with 'top' to make sure the CPU was being loaded and sure enough there were four 'md5sum' processes running at 100%, it also reported that the 'Cpu(s)' were around 92%us (oddly it only reported one line for the CPUs when I expected two lines for each core at least, perhaps even four lines given hyper- threading). I let it run for ten minutes just to be sure.

Hope that
helps.

Cheers,
Dave

Quoted 2 lines

----Original Message----
From: khali@linux-fr.

org

Quoted 4 lines

Date: 18/06/2011 8:34
To: "Dave"<[email protected]>

"Durgadoss R"<[email protected]>, "Yu, Fenghua"<fenghua.yu@intel. com>

Quoted 3 lines

Subj: Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?

Hi

Dave,

Quoted 2 lines

On Sat, 18 Jun 2011 04:58:51 +0100 (BST),

Quoted 1 line · [email protected] wrote:
Quoted 1 line

I've installed and set-up msr-

tools after a quick look on-line

Quoted 1 line
Quoted 1 line

on how to do so ('sudo apt-get

install msr-tools' followed by 'sudo

Quoted 1 line
Quoted 1 line

modprobe msr', let me know if

that's missing something) and I get the

Quoted 1 line
Quoted 1 line

following for your

commands:

Quoted 4 lines
Quoted 4 lines
$ sudo rdmsr -p 0 -x 0x19c
8600000
$ sudo rdmsr -

p 1 -x 0x19c

Quoted 4 lines
Quoted 4 lines

8630000

$ sudo rdmsr -p 2 -x 0x19c
8630000
$ 

sudo rdmsr -p 3 -x 0x19c

Quoted 5 lines
Quoted 3 lines

8600000

Hope that helps.

The

valid reading bit (31) is indeed never set, which is why the driver

Quoted 3 lines

returns an error (and in turn "sensors" returns N/A.)

The readings

themselves don't look good anyway. 0x60 and 0x63 would

Quoted 1 line

translate to

offset values of 96 and 99, respectively. With a critical

Quoted 1 line

limit at 100°

C, that would lead to readings of 4°C and 1°C,

Quoted 1 line

respectively, which is

obviously incorrect.

Quoted 2 lines

I am wondering if maybe the valid reading bit

gets cleared when the

Quoted 1 line

measured temperature is too low, because it is

known that the

Quoted 1 line

reliability and accuracy of the digital thermal sensor

get very poor

Quoted 1 line

when too far below the critical limit. Durgaross,

Fenghua, do you know

Quoted 1 line

if this is the case? The CPU in question is an

Atom D525 (family 6,

Quoted 3 lines

model 28, stepping 10).

Dave, please try

putting as much load as possible on your CPU (e.g. by

Quoted 1 line

running "md5sum

/dev/zero" 4 times in parallel), and then run the rdmsr

Quoted 1 line

commands

again, every 20 seconds or so, for 5 minutes. It will be

Quoted 1 line

interesting

to see if the readings decrease (meaning higher

Quoted 1 line

temperatures over

time) and if the valid reading bit will get set at

Quoted 3 lines

some point.

When

done, don't forget to kill the md5sum commands ;)

Quoted 5 lines
Signature · 2 lines
-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#18 lore raw
In reply to [email protected]

Hi Dave,

OK, I have no other idea then. Hopefully the Intel folks can help.

With regards to "top", you can switch to multi-cpu display by pressing "1".

Jean

Quoted 87 lines · On Sat, 18 Jun 2011 12:39:38 +0100 (BST), [email protected] wrote:

Hi Jean,

I did as you ask but the values being returned were no different to those before. I checked with 'top' to make sure the CPU was being loaded and sure enough there were four 'md5sum' processes running at 100%, it also reported that the 'Cpu(s)' were around 92%us (oddly it only reported one line for the CPUs when I expected two lines for each core at least, perhaps even four lines given hyper- threading). I let it run for ten minutes just to be sure.

Hope that
helps.

Cheers,
Dave

Quoted 2 lines

----Original Message----
From: khali@linux-fr.

org

Quoted 4 lines

Date: 18/06/2011 8:34
To: "Dave"<[email protected]>

"Durgadoss R"<[email protected]>, "Yu, Fenghua"<fenghua.yu@intel. com>

Quoted 3 lines

Subj: Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?

Hi

Dave,

Quoted 2 lines

On Sat, 18 Jun 2011 04:58:51 +0100 (BST),

Quoted 1 line · [email protected] wrote:
Quoted 1 line

I've installed and set-up msr-

tools after a quick look on-line

Quoted 1 line
Quoted 1 line

on how to do so ('sudo apt-get

install msr-tools' followed by 'sudo

Quoted 1 line
Quoted 1 line

modprobe msr', let me know if

that's missing something) and I get the

Quoted 1 line
Quoted 1 line

following for your

commands:

Quoted 4 lines
Quoted 4 lines
$ sudo rdmsr -p 0 -x 0x19c
8600000
$ sudo rdmsr -

p 1 -x 0x19c

Quoted 4 lines
Quoted 4 lines

8630000

$ sudo rdmsr -p 2 -x 0x19c
8630000
$ 

sudo rdmsr -p 3 -x 0x19c

Quoted 5 lines
Quoted 3 lines

8600000

Hope that helps.

The

valid reading bit (31) is indeed never set, which is why the driver

Quoted 3 lines

returns an error (and in turn "sensors" returns N/A.)

The readings

themselves don't look good anyway. 0x60 and 0x63 would

Quoted 1 line

translate to

offset values of 96 and 99, respectively. With a critical

Quoted 1 line

limit at 100°

C, that would lead to readings of 4°C and 1°C,

Quoted 1 line

respectively, which is

obviously incorrect.

Quoted 2 lines

I am wondering if maybe the valid reading bit

gets cleared when the

Quoted 1 line

measured temperature is too low, because it is

known that the

Quoted 1 line

reliability and accuracy of the digital thermal sensor

get very poor

Quoted 1 line

when too far below the critical limit. Durgaross,

Fenghua, do you know

Quoted 1 line

if this is the case? The CPU in question is an

Atom D525 (family 6,

Quoted 3 lines

model 28, stepping 10).

Dave, please try

putting as much load as possible on your CPU (e.g. by

Quoted 1 line

running "md5sum

/dev/zero" 4 times in parallel), and then run the rdmsr

Quoted 1 line

commands

again, every 20 seconds or so, for 5 minutes. It will be

Quoted 11 lines
Quoted 1 line

interesting

to see if the readings decrease (meaning higher

Quoted 1 line

temperatures over

time) and if the valid reading bit will get set at

Quoted 3 lines

some point.

When

done, don't forget to kill the md5sum commands ;)

Quoted 3 lines
Signature · 2 lines
-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors