[PVFS2-developers] SLES 8 Files
Robert Latham
robl at mcs.anl.gov
Wed Mar 23 17:36:48 EST 2005
On Tue, Mar 22, 2005 at 10:24:58AM -0600, Ti Leggett wrote:
> I thought I sent these, but I guess I didn't. I'm attaching 3 files, a
> patch to make kmod24 installs sane, and client and server init scripts
> for SLES 8.
> diff -u -r pvfs2-1.0.1.orig/Makefile.in pvfs2-1.0.1/Makefile.in
> --- pvfs2-1.0.1.orig/Makefile.in 2004-11-23 17:01:47.000000000 -0600
> +++ pvfs2-1.0.1/Makefile.in 2004-12-13 17:12:38.000000000 -0600
> @@ -969,7 +969,7 @@
> else
> KERNEL_VERS := $(shell uname -r)
> endif
> -KMOD_DIR := /lib/modules/$(KERNEL_VERS)/kernel/fs
> +KMOD_DIR ?= /lib/modules/$(KERNEL_VERS)/kernel/fs
Already applied at some point
> --- pvfs2-1.0.1.orig/src/kernel/linux-2.6/pvfs2-kernel.h 2004-11-23 17:01:47.000000000 -0600
> +++ pvfs2-1.0.1/src/kernel/linux-2.6/pvfs2-kernel.h 2004-12-13 17:13:27.000000000 -0600
> @@ -13,6 +13,7 @@
>
> #define __NO_VERSION__
> #include <linux/version.h>
> +#include <linux/modversions.h>
> #include <linux/module.h>
>
> #ifndef HAVE_SECTOR_T
No longer needed. 2.4.21.SuSE_273.bef1 gets the includes right i
guess.
> @@ -854,7 +855,7 @@
> }
> #endif /* PVFS2_LINUX_KERNEL_2_4_MINOR_VER */
>
> -/* based on linux kernel 2.6.x fs.h routines not included in 2.4.x */
> +/* based on linux kernel 2.6.x fs.h routines not included in 2.4.x
> static inline void i_size_write(struct inode *inode, loff_t i_size)
> {
> inode->i_size = i_size;
We now have configure-time tests for these.
Thanks for the patches and for letting us know how we do on SuSE. I
also munged SuSE's minor version in our configure script. it used to
report 21.SuSE_273.bef1, but now reports just plain ol' .21 .
==rob
More information about the PVFS2-developers
mailing list