Colin Watson wrote: >On Fri, Dec 28, 2001 at 10:46:08AM +0530, harsha wrote: > >>When I tried to patch the kernel 2.4.16 to 2.4.17 it failed. >> >>can't find file to patch at input line 4 >>Perhaps you used the wrong -p or --strip option? >> > >Change into the top-level kernel source directory and use the -p1 option >to patch. > Make sure you have kernel 2.4.16 then, cd /usr/src wget http://kernel.org/pub/linux/kernel/v2.4/patch-2.4.17.bz2 bunzip -c patch-2.4.17.bz2 |patch -p0 chown -R 0.0 linux cd /usr/src/linux make oldconfig make-kpkg clean make-kpkg --revision=custom.1.0 kernel_image dpkg -i <the deb image> reboot.
If it doesn't patch download the whole source tree and forget the patch. If you get some linker error, downgrade binutils... It then should work. David.