Kernel Patching

txrandom

Diamond Member
Aug 15, 2004
3,773
0
71
I'm trying to patch the 2.6.18 kernel on a CentOS machine to 2.6.30 (with web100).

Whenever I run the web100 script, I'm getting an error:

Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej

I'm guessing this file is important or it wouldn't be included. Whenever I go through the networking options after continuing on, I don't see the web100 options I should see. I believe it has something to do with the web100 patch not working correctly.

Any ideas how this can be fixed?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You're trying to go directly from 2.6.18->2.6.30? I don't think there are any patches for that, if you really wanna patch that far you'd have to do each revision individually.
 

txrandom

Diamond Member
Aug 15, 2004
3,773
0
71
Originally posted by: Nothinman
You're trying to go directly from 2.6.18->2.6.30? I don't think there are any patches for that, if you really wanna patch that far you'd have to do each revision individually.

I downloaded the full 2.6.30 source code and then tried applying the web100 patch.
 

txrandom

Diamond Member
Aug 15, 2004
3,773
0
71
Yes, they have a couple different ones on their website, and I downloaded the 2.6.30 version.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Makefile.rej should contain the rejected chunk so open it up and see if it was something important.