DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just installed a new kernel on Lenny: 2.6.25.1 from kernel.org. Everything went well.
uname -r returns:
test:~# uname -r
2.6.25.1
I'm now trying to apply the first patch in the series: 2.6.25.2 and have downloaded that patch from kernel.org as well. But when I try to patch, I get:
test:/usr/src/linux# patch -p1 < patch-2.6.25.2
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/alpha/kernel/osf_sys.c
Reversed (or previously applied) patch detected! Assume -R? [n]
At which point I cancel out of the process. I'm not sure what I'm doing wrong here. All help much appreciated.
Thought. Is this happening because I'm applying the patch to the 2.6.25.1 kernel instead of having installed the base 2.6.25 base and patched 1-9 from there?
Thanks for the reply and the link. Is this a kernel that is already patched up to #2? I'm actually doing this as a learning exercise. I wanted to try my hand at compiling and installing a new kernel, which I did. Now I want to tackle patching. I'm going to install the base 2.6.25 and try to patch 1-9 from there. Thanks again for your help.
Nope, that's the incremental patch from 2.6.25.1 to 2.6.25.2 which I thought you were trying to accomplish.
The 2.6.25.2 patch you got an error with is indeed supposed to be applied to an unpatched 2.6.25 source.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.