Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10629 - i2c kernel module fails [ Kernel ]
Summary: i2c kernel module fails [ Kernel ]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-12 10:09 UTC by oktay altunergil
Modified: 2003-06-07 21:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oktay altunergil 2002-11-12 10:09:50 UTC
Trying to build the I2C kernel modules for sensor monitoring (lm_sensors). It
dies with the error message posted below. The kernel works fine without I2C support.

Kernel Version:
*  sys-kernel/gentoo-sources
      Latest version available: 2.4.19-r10
      Latest version installed: 2.4.19-r10

Error Message:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.19-gentoo-r10; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-hydra.
                                 o
depmod:         i2c_bit_del_bus_R88f4afaf
depmod:         i2c_bit_add_bus_R933524db
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-i810.o
depmod:         i2c_bit_del_bus_R88f4afaf
depmod:         i2c_bit_add_bus_R933524db
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-savage
                                 4.o
depmod:         i2c_bit_del_bus_R88f4afaf
depmod:         i2c_bit_add_bus_R933524db
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-via.o
depmod:         i2c_bit_del_bus_R88f4afaf
depmod:         i2c_bit_add_bus_R933524db
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/i2c-voodoo
                                 3.o
depmod:         i2c_bit_del_bus_R88f4afaf
depmod:         i2c_bit_add_bus_R933524db
Comment 1 oktay altunergil 2002-11-12 10:36:07 UTC
I have just compiled the kernel with the same .config file using  
vanilla-sources (2.4.19) and it compiled properly. I have not actually tried
booting into it though.

oktay
Comment 2 oktay altunergil 2002-11-12 12:31:15 UTC
I have upgraded to gcc 3.2-r4  (it was -r2 before) and tried again. Same issue.
'make modules_install' fails when installing the i2c modules (for different
chipsets) that will go in /lib/modules/2.4.19-gentoo-r10/misc .

Core i2c modules (those that go in kernel/drivers/i2c work properly. 

oktay
Comment 3 Brandon Low (RETIRED) gentoo-dev 2002-11-12 16:25:02 UTC
This is NOT a bug.  You need to ensure that the deps you built your kernel
against are the same as the ones you built your i2c modules.  Additionally the
deps will probably appear bad until you reboot into the newly compiled kernel.
Comment 4 Brett I. Holcomb 2003-06-07 19:42:35 UTC
Okay, then how do we insure that the deps are valid!  I've tried make mrproper, the make dep && make clean bzImage modules modules_install and also done a make clean before running menuconfig.  Same result - the errors listed below.


Comment 5 Brett I. Holcomb 2003-06-07 21:22:26 UTC
Well, I don't know if it's a bug but removing the following from /lib/modules/*/misc fixed the unsresolved references.

i2c-hydra.o
i2c-I810.o
i2c-savage4.o
i2c-via.o
i2c-voodoo3.o

Thanks to Peter Ruskin for this.