In the i2c support section of the 2.5.65/66 kernel configuration, there doesn't appear to be any support for lm_sensors based upon the viapro. The vanilla-sources 2.4.20 with prior versions (before 2.7) of lm_sensors do work fine. The modules used are 'i2c-viapro' and emerging lm-sensors-2.7 does not work as the emerge stops with these messages: ============================================================= gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/local/include -I/lib/modules/2.5.66/build/include -O2 -mcpu=athlon-xp -O3 -pipe -c kernel/busses/i2c-ali1535.c -o kernel/busses/i2c-ali1535.o gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/local/include -I/lib/modules/2.5.66/build/include -O2 -mcpu=athlon-xp -O3 -pipe -c kernel/busses/i2c-ali15x3.c -o kernel/busses/i2c-ali15x3.o kernel/busses/i2c-ali1535.c:167: conflicting types for `cleanup_module' /lib/modules/2.5.66/build/include/linux/module.h:51: previous declaration of `cleanup_module' kernel/busses/i2c-ali1535.c:182: warning: initialization from incompatible pointer type kernel/busses/i2c-ali1535.c:183: warning: overflow in implicit constant conversion kernel/busses/i2c-ali1535.c:184: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali1535.c:184: initializer element is not computable at load time kernel/busses/i2c-ali1535.c:184: (near initialization for `ali1535_adapter.name[1]') kernel/busses/i2c-ali1535.c:185: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali1535.c:186: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali1535.c:186: initializer element is not computable at load time kernel/busses/i2c-ali1535.c:186: (near initialization for `ali1535_adapter.name[3]') kernel/busses/i2c-ali1535.c:187: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali1535.c:187: initializer element is not computable at load time kernel/busses/i2c-ali1535.c:187: (near initialization for `ali1535_adapter.name[4]') kernel/busses/i2c-ali1535.c:188: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali1535.c:189: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali1535.c:190: initializer element is not constant kernel/busses/i2c-ali1535.c:190: (near initialization for `ali1535_adapter.name') kernel/busses/i2c-ali1535.c: In function `ali1535_setup': kernel/busses/i2c-ali1535.c:245: warning: `__check_region' is deprecated (declared at /lib/modules/2.5.66/build/include/linux/ioport.h:113) kernel/busses/i2c-ali1535.c: In function `ali1535_inc': kernel/busses/i2c-ali1535.c:596: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.66/build/include/linux/module.h:431) kernel/busses/i2c-ali1535.c: In function `ali1535_dec': kernel/busses/i2c-ali1535.c:602: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.66/build/include/linux/module.h:443) kernel/busses/i2c-ali1535.c: At top level: kernel/busses/i2c-ali1535.c:669: warning: data definition has no type or storage class kernel/busses/i2c-ali15x3.c:158: conflicting types for `cleanup_module' /lib/modules/2.5.66/build/include/linux/module.h:51: previous declaration of `cleanup_module' kernel/busses/i2c-ali15x3.c:173: warning: initialization from incompatible pointer type kernel/busses/i2c-ali15x3.c:174: warning: overflow in implicit constant conversion kernel/busses/i2c-ali15x3.c:175: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali15x3.c:175: initializer element is not computable at load time kernel/busses/i2c-ali15x3.c:175: (near initialization for `ali15x3_adapter.name[1]') kernel/busses/i2c-ali15x3.c:176: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali15x3.c:177: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali15x3.c:177: initializer element is not computable at load time kernel/busses/i2c-ali15x3.c:177: (near initialization for `ali15x3_adapter.name[3]') kernel/busses/i2c-ali15x3.c:178: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali15x3.c:178: initializer element is not computable at load time kernel/busses/i2c-ali15x3.c:178: (near initialization for `ali15x3_adapter.name[4]') kernel/busses/i2c-ali15x3.c:179: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali15x3.c:180: warning: initialization makes integer from pointer without a cast kernel/busses/i2c-ali15x3.c:181: initializer element is not constant kernel/busses/i2c-ali15x3.c:181: (near initialization for `ali15x3_adapter.name') make: *** [kernel/busses/i2c-ali1535.o] Error 1 make: *** Waiting for unfinished jobs.... kernel/busses/i2c-ali15x3.c: In function `ali15x3_setup': kernel/busses/i2c-ali15x3.c:242: warning: `__check_region' is deprecated (declared at /lib/modules/2.5.66/build/include/linux/ioport.h:113) kernel/busses/i2c-ali15x3.c: In function `ali15x3_inc': kernel/busses/i2c-ali15x3.c:563: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.66/build/include/linux/module.h:431) kernel/busses/i2c-ali15x3.c: In function `ali15x3_dec': kernel/busses/i2c-ali15x3.c:569: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.66/build/include/linux/module.h:443) kernel/busses/i2c-ali15x3.c: At top level: kernel/busses/i2c-ali15x3.c:631: warning: data definition has no type or storage class make: *** [kernel/busses/i2c-ali15x3.o] Error 1 !!! ERROR: sys-apps/lm_sensors-2.7.0 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! lm_sensors requires the source of a compatible kernel\nversion installed in /usr/src/linux and >=i2c-2.7.0 support built as a modules this support is included in gentoo-sources as of 2.4.20-r1 dragon root # ========================================================== Apparently, lm_sensors-2.7 is also not compatible with the development-sources. Reproducible: Always Steps to Reproduce: This is actually pretty important to me as I need to keep a strict lookout for over heating :-) ragon src # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.5.66 i686 AMD Athlon(TM) XP1500+ GENTOO_MIRRORS=" ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" dragon src #
This is a known issue as i2c is getting a makeover. Check the LKML archives for the discussion. This probably will be fixed in 2.5.67/68... Also, 2.5's module code has been redone, so you probably won't be able to emerge any 2.4 module ebuilds... Since development-sources is vanilla 2.5, I am closing this out.