[hipl-users] Re: Instructions on using TLA

  • From: Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Fri, 12 Sep 2008 08:33:51 -0400

Miika Komu wrote:
check from /usr/src/redhat/BUILD/ that the kernel version you are using is actually 2.6.18. If not, you should be using some other kernel patch.

No question that this is 2.6.18.

I did the rpmbuild both as user me and as root, in the appropriate directories. Both failed the same way.

Robert Moskowitz wrote:



Patch failed:

Miika Komu wrote:

Well, if you look at Joakim's link or my earlier emails:

(0. Install kernel sources if necessary)

1. Modified /usr/src/redhat/SPECS/kernel-2.6.spec as follows:

...
%define xen_target vmlinuz
%define xen_image vmlinuz

# added the following line for beet
%define rhbsys .beet
...
Patch22557: linux-2.6-fs-race-condition-in-dnotify.patch
# added the following line for beet
Patch22558:
centos-5.2-hipmod-sleep-beet-and-interfamily-all-in-one.patch
...
%patch22557 -p1
# added the following line for beet
%patch22558 -p1


2. cp patches/kernel/2.6.18.0/centos-5.2-hipmod-sleep-beet-and-interfamily-all-in-one.patch /usr/src/redhat/SOURCES/

3. rpmbuild --target i686 -ba --without kabichk /usr/src/redhat/SPECS/kernel-2.6.spec

Get an error on this step (figured out my other problem):

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 what?







Other related posts: