Skip to Content.
Sympa Menu

ndt-users - Re: Request for help compiling web100 kernel on RHEL 5.3

Subject: ndt-users list created

List archive

Re: Request for help compiling web100 kernel on RHEL 5.3


Chronological Thread 
  • From: Richard Carlson <>
  • To: Scott S Bertilson <>
  • Cc: "Holloway, Fred" <>, , "Morris, Scott" <>, "Escher, Andrew" <>
  • Subject: Re: Request for help compiling web100 kernel on RHEL 5.3
  • Date: Wed, 22 Jul 2009 13:21:34 -0500

Fred;

As Scott says, you need to look at the individual reject files to figure out what changes RedHat made to the files. It shouldn't be too difficult, but could be time consuming. The usual suggestion is to grab the native kernel from the kernel.org site instead of using distro patched kernels.

BTW, this type of message should go to the site instead of the NDT list.

Rich

On Jul 22, 2009, at 10:45 AM, Scott S Bertilson wrote:

I have done this a few times on earlier
versions of RHEL and have had no problems
with what I suggest here.
Looked all the patches over. They should be
applied manually with an editor. The header
file errors are almost assuredly just the
result of RedHat back-porting a few extra items
to the lists of definitions. When editing in
the changes to the code, just make sure that
arguments to the added code are still avail-
able in the code to be modified. Thankfully
that's a very small, contained set of changes
to apply.
Scott

On Wed, Jul 22, 2009 at 11:23:32AM -0400, Holloway, Fred wrote:

Distro: RHEL 5.3
Kernel: 2.6.18-128.2.1.el5PAE
Patch: web100-2.6.18-2.5.12-200609221010.patch

Following these instructions

http://code.google.com/p/perfsonar-ps/wiki/RPMPackagingOtherSofwareCookBook


Description:

Trying to patch existing kernel with web100 patch provided by web100.org.

When trying to patch the kernel source with the web100 patch I get the following failed chunks.

(the reject files are attached).

+ echo 'Patch #4000 (web100-2.6.18-2.5.12-200609221010.patch):'
Patch #4000 (web100-2.6.18-2.5.12-200609221010.patch):
+ patch -p1 -s
1 out of 2 hunks FAILED -- saving rejects to file include/linux/ netlink.h.rej
1 out of 2 hunks FAILED -- saving rejects to file include/linux/ sysctl.h.rej
1 out of 25 hunks FAILED -- saving rejects to file net/ipv4/ tcp_input.c.rej
1 out of 6 hunks FAILED -- saving rejects to file net/ipv6/ tcp_ipv6.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.19281 (%prep)


Any help will be greatly appreciated.

Thanks,
Fred












Richard Carlson

1000 Oakbrook Dr
Ann Arbor, MI 48104

P: 734-352-7043
C: 630-251-4572




Archive powered by MHonArc 2.6.16.

Top of Page