Re: [gentoo-user] i2c Unresolved symbols in modules
I ran a depmod -a but that didn't help. Isn't that supposed to resolve modules? On Mon, 9 Jun 2003 19:44:30 +0300 Andrew Kirilenko <[EMAIL PROTECTED]> wrote: Hello! On 12:34 Mon 09 Jun, brett holcomb wrote: That's what I did - delete the modules. I don't need them either. What I dont' understand is why the unresolved references to modules I don't use! That's because "depmod -a", I think. Best regards, Andrew. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
Hello! On 12:34 Mon 09 Jun, brett holcomb wrote: > That's what I did - delete the modules. I don't need them > either. What I dont' understand is why the unresolved > references to modules I don't use! That's because "depmod -a", I think. Best regards, Andrew. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
That's what I did - delete the modules. I don't need them either. What I dont' understand is why the unresolved references to modules I don't use! On Mon, 9 Jun 2003 19:32:41 +0300 Andrew Kirilenko <[EMAIL PROTECTED]> wrote: Hello! > Hello Brett, The functions i2c_bit_(add|del)_bus() are only available if you compile your kernel with CONFIG_I2C_ALGOBIT. Check your .config file. If you keep getting unresolved symbols you should need to run 'modprobe i2c-algo-bit' before running sensors-detect. Regards, It's not really good idea, but when I got the same problems, I simply deleted all that modules (I got unresolved symbols in the same modules). Seems, it's because I don't have support for vodoo, i810 and Co enabled in kernel. And it works perfectly all last month. Best regards, Andrew. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
Hello! On 13:09 Mon 09 Jun, Hamilton Coutinho wrote: > On Sat, Jun 07, 2003 at 08:53:58PM -0400, Brett I. Holcomb wrote: > > > > I built a test kernel with i2c /proc option and that worked. However, to run > > sensors-detect I need the /dev option so I went back to menuconfig and > > checked it. I did make dep && make clean bzImage modules modules_install > > > > and got the errors shown below (these are from bug 10629 - I have > > 2.4.20-xfs-r3). Bugzilla lists this and the comment from Brandon is this is > > not a bug - we have to insure the deps we build this agains are the same we > > build the kernel with. Okay - how do I do that??? > > > > This kernel is the same one I've been running with for a couple of weeks, > > same /usr/src/linux tree. I built the kernel with the /proc i2c option with > > no problem - booted it and it worked - so I just went back and added the /dev > > option. Now it's broken. I tried running make mrproper, restoring my > > .config and running the make dep && command. I also tried make clean. > > None of that works. I even did depmod -a before building these. > > > > Any ideas on how to get the modules to "insure my deps" are proper? > > > > Thanks. > > > > 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 > > > > Hello Brett, > > The functions i2c_bit_(add|del)_bus() are only available if you compile > your kernel with CONFIG_I2C_ALGOBIT. Check your .config file. > > If you keep getting unresolved symbols you should need to run 'modprobe > i2c-algo-bit' before running sensors-detect. > > Regards, It's not really good idea, but when I got the same problems, I simply deleted all that modules (I got unresolved symbols in the same modules). Seems, it's because I don't have support for vodoo, i810 and Co enabled in kernel. And it works perfectly all last month. Best regards, Andrew. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
On Sat, Jun 07, 2003 at 08:53:58PM -0400, Brett I. Holcomb wrote: > > I built a test kernel with i2c /proc option and that worked. However, to run > sensors-detect I need the /dev option so I went back to menuconfig and > checked it. I did make dep && make clean bzImage modules modules_install > > and got the errors shown below (these are from bug 10629 - I have > 2.4.20-xfs-r3). Bugzilla lists this and the comment from Brandon is this is > not a bug - we have to insure the deps we build this agains are the same we > build the kernel with. Okay - how do I do that??? > > This kernel is the same one I've been running with for a couple of weeks, > same /usr/src/linux tree. I built the kernel with the /proc i2c option with > no problem - booted it and it worked - so I just went back and added the /dev > option. Now it's broken. I tried running make mrproper, restoring my > .config and running the make dep && command. I also tried make clean. > None of that works. I even did depmod -a before building these. > > Any ideas on how to get the modules to "insure my deps" are proper? > > Thanks. > > 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 > Hello Brett, The functions i2c_bit_(add|del)_bus() are only available if you compile your kernel with CONFIG_I2C_ALGOBIT. Check your .config file. If you keep getting unresolved symbols you should need to run 'modprobe i2c-algo-bit' before running sensors-detect. Regards, -- Hamilton Coutinho [EMAIL PROTECTED] Porto Alegre - RS - Brasil -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
That did it! Thanks a bunch. Hmm, not a bug . > On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: > > I built a test kernel with i2c /proc option and that worked. > > This looks like a bug to me - it's been around ages. > Whenever I emerge lm-sensors (usually following a kernel build) I follow > with this: > > rm /lib/modules/$(uname -r)/misc/i2c-hydra.o > rm /lib/modules/$(uname -r)/misc/i2c-i810.o > rm /lib/modules/$(uname -r)/misc/i2c-savage4.o > rm /lib/modules/$(uname -r)/misc/i2c-via.o > rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o > > ...because they _always_ give unresolved symbols. > > Peter -- Brett I. Holcomb AKA Grunt <>< -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
Okay, thanks. Unfortunately someone at Gentoo feels it's not a bug so it's listed as Resolved, Invalid so I doubt if we'll see it fixed then. > On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: > > I built a test kernel with i2c /proc option and that worked. > > However, to run sensors-detect I need the /dev option so I went back > > depmod: i2c_bit_del_bus_R88f4afaf > > depmod: i2c_bit_add_bus_R933524db > > This looks like a bug to me - it's been around ages. > Whenever I emerge lm-sensors (usually following a kernel build) I follow > with this: > > rm /lib/modules/$(uname -r)/misc/i2c-hydra.o > rm /lib/modules/$(uname -r)/misc/i2c-i810.o > rm /lib/modules/$(uname -r)/misc/i2c-savage4.o > rm /lib/modules/$(uname -r)/misc/i2c-via.o > rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o > > ...because they _always_ give unresolved symbols. > > Peter -- Brett I. Holcomb AKA Grunt <>< -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] i2c Unresolved symbols in modules
On Sunday 08 Jun 2003 01:53, Brett I. Holcomb wrote: > I built a test kernel with i2c /proc option and that worked. > However, to run sensors-detect I need the /dev option so I went back > to menuconfig and checked it. I did make dep && make clean bzImage > modules modules_install > > and got the errors shown below (these are from bug 10629 - I have > 2.4.20-xfs-r3). Bugzilla lists this and the comment from Brandon is > this is not a bug - we have to insure the deps we build this agains > are the same we build the kernel with. Okay - how do I do that??? > > This kernel is the same one I've been running with for a couple of > weeks, same /usr/src/linux tree. I built the kernel with the /proc > i2c option with no problem - booted it and it worked - so I just went > back and added the /dev option. Now it's broken. I tried running > make mrproper, restoring my .config and running the make dep && > command. I also tried make clean. None of that works. I even did > depmod -a before building these. > > Any ideas on how to get the modules to "insure my deps" are proper? > > Thanks. > > 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 This looks like a bug to me - it's been around ages. Whenever I emerge lm-sensors (usually following a kernel build) I follow with this: rm /lib/modules/$(uname -r)/misc/i2c-hydra.o rm /lib/modules/$(uname -r)/misc/i2c-i810.o rm /lib/modules/$(uname -r)/misc/i2c-savage4.o rm /lib/modules/$(uname -r)/misc/i2c-via.o rm /lib/modules/$(uname -r)/misc/i2c-voodoo3.o ...because they _always_ give unresolved symbols. Peter -- [EMAIL PROTECTED] mailing list