[ewg] Re: Build problem with RHEL-4.5 and OFED-1.2

Stefan Roscher ossrosch at linux.vnet.ibm.com
Wed May 9 14:57:59 PDT 2007


On Wednesday 09 May 2007 21:05, Doug Ledford wrote:
> On Wed, 2007-05-09 at 18:24 +0200, Stefan Roscher wrote:
> > Hi Doug,
> > 
> > I installed RHEL-4.5 on one of our ppc64 systems and recognized that asm-ppc
> > directory is missing in /usr/src/kernels/2.6.9-55.EL/include. 
> > Normally I don't need this directory, but ibmebus.h includes
> > asm-ppc64/of_device.h. And there asm-ppc64/of_device.h includes 
> > asm-ppc/of_device.h. Because this file is missing I can not build 
> > ehca and ofed stack with ofed-1.2 daily build from today.
> > 
> > Did I make something wrong during installation?
> > 
> > Regards Stefan Roscher
> 
> I'll look into it, but in the meantime, install the kernel src.rpm, go
> into /usr/src/redhat/SPEC and run rpmbuild --bp kernel-2.6.spec and it
> should create a complete source tree
> in /usr/src/redhat/BUILD/kernel-2.6.18 that you can then get the asm-ppc
> directory contents out of.
> 
> -- 
> Doug Ledford <dledford at redhat.com>
>               GPG KeyID: CFBFF194
>               http://people.redhat.com/dledford
> 
> Infiniband specific RPMs available at
>               http://people.redhat.com/dledford/Infiniband
> 
To create the backportpatches for rhel4.5 I did it like you say, but the
buildscripts of ofed dont uses the kernelsources in
/usr/src/redhat/BUILD. OFED-1.2 use the source link within
/lib/modules/kernel-x.x.x and this points into /usr/src/kernel this
kernelsources were created during installation of rhel-4.5. In this kernel
source the directory include/asm-ppc is missing.
This is the reason why I found this problem not during creation of the
backport patches.

regards stefan




More information about the ewg mailing list