On Tue, Sep 16, 2008 at 7:49 AM, Robert Moskowitz <rgm at htt-consult.com> wrote: > Akemi Yagi wrote: >> You need to add the patch file to the SOURCES directory and edit the >> .spec file to include that patch. This is explained in the wiki >> article you referred to. > > Did that. I believe I followed the instructions to a tee. > >> If the build fails, please post relevant >> portions of the log files so that we can figure out what went wrong. > > I did that a couple of days ago: > > Patch #40000 > (centos-5.2-hipmod-sleep-beet-and-interfamily-all-in-one.patch): > 1 out of 4 hunks FAILED -- saving rejects to file > net/ipv4/xfrm4_output.c.rej > 2 out of 3 hunks FAILED -- saving rejects to file net/ipv4/esp4.c.rej > 1 out of 1 hunk FAILED -- saving rejects to file net/ipv6/udp.c.rej > 1 out of 1 hunk FAILED -- saving rejects to file net/ipv6/tcp_ipv6.c.rej > 1 out of 1 hunk FAILED -- saving rejects to file net/ipv6/esp6.c.rej > 2 out of 2 hunks FAILED -- saving rejects to file net/ipv6/icmp.c.rej > 2 out of 2 hunks FAILED -- saving rejects to file net/xfrm/xfrm_state.c.rej > 1 out of 2 hunks FAILED -- saving rejects to file include/net/xfrm.h.rej > Reversed (or previously applied) patch detected! Assume -R? [n] > Apply anyway? [n] > 1 out of 1 hunk ignored -- saving rejects to file include/linux/net.h.rej > > ==================================== Now I remember this one. I believe you got this one answered that time. The patch cannot be directly applied to the CentOS kernel because it was written for the vanilla kernel. Akemi