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

Re: CPU temp/fan tachometer for linux?



stephen.p.ryan@dartmouth.edu wrote:

> Try lm_sensors.
> 
> http://appindex.freshmeat.net/view/904554804/

Cool.  Have you compiled this?
(Which do you pick?  lm78-1.2.3.tgz or lm_sensors-1.4.6.tar.gz)

I get:

  # insmod ./lm_sensors.o
  ./lm_sensors.o: kernel-module version mismatch
          ./lm_sensors.o was compiled for kernel version 2.0.33
          while this kernel is version 2.0.35.

It must be getting the wrong kernel version 2.0.33 from
/usr/include/linux/version.h

  $ grep linux/version *.c
  lmsysctl.c:#include <linux/version.h>
  smbus.c:#include <linux/version.h>
  
  $ dpkg -S /usr/include/linux/version.h
  libc6-dev: /usr/include/linux/version.h

If I force it:

  # insmod -f ./lm_sensors.o
  Warning: kernel-module version mismatch
          ./lm_sensors.o was compiled for kernel version 2.0.33
          while this kernel is version 2.0.35
  
  ./lm_sensors.o: init_module: Device or resource busy

So no luck so far.  (This is why I love .debs !)
-- 
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 


Reply to: