[OpenAFS-devel] Re: OpenAFS on RedHat 2.2.19-6.2.7enterprise kernel: solution!

Derek Atkins warlord@MIT.EDU
13 Sep 2001 10:38:41 -0400


Alf Wachsmann <alfw@SLAC.Stanford.EDU> writes:

> Here is how I did it using openafs-snap-2001-09-05 (others may work):
> 
> 1. Make sure you have the _original_ kernel-headers-2.2.19-6.2.7.i386.rpm
>    and kernel-source-2.2.19-6.2.7.i386.rpm installed. Running "make dep"
>    or such make things only more complicated

This is true of ALL redhat kernels.

[snip]

> 3. Install kernel-2.2.19-6.2.7.src.rpm on your system.
>
> 4. Apply _all_ changes to _all_ header files from
>    /usr/src/redhat/SOURCES/linux-2.2.19-lfs.patch and
>    /usr/src/redhat/SOURCES/linux-2.2.16-lfs-headers.patch
>    to the header files in /usr/include/ AND /usr/src/linux-2.2.19/include/
>    RedHat would need a separate kernel-header and kernel-source RPM for
>    the enterprise edition to get around this (IOW: It's another bug!).

Can you explain why you need to do this?  Are these patches not
applied in the distributed kernel-source and kernel-header RPMS?
You're saying that Red Hat applies patches to build the enterprise
kernel AFTER it packages the kernel-source and kernel-headers?

Could you send me these two patch files?

I'm trying to build the enterprise kernel modules for OpenAFS 1.2.0,
although if what you say here is true, it may not work properly.  In
which case I will back-out my attempts and, well, you'll have to build
for the enterprise kernels yourself.

Thanks,

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available