[Centos] CentOS CPU Temperature - Mini-HowTo

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



> go to your kernel source directory: 
> 
> edit Makefile to read the same as the installed kernel (uname -r)
> (delete the word "custom" at the end of the line: EXTRAVERSION =
> -27.0.2.Elcustom)
> 
> run make mrproper
> run make oldconfig
> run make dep
> run make clean
> 
> The above sets up the kernel source so you can build and install the i2c and
> lm sensors drivers correctly.
> 
> cd to i2c directory under /home
> 
> run make clean
> run make all
> run make install
> 
> cd to lm sensors directory under /home
> 
> run make clean
> run make all
> run make install
> 
> do an extra depmod -a (just in case :) )

By the way, you will need to do:
yum install kernel-source flex bison
... if you don't already have those packages installed. Without flex & 
bison, the "make all" for lm_sensors will fail, and you have to then 
"make clean" again before redoing the "make all."

johnn

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux