[CentOS-devel] RHEL4 2.6.9-22EL xfs module src.rpm for testing

Fri Nov 18 15:49:50 UTC 2005
Eric Sandeen <sandeen at sgi.com>

Hey, let's give it a whirl.  No promises, but please do let me know how it 
works out.  I've also sent this out to the linux-xfs list.

ftp://oss.sgi.com/projects/xfs/testing/RHEL4/

#################################################################
#                                                               #
#                        NOTICE                                 #
# This xfs module rpm has been provided for testing purposes    #
# only.  It is believed to be functional, but it has not been   #
# heavily tested.  In particular, you may have issues with the  #
# 4KSTACKS option on RHEL4 ia32 kernels, depending on your IO   #
# hardware, layering, nfs usage, etc.                           #
#                                                               #
# Please do NOT report any problems with this module, or with   #
# the kernel when this module is loaded, to Red Hat.            #
# You may report issues to the linux-xfs at oss.sgi.com list.      #
# (Please also report successes!)                               #
#                                                               #
#################################################################

To rebuild, do something like this:

rpmbuild --rebuild --target i686 --define "kernel_topdir 
/lib/modules/2.6.9-22.EL/build" kernel-module-xfs-2.6.9-22.EL-0.1-1.src.rpm

where the --target should match your architecture (actually not needed
for x86_64 or ia64, it just affects the rpm name), and the kernel_topdir
is /lib/modules/`uname -r`/build for the RHEL4 kernel you wish to build against.

I have tested this xfs codebase a little bit with the xfs qa tests from 
xfs-cmds cvs with the 2.6.9-22.ELsmp kernel on ia32.   It should work on other 
architectures and flavors (bigmem, non-smp, etc), and it may work with other 
RHEL4 kernel versions, but no guarantees on that.

-Eric