Thank you for your help. On Wed, 26 Jun 2002, David Z Maze wrote:
> "Moore, Louis" <[EMAIL PROTECTED]> 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 > > /usr/src/modules > > > > 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: > > > > i2c-2.4.18_2.6.3-5+10.00.Custom_i386.deb > > lm-sensors-2.4.18_2.6.3-5+10.00.Custom_i386.deb > > ...where'd that "+10.00.Custom" come from? How exactly did you invoke > make-kpkg? # make-kpkg clean # make-kpkg modules-image the kernel-source, i2c and lm-sensors were all dselected from testing. > > > 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 > > /lib/modules/2.4.18-686/kernel/drivers/i2c > > 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? I bet that is my brain dead part. # make-kpkg clean # make-kpkg --append-to-version '-686' modules-image creates i2c-2.4.18-686_2.6.3-5+10.00.Custom_i386.deb and lm-sensors-2.4.18-686_2.6.3-5+10.00.Custom_i386.deb > > 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? The lack of -686 dropped the modules into directory other than the one used by the kernel-image modules. I'm not sure yet that I understand how modules are selected. I suspect that the /lib/modules/2.4.18-686/kernel/drivers/i2c/*.o may need to be moved out of the way. > > > Is there a good guide that gives a newbie a walk through of this process > > or did I simply miss something important? > > Perhaps /usr/share/doc/lm-sensors-source/README.Debian? That's where I picked up the 'fakeroot make-kpkg modules-image' The .debs look more like I expect, I'll try istalling when I've had some sleep. Thanks again for the help, Louis > > -- > David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ > "Theoretical politics is interesting. Politicking should be illegal." > -- Abra Mitchell > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]