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

Re: i2c and kernel modules



David Z Maze wrote:


>> sudo make-kpkg --append-to-version=-k7-fb --added-modules=i2c,lm-sensors
>> modules_image --config=menuconfig
> 
> ...yup, cool.  (This should also work with 'fakeroot' instead of
> 'sudo', or even with '--root_cmd=fakeroot'.)

Thank you :)

> Hmm.  I think lm-sensors 2.7.x requires i2c 2.7.0 or newer, but kernel
> 2.4.21 only has i2c 2.6.1.  You might run into problems when things
> actually start working because of the version mismatch, if modprobe
> finds the kernel modules before the i2c-source modules; see, for
> example, http://bugs.debian.org/179236.

I see... ok, I removed the support from the kernel.

> Have you at this point rebooted to run the 2.4.20-k7-fb kernel?
> Otherwise sensors-detect isn't going to be able to load modules for
> the old kernel, and you'll lose in pretty much this way.

Yes, I had... 

I think I have solved the problem; I recompiled both the kernel and the
modules, and everything now works fine. It probably was some kind of
mismatch... a different release of gcc, perhaps?


-- 
Danilo Raineri, danirain@tin.it



Reply to: