Help - Search - Members - Calendar
Full Version: Patching the kernel?
Neowin Forums > *nix Customization & Support > Linux Client Support
raid517
Hi I have had no luck at all in patching my kernel. I have tried several times over the last couple of years with the mm patchset - but no matter what I do it never goes smoothly.

This time I put the 2.6.11-mm4.bz2 patch in /usr/src.

Then I did cd /linux (which points to the full linux-2.6.11.6 source).

Then I issued the command:

CODE
bzcat ../2.6.11-mm4.bz2 | patch -p1


The patching process began - but it was clear to see that at least 10 of the patches failed to take. I had messages that 1 out of two hunks, or one out of 10 hunks, or whatever failed and that it was saving the rejects to a file throughout the output of the patching process. It also complained that some patches were already present and asked me what I would like to do about them? Having no clue what to answer I simply went with the default option and said no (or n) to all the questions.

My question is then, what am I doing wrong and why wont these patches take cleanly - and when it asks me about previously applied patches, what should I say and why?

I wouldn't normally worry about the mm patches - but I need them for reiserfs 4 support in my kernel.

Any input anyone can offer on this would be very much appreciated.

Best regards,

GJ
kjordan2001
That one may require just 2.6.11:
http://www.kernel.org/pub/linux/kernel/v2....-2.6.11.tar.bz2
raid517
Thanks, that seems to have worked. But just out of curiosity, how did you know this? I think all of these point releases are very confusing. I certainly hope that it's not a new trend.

GJ
kjordan2001
QUOTE(raid517 @ Apr 5 2005, 15:33)
Thanks, that seems to have worked. But just out of curiosity, how did you know this? I think all of these point releases are very confusing. I certainly hope that it's not a new trend.

GJ
[right][snapback]585731783[/snapback][/right]

I just assumed it from the name. I figured they would have put .6 in there if the patch was for .6. I also figured since you were getting so many things already patched that they've included one of the patches for the point releases.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.