All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Gigabyte GA-D525 core temps N/A?
@ 2011-06-16 18:21 everythingsfree
  2011-06-16 18:39 ` Guenter Roeck
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: everythingsfree @ 2011-06-16 18:21 UTC (permalink / raw)
  To: lm-sensors

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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
@ 2011-06-16 18:39 ` Guenter Roeck
  2011-06-16 19:03 ` everythingsfree
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-16 18:39 UTC (permalink / raw)
  To: lm-sensors

On Thu, Jun 16, 2011 at 02:21:21PM -0400, everythingsfree@lineone.net 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)
> 
> 
> 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.

> 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')
> 
Yes.

> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
  2011-06-16 18:39 ` Guenter Roeck
@ 2011-06-16 19:03 ` everythingsfree
  2011-06-16 19:22 ` Jean Delvare
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: everythingsfree @ 2011-06-16 19:03 UTC (permalink / raw)
  To: lm-sensors

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


>----Original Message----
>From: guenter.roeck@ericsson.com
>Date: 
16/06/2011 19:39 
>To: "everythingsfree@lineone.net"
<everythingsfree@lineone.net>
>Cc: "lm-sensors@lm-sensors.org"<lm-
sensors@lm-sensors.org>
>Subj: Re: [lm-sensors] Gigabyte GA-D525 core 
temps N/A?
>
>On Thu, Jun 16, 2011 at 02:21:21PM -0400, 
everythingsfree@lineone.net 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)
>> 
>> 
>> 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.
>

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


>> 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')

>> 
>Yes.
>
>> 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/.
>

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.

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



>Thanks,
>Guenter
>


Hope that helps.

Cheers,
Dave


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
  2011-06-16 18:39 ` Guenter Roeck
  2011-06-16 19:03 ` everythingsfree
@ 2011-06-16 19:22 ` Jean Delvare
  2011-06-16 19:43 ` Guenter Roeck
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Jean Delvare @ 2011-06-16 19:22 UTC (permalink / raw)
  To: lm-sensors

On Thu, 16 Jun 2011 20:03:09 +0100 (BST), everythingsfree@lineone.net wrote:
> Thanks for the fast response, replies to your questions are below...
> 
> 
> >----Original Message----
> >From: guenter.roeck@ericsson.com
> >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/.
> >
> 
> 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.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (2 preceding siblings ...)
  2011-06-16 19:22 ` Jean Delvare
@ 2011-06-16 19:43 ` Guenter Roeck
  2011-06-16 20:06 ` everythingsfree
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-16 19:43 UTC (permalink / raw)
  To: lm-sensors

On Thu, Jun 16, 2011 at 03:03:09PM -0400, everythingsfree@lineone.net wrote:
> Thanks for the fast response, replies to your questions are below...
> 
> 
> >----Original Message----
> >From: guenter.roeck@ericsson.com
> >Date: 
> 16/06/2011 19:39 
> >To: "everythingsfree@lineone.net"
> <everythingsfree@lineone.net>
> >Cc: "lm-sensors@lm-sensors.org"<lm-
> sensors@lm-sensors.org>
> >Subj: Re: [lm-sensors] Gigabyte GA-D525 core 
> temps N/A?
> >
> >On Thu, Jun 16, 2011 at 02:21:21PM -0400, 
> everythingsfree@lineone.net 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)
> >> 
> >> 
> >> 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.
> >
> 
> It's an Intel Atom D525 which 
> according to the specs does support hyperthreading, I did think that 
> may have been why.
> 
> 
> >> 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')
> 
> >> 
> >Yes.
> >
> >> 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/.
> >
> 
> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (3 preceding siblings ...)
  2011-06-16 19:43 ` Guenter Roeck
@ 2011-06-16 20:06 ` everythingsfree
  2011-06-16 20:23 ` Guenter Roeck
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: everythingsfree @ 2011-06-16 20:06 UTC (permalink / raw)
  To: lm-sensors

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

>> 
>> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (4 preceding siblings ...)
  2011-06-16 20:06 ` everythingsfree
@ 2011-06-16 20:23 ` Guenter Roeck
  2011-06-16 20:27 ` Guenter Roeck
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-16 20:23 UTC (permalink / raw)
  To: lm-sensors

On Thu, Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
> 
[ ... ]
> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (5 preceding siblings ...)
  2011-06-16 20:23 ` Guenter Roeck
@ 2011-06-16 20:27 ` Guenter Roeck
  2011-06-16 20:32 ` Jean Delvare
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-16 20:27 UTC (permalink / raw)
  To: lm-sensors

On Thu, Jun 16, 2011 at 04:23:44PM -0400, Guenter Roeck wrote:
> On Thu, Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
> > 
> [ ... ]
> > 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.
> 
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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (6 preceding siblings ...)
  2011-06-16 20:27 ` Guenter Roeck
@ 2011-06-16 20:32 ` Jean Delvare
  2011-06-16 21:00 ` Jean Delvare
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Jean Delvare @ 2011-06-16 20:32 UTC (permalink / raw)
  To: lm-sensors

On Thu, 16 Jun 2011 13:23:44 -0700, Guenter Roeck wrote:
> On Thu, Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
> > 
> [ ... ]
> > 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.

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.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (7 preceding siblings ...)
  2011-06-16 20:32 ` Jean Delvare
@ 2011-06-16 21:00 ` Jean Delvare
  2011-06-16 22:34 ` Guenter Roeck
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Jean Delvare @ 2011-06-16 21:00 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

On Thu, 16 Jun 2011 13:27:54 -0700, Guenter Roeck wrote:
> On Thu, Jun 16, 2011 at 04:23:44PM -0400, Guenter Roeck wrote:
> > On Thu, Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
> > > 
> > [ ... ]
> > > 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.
> > 
> 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.

-- 
Jean Delvare

[-- Attachment #2: support-older-kernels.patch --]
[-- Type: text/x-patch, Size: 1437 bytes --]

---
 coretemp.c |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

--- coretemp.orig/coretemp.c	2011-06-06 11:38:05.000000000 +0200
+++ coretemp/coretemp.c	2011-06-06 14:50:10.000000000 +0200
@@ -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);
 	}
 	/*

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (8 preceding siblings ...)
  2011-06-16 21:00 ` Jean Delvare
@ 2011-06-16 22:34 ` Guenter Roeck
  2011-06-16 22:43 ` Guenter Roeck
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-16 22:34 UTC (permalink / raw)
  To: lm-sensors

On Thu, 2011-06-16 at 16:32 -0400, Jean Delvare wrote:
> On Thu, 16 Jun 2011 13:23:44 -0700, Guenter Roeck wrote:
> > On Thu, Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
> > > 
> > [ ... ]
> > > 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.
> 
> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (9 preceding siblings ...)
  2011-06-16 22:34 ` Guenter Roeck
@ 2011-06-16 22:43 ` Guenter Roeck
  2011-06-17 17:30 ` everythingsfree
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-16 22:43 UTC (permalink / raw)
  To: lm-sensors

On Thu, 2011-06-16 at 17:00 -0400, Jean Delvare wrote:
> On Thu, 16 Jun 2011 13:27:54 -0700, Guenter Roeck wrote:
> > On Thu, Jun 16, 2011 at 04:23:44PM -0400, Guenter Roeck wrote:
> > > On Thu, Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
> > > > 
> > > [ ... ]
> > > > 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.
> > > 
> > 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (10 preceding siblings ...)
  2011-06-16 22:43 ` Guenter Roeck
@ 2011-06-17 17:30 ` everythingsfree
  2011-06-17 19:09 ` Guenter Roeck
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: everythingsfree @ 2011-06-17 17:30 UTC (permalink / raw)
  To: lm-sensors

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


>----Original Message----

>From: guenter.roeck@ericsson.com
>Date: 16/06/2011 23:43 
>To: "Jean 
Delvare"<khali@linux-fr.org>
>Cc: "everythingsfree@lineone.net"
<everythingsfree@lineone.net>, "lm-sensors@lm-sensors.org"<lm-
sensors@lm-sensors.org>
>Subj: Re: [lm-sensors] Gigabyte GA-D525 core 
temps N/A?
>
>On Thu, 2011-06-16 at 17:00 -0400, Jean Delvare wrote:
>> 
On Thu, 16 Jun 2011 13:27:54 -0700, Guenter Roeck wrote:
>> > On Thu, 
Jun 16, 2011 at 04:23:44PM -0400, Guenter Roeck wrote:
>> > > On Thu, 
Jun 16, 2011 at 04:06:10PM -0400, everythingsfree@lineone.net 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:
>> 
> > > 
>> > > [ ... ]
>> > > > 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.
>> > > 
>> > 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (11 preceding siblings ...)
  2011-06-17 17:30 ` everythingsfree
@ 2011-06-17 19:09 ` Guenter Roeck
  2011-06-17 19:29 ` Jean Delvare
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Guenter Roeck @ 2011-06-17 19:09 UTC (permalink / raw)
  To: lm-sensors

On Fri, 2011-06-17 at 13:30 -0400, everythingsfree@lineone.net 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
> 
> 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.

> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (12 preceding siblings ...)
  2011-06-17 19:09 ` Guenter Roeck
@ 2011-06-17 19:29 ` Jean Delvare
  2011-06-18  3:58 ` everythingsfree
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Jean Delvare @ 2011-06-17 19:29 UTC (permalink / raw)
  To: lm-sensors

Hi Dave,

On Fri, 17 Jun 2011 18:30:53 +0100 (BST), everythingsfree@lineone.net 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)

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

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (13 preceding siblings ...)
  2011-06-17 19:29 ` Jean Delvare
@ 2011-06-18  3:58 ` everythingsfree
  2011-06-18  7:34 ` Jean Delvare
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: everythingsfree @ 2011-06-18  3:58 UTC (permalink / raw)
  To: lm-sensors

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


>----
Original Message----
>From: khali@linux-fr.org
>Date: 17/06/2011 20:29 

>To: <everythingsfree@lineone.net>
>Cc: <guenter.roeck@ericsson.com>, 
<lm-sensors@lm-sensors.org>
>Subj: Re: [lm-sensors] Gigabyte GA-D525 
core temps N/A?
>
>Hi Dave,
>
>On Fri, 17 Jun 2011 18:30:53 +0100 
(BST), everythingsfree@lineone.net 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)
>
>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
>
>-- 
>Jean Delvare
>



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (14 preceding siblings ...)
  2011-06-18  3:58 ` everythingsfree
@ 2011-06-18  7:34 ` Jean Delvare
  2011-06-18 11:39 ` everythingsfree
  2011-06-18 12:14 ` Jean Delvare
  17 siblings, 0 replies; 19+ messages in thread
From: Jean Delvare @ 2011-06-18  7:34 UTC (permalink / raw)
  To: lm-sensors

Hi Dave,

On Sat, 18 Jun 2011 04:58:51 +0100 (BST), everythingsfree@lineone.net 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
> 
> 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 ;)

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (15 preceding siblings ...)
  2011-06-18  7:34 ` Jean Delvare
@ 2011-06-18 11:39 ` everythingsfree
  2011-06-18 12:14 ` Jean Delvare
  17 siblings, 0 replies; 19+ messages in thread
From: everythingsfree @ 2011-06-18 11:39 UTC (permalink / raw)
  To: lm-sensors

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


>----Original Message----
>From: khali@linux-fr.
org
>Date: 18/06/2011 8:34 
>To: "Dave"<everythingsfree@lineone.net>

>Cc: <guenter.roeck@ericsson.com>, <lm-sensors@lm-sensors.org>, 
"Durgadoss R"<durgadoss.r@intel.com>, "Yu, Fenghua"<fenghua.yu@intel.
com>
>Subj: Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
>
>Hi 
Dave,
>
>On Sat, 18 Jun 2011 04:58:51 +0100 (BST), 
everythingsfree@lineone.net 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
>> 
>> 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 ;)
>
>-- 
>Jean Delvare

>



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
  2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
                   ` (16 preceding siblings ...)
  2011-06-18 11:39 ` everythingsfree
@ 2011-06-18 12:14 ` Jean Delvare
  17 siblings, 0 replies; 19+ messages in thread
From: Jean Delvare @ 2011-06-18 12:14 UTC (permalink / raw)
  To: lm-sensors

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

On Sat, 18 Jun 2011 12:39:38 +0100 (BST), everythingsfree@lineone.net 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
> 
> 
> >----Original Message----
> >From: khali@linux-fr.
> org
> >Date: 18/06/2011 8:34 
> >To: "Dave"<everythingsfree@lineone.net>
> 
> >Cc: <guenter.roeck@ericsson.com>, <lm-sensors@lm-sensors.org>, 
> "Durgadoss R"<durgadoss.r@intel.com>, "Yu, Fenghua"<fenghua.yu@intel.
> com>
> >Subj: Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
> >
> >Hi 
> Dave,
> >
> >On Sat, 18 Jun 2011 04:58:51 +0100 (BST), 
> everythingsfree@lineone.net 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
> >> 
> >> 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 ;)
> >
> >-- 
> >Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-06-18 12:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 18:21 [lm-sensors] Gigabyte GA-D525 core temps N/A? everythingsfree
2011-06-16 18:39 ` Guenter Roeck
2011-06-16 19:03 ` everythingsfree
2011-06-16 19:22 ` Jean Delvare
2011-06-16 19:43 ` Guenter Roeck
2011-06-16 20:06 ` everythingsfree
2011-06-16 20:23 ` Guenter Roeck
2011-06-16 20:27 ` Guenter Roeck
2011-06-16 20:32 ` Jean Delvare
2011-06-16 21:00 ` Jean Delvare
2011-06-16 22:34 ` Guenter Roeck
2011-06-16 22:43 ` Guenter Roeck
2011-06-17 17:30 ` everythingsfree
2011-06-17 19:09 ` Guenter Roeck
2011-06-17 19:29 ` Jean Delvare
2011-06-18  3:58 ` everythingsfree
2011-06-18  7:34 ` Jean Delvare
2011-06-18 11:39 ` everythingsfree
2011-06-18 12:14 ` Jean Delvare

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.