On 25/05/06, Fong Vang <sudoyang at gmail.com>
wrote:> The xfs kernel modules at dev.centos.org are very handy. There are a
> couple of xfs modules in the 4.3 x86_64 directory, but I don't think
> it's for the x86_64 4.3 kernel (2.6.9-34). The latest ones in that
> directory is for the -22 kernel (I believe this came with CentOS 4.2).
Get one of the kernel-module-xfs SRPMS (doesn't matter which one, they
are the same), install it and then edit the kernel-module-xfs.spec
file and comment out the line:
%patch6 -p1
(or, use the patch to the spec file attached)
and then build the RPM using something like:
rpmbuild --target x86_64 --define "kernel_topdir
/lib/modules/2.6.9-34/build" \
kernel-module-xfs.spec
see: ftp://oss.sgi.com/projects/xfs/testing/RHEL4/README
I was given these instructions by Eric Sandeen @ SGI
I've been using 2.6.9-34 with XFS compiled in this way ...
James Pearson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-module-xfs.spec.patch
Type: application/octet-stream
Size: 953 bytes
Desc: not available
URL:
<http://lists.centos.org/pipermail/centos/attachments/20060525/7b267f48/attachment-0002.obj>