Skip to Content.
Sympa Menu

ndt-users - Kernel Patching Error

Subject: ndt-users list created

List archive

Kernel Patching Error


Chronological Thread 
  • From: Clayton Keller <>
  • To:
  • Subject: Kernel Patching Error
  • Date: Wed, 22 Aug 2007 09:16:38 -0500

I am attempting to patch a CentOS 5 kernel linux-2.6.18.i686.

When doing so I receive the following output:

# patch -p1 < /usr/src/web100/web100-2.6.18-2.5.12-200609221010.patch
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file Documentation/web100/locking.txt
patching file Documentation/web100/proc_interface.txt
patching file Documentation/web100/sysctl.txt
patching file fs/proc/Makefile
patching file fs/proc/root.c
patching file fs/proc/web100.c
patching file include/linux/netlink.h
Hunk #2 FAILED at 22.
1 out of 2 hunks FAILED -- saving rejects to file include/linux/netlink.h.rej
patching file include/linux/proc_fs.h
patching file include/linux/sysctl.h
Hunk #1 FAILED at 411.
Hunk #2 succeeded at 1002 (offset 60 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/linux/sysctl.h.rej
patching file include/linux/tcp.h
patching file include/net/tcp.h
Hunk #3 succeeded at 750 (offset 3 lines).
patching file include/net/web100.h
patching file include/net/web100_stats.h
patching file net/ipv4/Kconfig
Hunk #1 succeeded at 580 (offset 1 line).
patching file net/ipv4/Makefile
patching file net/ipv4/sysctl_net_ipv4.c
Hunk #1 FAILED at 697.
1 out of 1 hunk FAILED -- saving rejects to file net/ipv4/sysctl_net_ipv4.c.rej
patching file net/ipv4/tcp.c
patching file net/ipv4/tcp_cong.c
patching file net/ipv4/tcp_input.c
Hunk #22 succeeded at 3617 (offset 1 line).
Hunk #24 succeeded at 4298 with fuzz 2 (offset 1 line).
Hunk #25 succeeded at 4549 (offset 2 lines).
patching file net/ipv4/tcp_ipv4.c
Hunk #3 succeeded at 907 (offset 3 lines).
Hunk #5 succeeded at 1139 (offset 3 lines).
Hunk #7 succeeded at 1323 (offset 3 lines).
patching file net/ipv4/tcp_minisocks.c
patching file net/ipv4/tcp_output.c
Hunk #5 succeeded at 1010 (offset 2 lines).
Hunk #7 succeeded at 1041 (offset 2 lines).
Hunk #9 succeeded at 1327 (offset 2 lines).
Hunk #11 succeeded at 1387 (offset 2 lines).
Hunk #12 succeeded at 1419 (offset 1 line).
Hunk #13 succeeded at 1446 (offset 2 lines).
Hunk #14 succeeded at 1578 (offset 1 line).
Hunk #15 succeeded at 2178 (offset 2 lines).
Hunk #16 succeeded at 2215 (offset 1 line).
Hunk #17 succeeded at 2232 (offset 2 lines).
patching file net/ipv4/tcp_timer.c
patching file net/ipv4/web100_stats.c
patching file net/ipv6/tcp_ipv6.c
Hunk #1 succeeded at 294 (offset 2 lines).
Hunk #2 succeeded at 949 (offset 7 lines).
Hunk #3 FAILED at 1248.
Hunk #4 succeeded at 1259 (offset 3 lines).
Hunk #5 succeeded at 1406 (offset 7 lines).
Hunk #6 succeeded at 1418 (offset 3 lines).
1 out of 6 hunks FAILED -- saving rejects to file net/ipv6/tcp_ipv6.c.rej

It has been quite sometime since I have worked with the web100, and the first time trying to do this with a patched kernel and not that from kernel.org.

Any information regarding the failed patch attempt would be appreciated.

Clay



Archive powered by MHonArc 2.6.16.

Top of Page