posix_memalign |
12-20-2008 12:51 AM |
Applying a kernel patch?
I'm unable to apply a kernel patch.
How is this insurmountable feat performed?
I am in a directory where I have:
linux-2.6.27.9.tar.bz2 and patch-2.6.27.10
I want to patch the 2.6.27.9 kernel to 2.6.27.10. To do this I follow the commands from one of several guides I've read, as such:
tar jxvf linux-2.6.27.9.tar.bz2, to extract obviously
then change directory to this new dir and do:
"patch -p1 < ../patch-2.6.27.10"
Which according to said guides should patch the kernel, but it doesn't!
All I get is an endless:
Code:
patching file Documentation/cciss.txt
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- saving rejects to file Documentation/cciss.txt.rej
patching file Documentation/filesystems/proc.txt
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 44.
Hunk #2 FAILED at 2472.
2 out of 2 hunks FAILED -- saving rejects to file Documentation/filesystems/proc.txt.rej
patching file Documentation/i2c/busses/i2c-sis96x
Reversed (or previously applied) patch detected! Assume -R? [n]
I've also attempted to change the name of the kernel source to "a" because this name is present in the patch-file as a directory name, I've also attempted to perform the patch from a different directory, e.g. the same directory as the patch resides in; however, then the patch program asks me what file it should patch, and when I provide the file name, the same issue as above is repeated.
Why am I unable to patch the kernel?
|