[ofa-general] Re: [ewg] Re: Build problem with RHEL-4.5 and OFED-1.2
Doug Ledford
dledford at redhat.com
Wed May 16 09:13:06 PDT 2007
Stefan Roscher wrote:
> He Doug,
(Sorry for the late reply, I'm out of town at the moment)
> are there any news for this problem? Is it a problem of the OFED-build or a
> problem with redhat?
> Should I open a bugzilla to track this?
Well, yes, there should be a bugzilla. What exactly the bug is depends
on the kernel RPM maintainer's intended wishes for the kernel-devel
package. If he wanted the ppc kernel-devel to be self sufficient, then
he should have included all asm-ppc64 header files that were included by
asm-ppc header files and not having them in the kernel-devel.ppc package
is the bug. However, doing things this way probably precludes
installing both the kernel-devel.ppc and kernel-devel.ppc64 packages at
the same time.
If, on the other hand, he wanted the ppc devel package to be pure and
not include ppc64 header files, then he needs to make sure that A) both
the kernel-devel.ppc and kernel-devel.ppc64 rpms can be installed at the
same time and B) that the kernel-devel.ppc RPM has a Requires:
kernel-devel.ppc64 item in there to avoid this dangling header include
problem that currently exists.
> Regards Stefan
> On Wednesday 09 May 2007 23:57, Stefan Roscher wrote:
>> 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
>>
>> _______________________________________________
>> ewg mailing list
>> ewg at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>>
--
Doug Ledford <dledford at redhat.com>
http://people.redhat.com/dledford
Infiniband specific RPMs can be found at
http://people.redhat.com/dledford/Infiniband
More information about the general
mailing list