How to compile k10temp?
I have an MSI motherboard (K9N6PGM-V2) and AMD cpu Athlon II X4 620 (4 core cpu). I have found that some people have LM-sensors for K10 working in Ubuntu (Karmic, v 9.10) and I downloaded the driver:
lm_sensors-3.1.2.tar.bz2 and following the instructions, tried make all, but the terminal returned error messages.
I read at the wiki about AMD
Family 10h CPU, family 11h CPU
and drive k10temp which is in kernel 2.6.33.
My OS: Karmic:~$ uname -r = 2.6.31-19-generic
so will k10 and LM work if I compile a .33 kernel, or will it be OK if I compile the K10 into the .31 kernel?
I'm not a programmer, but I can do some compiling tasks, as I'm not unfamiliar with ./ and such. I just need to know what order to issue the commands in and which ones need 'sudo' in front of them.
Can someone please point me to a tutorial or how-to and help me compile this into my OS?
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 18 lines · Mark Preston
I have an MSI motherboard (K9N6PGM-V2) and AMD cpu Athlon II X4 620 (4 core cpu). I have found that some people have LM-sensors for K10 working in Ubuntu (Karmic, v 9.10) and I downloaded the driver:
lm_sensors-3.1.2.tar.bz2 and following the instructions, tried make all, but the terminal returned error messages.I read at the wiki about AMD
Family 10h CPU, family 11h CPU
and drive k10temp which is in kernel 2.6.33.
My OS: Karmic:~$ uname -r = 2.6.31-19-generic
so will k10 and LM work if I compile a .33 kernel, or will it be OK if I compile the K10 into the .31 kernel?
Quoted 7 lines
I'm not a programmer, but I can do some compiling tasks, as I'm not unfamiliar with ./ and such. I just need to know what order to issue the commands in and which ones need 'sudo' in front of them.
Can someone please point me to a tutorial or how-to and help me compile this into my OS?
First of all lm_sensors-3.1.2.tar.bz2 is not a driver, it's a user space package for querying and showing data from Linux kernel. Secondly, on Ubuntu you don't have to download compile and install lm-sensors package, 'cause it's already there:
Run any console application (like gnome terminal and konsole), then
$ sudo apt-get update $ sudo apt-get install lm-sensors $ sudo apt-get upgrade (reboot if you have a new kernel installed)
The next thing to do is to run in console:
$ sudo sensors-detect
and given that sensors-detect detects and installs its configuration you need to:
$ sudo /etc/init.d/lm_sensors restart (or something like that - I'm not a Debian/Ubuntu user).
Signature · 8 lines
Best wishes, Artem _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Mark,
Quoted 9 lines · Mark Preston
I have an MSI motherboard (K9N6PGM-V2) and AMD cpu Athlon II X4 620 (4 core cpu). I have found that some people have LM-sensors for K10 working in Ubuntu (Karmic, v 9.10) and I downloaded the driver:
lm_sensors-3.1.2.tar.bz2 and following the instructions, tried make all, but the terminal returned error messages.I read at the wiki about AMD
Quoted 8 lines
Family 10h CPU, family 11h CPU
and drive k10temp which is in kernel 2.6.33.
My OS: Karmic:~$ uname -r = 2.6.31-19-generic
so will k10 and LM work if I compile a .33 kernel, or will it be OK if I compile the K10 into the .31 kernel?
Both should work, but the latter is probably easier.
Quoted 6 lines
I'm not a programmer, but I can do some compiling tasks, as I'm not unfamiliar with ./ and such. I just need to know what order to issue the commands in and which ones need 'sudo' in front of them.
Can someone please point me to a tutorial or how-to and help me compile this into my OS?
Copy the two files from:
http://khali.linux-fr.org/devel/misc/k10temp/
to a temporary directory, then run:
$ make then as root: # insmod k10temp.ko
And you should be done. Note that you will need a kernel building environment installed (make, gcc and kernel-headers or similar.)
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors