Re: Need help with the proper way to build i2c and lm-sensors modules
"Moore, Louis" <email@example.com> writes:
> I have what I hope is a brain dead user issue trying to build the i2c and
> lm-sensor modules on a 2.4.18 debian install.
> I installed the 2.4.18-5 kernel source package and soft linked
> /usr/src/linux to the top level directory.
(shouldn't be necessary)
> Next, I unpacked the i2c and lm-sensors tarballs into the
> Then I cd into /usr/src/linux and cp /boot/config-2.4.18-686 to .config
> and ran the make-kpkg modules-image which built a couple of .debs for me:
...where'd that "+10.00.Custom" come from? How exactly did you invoke
> A dpkg --contents suggests that the custom .debs are going to install into
> /lib/modules/2.4.18/misc/ but the kernel-image package installs into
Right; otherwise the standalone i2c modules would need to conflict
with the kernel, which would be poor. :-) The discrepancy between
"2.4.18" and "2.4.18-686" does appear problematic; did you correctly
specify "--append-to-version 686" to make-kpkg?
It'd also be useful to know what version of i2c-source and
lm-sensors-source you have. I'm pretty sure unstable and testing have
the same version which should work to build modules against the
official kernel source, though.
> This doesn't seem right and they don't seem to install.
Why do you think this?
> Is there a good guide that gives a newbie a walk through of this process
> or did I simply miss something important?
David Maze firstname.lastname@example.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org