From: "everythingsfree@lineone.net" <everythingsfree@lineone.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Gigabyte GA-D525 core temps N/A?
Date: Thu, 16 Jun 2011 20:06:10 +0000 [thread overview]
Message-ID: <3598004.286421308254770429.JavaMail.defaultUser@defaultHost> (raw)
In-Reply-To: <12337942.277431308248481343.JavaMail.defaultUser@defaultHost>
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
next prev parent reply other threads:[~2011-06-16 20:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3598004.286421308254770429.JavaMail.defaultUser@defaultHost \
--to=everythingsfree@lineone.net \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.