[OpenAFS] Problem building 1.4.7 client on RHEL4 SMP system
Fri, 9 May 2008 18:36:18 -0400 (EDT)
Many thanks - adding '--define "kvariants smp"' did the trick and is now
on my standard cheat sheet for rebuilding modules.
The RPMs on the download site worked for 2.6.9-67.0.7, but there aren't
any for 2.6.9-67.0.15 which Red Hat just released this week.
I've now found the notes in the 'openafs' RPM description which explain
the kvariants option, but I hadn't installed that yet because I was trying
to build first and then install all the parts of 1.4.7 at once.
On Fri, 9 May 2008, Simon Wilkinson wrote:
> On 9 May 2008, at 01:51, Richard Brittain wrote:
>> I tried upgrading an SMP RHEL4 client today with the 1.4.7 RPMs and built
>> the kernel module with rpmbuild the way I usually do. However,
>> although I specified --define "kernvers 2.6.9-67.0.15.ELsmp"
>> - which syntax always worked before, it built the non-SMP kernel module.
> Is there a problem with the RPMs on the web site?
> With 1.4.7, we have moved to building 'kmod' style kernel modules. These
> build multiple different kernel variants (SMP, Xen, PAE, etc) from a single
> SRPM, using the standard RedHat mechanism for packaging kernel modules. When
> you're using this, you should give it the kernel version by defining
> 'kernvers', and the list of variants you want to build by defining
> 'kvariants'. When 'kvariants' is undefined, you will build a standard kernel
> You can get the old behaviour back by defining 'fedorakmod' to 0
Richard Brittain, Kiewit Computing Services, 6224 Baker/Berry Library
Dartmouth College, Hanover NH 03755