Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Help patching Web10g to kernel

Subject: NDT-DEV email list created

List archive

[ndt-dev] Help patching Web10g to kernel


Chronological Thread 
  • From: <>
  • To:
  • Subject: [ndt-dev] Help patching Web10g to kernel
  • Date: Thu, 5 Mar 2015 16:06:06 +0000 (UTC)

Hello everyone, I am an absolute newbie to patching and kernel
implementations. I am trying to patch the web10g patch to a linux kernel but
have had no luck. I have downloaded the kernel images from kernel.org:

https://www.kernel.org/pub/linux/kernel/v3.x/

I have miserably tried to patch the images 3.17, 3.14, and 3.11, all of them
getting errors on many hunks, for example:


/linux-3.0.11# patch -p1 < /root/Web10G-0.9-patch-3.11.diff
patching file include/linux/tcp.h
Hunk #1 succeeded at 255 with fuzz 1 (offset 163 lines).
Hunk #2 succeeded at 292 (offset 158 lines).
Hunk #3 FAILED at 321.
1 out of 3 hunks FAILED -- saving rejects to file include/linux/tcp.h.rej
patching file include/net/tcp.h
Hunk #1 succeeded at 43 with fuzz 1.
patching file include/net/tcp_estats.h
patching file include/net/tcp_estats_mib_var.h
patching file include/net/tcp_estats_nl.h
patching file net/ipv4/Kconfig
Hunk #1 succeeded at 624 (offset -10 lines).
patching file net/ipv4/Makefile
Hunk #1 FAILED at 11.
Hunk #2 succeeded at 31 (offset -3 lines).
1 out of 2 hunks FAILED -- saving rejects to file net/ipv4/Makefile.rej
patching file net/ipv4/sysctl_net_ipv4.c
Hunk #1 succeeded at 35 (offset -6 lines).
Hunk #2 succeeded at 740 with fuzz 2 (offset -41 lines).
patching file net/ipv4/tcp.c
Hunk #1 succeeded at 2976 with fuzz 2 (offset 2559 lines).
Hunk #2 FAILED at 930.
Hunk #3 FAILED at 1218.
Hunk #4 FAILED at 1663.
Hunk #5 succeeded at 3304 with fuzz 2 (offset 136 lines).
3 out of 5 hunks FAILED -- saving rejects to file net/ipv4/tcp.c.rej
patching file net/ipv4/tcp_cong.c
Hunk #1 FAILED at 311.
Hunk #2 succeeded at 341 (offset 7 lines).
1 out of 2 hunks FAILED -- saving rejects to file net/ipv4/tcp_cong.c.rej
patching file net/ipv4/tcp_estats.c
patching file net/ipv4/tcp_estats_mib_var.c
patching file net/ipv4/tcp_estats_nl.c
patching file net/ipv4/tcp_htcp.c
patching file net/ipv4/tcp_input.c
Hunk #1 FAILED at 232.
Hunk #2 succeeded at 1726 (offset 171 lines).
Hunk #3 succeeded at 2204 with fuzz 2 (offset 373 lines).
Hunk #4 FAILED at 2094.
Hunk #5 succeeded at 2586 with fuzz 1 (offset 394 lines).
Hunk #6 succeeded at 2683 with fuzz 1 (offset 411 lines).
Hunk #7 FAILED at 2299.
Hunk #8 FAILED at 2370.
Hunk #9 succeeded at 2871 with fuzz 2 (offset 417 lines).
Hunk #10 FAILED at 2480.
Hunk #11 succeeded at 3031 (offset 297 lines).
Hunk #12 FAILED at 2782.
Hunk #13 succeeded at 3119 with fuzz 2 (offset 318 lines).
Hunk #14 succeeded at 3133 with fuzz 1 (offset 318 lines).
Hunk #15 FAILED at 2928.
Hunk #16 succeeded at 3481 (offset 280 lines).
Hunk #17 FAILED at 3296.
Hunk #18 FAILED at 3312.
Hunk #19 succeeded at 3677 (offset 340 lines).
Hunk #20 FAILED at 3382.
Hunk #21 succeeded at 4358 with fuzz 1 (offset 346 lines).
Hunk #22 FAILED at 4104.
Hunk #23 FAILED at 4114.
Hunk #24 succeeded at 4439 with fuzz 2 (offset 126 lines).
Hunk #25 succeeded at 4463 with fuzz 2 (offset 126 lines).
Hunk #26 succeeded at 4872 (offset 224 lines).
Hunk #27 succeeded at 5187 (offset 224 lines).
Hunk #28 succeeded at 5794 with fuzz 2 (offset 809 lines).
Hunk #29 FAILED at 5135.
Hunk #30 FAILED at 5173.
Hunk #31 FAILED at 5200.
Hunk #32 FAILED at 5262.
Hunk #33 FAILED at 5458.
Hunk #34 FAILED at 5684.
18 out of 34 hunks FAILED -- saving rejects to file net/ipv4/tcp_input.c.rej
patching file net/ipv4/tcp_ipv4.c
Hunk #1 succeeded at 232 (offset 18 lines).
Hunk #2 FAILED at 1493.
Hunk #3 succeeded at 1435 with fuzz 2 (offset -203 lines).
Hunk #4 succeeded at 1700 (offset -304 lines).
Hunk #5 succeeded at 1720 (offset -305 lines).
Hunk #6 succeeded at 1910 with fuzz 2 (offset -242 lines).
Hunk #7 FAILED at 2192.
2 out of 7 hunks FAILED -- saving rejects to file net/ipv4/tcp_ipv4.c.rej
patching file net/ipv4/tcp_minisocks.c
Hunk #1 succeeded at 548 with fuzz 2 (offset 71 lines).
patching file net/ipv4/tcp_output.c
Hunk #1 succeeded at 72 with fuzz 2 (offset -5 lines).
Hunk #2 succeeded at 276 (offset -7 lines).
Hunk #3 succeeded at 805 (offset -39 lines).
Hunk #4 succeeded at 908 (offset -53 lines).
Hunk #5 succeeded at 1267 (offset -75 lines).
Hunk #6 succeeded at 1471 (offset -74 lines).
Hunk #7 succeeded at 1491 (offset -74 lines).
Hunk #8 succeeded at 1770 (offset -81 lines).
Hunk #9 FAILED at 1877.
Hunk #10 succeeded at 1794 with fuzz 2 (offset -90 lines).
Hunk #11 succeeded at 1818 with fuzz 2 (offset -99 lines).
Hunk #12 succeeded at 1840 with fuzz 2 (offset -100 lines).
Hunk #13 succeeded at 2681 (offset -323 lines).
1 out of 13 hunks FAILED -- saving rejects to file net/ipv4/tcp_output.c.rej
patching file net/ipv4/tcp_timer.c
Hunk #1 succeeded at 304 (offset 9 lines).
patching file net/ipv6/tcp_ipv6.c
Hunk #1 succeeded at 300 (offset 12 lines).
Hunk #2 FAILED at 988.
Hunk #3 succeeded at 1450 (offset 282 lines).
Hunk #4 succeeded at 1772 (offset 264 lines).
Hunk #5 succeeded at 1792 (offset 263 lines).
Hunk #6 succeeded at 1958 with fuzz 2 (offset 243 lines).
1 out of 6 hunks FAILED -- saving rejects to file net/ipv6/tcp_ipv6.c.rej

This same thing happens to all the above versions. Has someone been able to
patch a kernel with a diff that already has the tcp_estats_nl kernel module?

thank you!

lel



Archive powered by MHonArc 2.6.16.

Top of Page