In The Name Of God Hello; I'll be thankfull if you guide ; kernel is :2.6.18-4-686 ,and this<http://www.dresco.co.uk/hdaps/hdaps_protect-2.6.18.3-2.patch>patch is applied to kernel ; And it gives this error:
debian:~# patch -p1 -l < 2.patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN linux-2.6.18.3.original/block/ll_rw_blk.c linux-2.6.18.3.hdaps/block/ll_rw_blk.c |--- linux-2.6.18.3.original/block/ll_rw_blk.c 2006-11-19 03:28:22.000000000 +0000 |+++ linux-2.6.18.3.hdaps/block/ll_rw_blk.c 2006-11-26 11:29:55.000000000 +0000 -------------------------- File to patch: 2.patch patching file 2.patch Hunk #1 FAILED at 36. Hunk #2 succeeded at 239 with fuzz 2 (offset -32 lines). Hunk #3 FAILED at 338. Hunk #4 FAILED at 1834. Hunk #5 FAILED at 3936. Hunk #6 FAILED at 3945. Hunk #7 FAILED at 3953. 6 out of 7 hunks FAILED -- saving rejects to file 2.patch.rej can't find file to patch at input line 210 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN linux-2.6.18.3.original/drivers/ide/ide-disk.c linux-2.6.18.3.hdaps/drivers/ide/ide-disk.c |--- linux-2.6.18.3.original/drivers/ide/ide-disk.c 2006-11-19 03:28:22.000000000 +0000 |+++ linux-2.6.18.3.hdaps/drivers/ide/ide-disk.c 2006-11-26 11:29:55.000000000 +0000 -------------------------- How can it be fixed ? regards dehqan _______________________________________________ Thinkpad mailing list [email protected] http://stderr.org/cgi-bin/mailman/listinfo/thinkpad
