Re: Gigabyte GA-D525 core temps N/A?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux