To build the i2c/sensors patches : A) build the I2C patch ---------------------- Get the i2c sources from http://www.lm-sensors.nu/ and untar them in a new fresh directory : # mkdir -p build # cd build # tar zxf ../i2c-2.9.0.tar.gz # cd i2c-2.9.0 If there is an update on the hoem site, apply it now : # patch -p1 < ../../i2c-2.9.0.1.patch Rebuild the patch against the current kernel. A clean image is needed, but it will not be modified. Use 'mkpatch.pl' : # mkpatch/mkpatch.pl . /usr/src/linux-2.4.29 > ../../linux-2.4.29-i2c-2.9.0.1.diff # cd ../.. B) build the SENSORS patch -------------------------- Get the lm_sensors sources from http://www.lm-sensors.nu/ and untar them in a new fresh directory : # cd build # tar zxf ../lm_sensors-2.9.0.tar.gz # cd lm_sensors-2.9.0 Apply the I2C patch generated above to a fresh copy of the kernel : # cp -al /usr/src/linux-2.4.29{,-i2c-2.9.0.1} # patch -p1 -d /usr/src/linux-2.4.29-i2c-2.9.0.1 < ../../linux-2.4.29-i2c-2.9.0.1.diff Rebuild the patch against this new I2C kernel. # mkpatch/mkpatch.pl . /usr/src/linux-2.4.29-i2c-2.9.0.1 > ../../linux-2.4.29-sensors-2.9.0.diff # cd ../.. C) clean everything ------------------- Remove the directories and apply the patches incrementally # rm -rf build/i2c-2.9.0 build/lm_sensors-2.9.0 # rm -rf /usr/src/linux-2.4.29-i2c-2.9.0.1 # patch -d -p1 -i linux-2.4.29-i2c-2.9.0.1.diff # patch -d -p1 -i linux-2.4.29-sensors-2.9.0.1.diff