--AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 18, 2004 12:45 +0200, Christoph Biardzki wrote:> I''m trying to configure Lustre 1.2.7 with a 2.6 kernel. Lustre 1.2.4=20 > worked with a standard SuSE 2.6.5-Kernel from SuSE 9.1 while 1.2.7 does=20 > not. I tried patching a vanilla 2.6.7 from kernel.org and while the=20 > patch (quilt push -av) applied cleanly the build process stops with an=20 > error:> /root/lustre-1.2.7/llite/file.c: In function `ll_pgcache_remove_extent'': > /root/lustre-1.2.7/llite/file.c:414: error: structure has no member=20 > named `count'' > /root/lustre-1.2.7/llite/file.c:438: error: structure has no member=20 > named `count''Replace the use of "page->count" with "page_count(page)" in that function. Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/ --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBdaUMpIg59Q01vtYRAls/AJwJXGitlk7g3dwU4Ws1NQ9OeCcTeACeKzV/ QAhgCMPo9qikotPWHc3uqlo=WZzS -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--
Hello, I''m trying to configure Lustre 1.2.7 with a 2.6 kernel. Lustre 1.2.4=20 worked with a standard SuSE 2.6.5-Kernel from SuSE 9.1 while 1.2.7 does=20 not. I tried patching a vanilla 2.6.7 from kernel.org and while the=20 patch (quilt push -av) applied cleanly the build process stops with an=20 error: infini2:~/lustre-1.2.7 # ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to build kernel modules... yes checking whether to build Lustre library... no checking whether to build utilities... yes checking whether to build Lustre tests... yes checking whether to build docs... no checking whether to use extN... no checking whether to enable ldiskfs... no checking which backing filesystem to use... ext3 checking whether to enable pinger support... yes checking maximum OBD ioctl size... 8192 bytes checking location of libsysio... ../libsysio checking for ../libsysio/src/libsysio.a... no checking whether to build mpitests... no checking whether to enable snapfs support... no checking whether to enable smfs support... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for spinlock_t... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unsigned long long... yes checking size of unsigned long long... 8 ---> size SIZEOF ---> size SIZEOF 8 checking for ranlib... ranlib checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for buggy compiler... no known problems checking for readline support... yes checking if efence debugging support is requested... no checking if libwrap support is requested... no checking for autoMakefile.am... yes checking if inkernel build support is requested... no checking if Cray portals should be used... no checking for Linux sources... /usr/src/linux checking for /boot/kernel.h... no checking for /var/adm/running-kernel.h... no ./configure: line 5175: ,: command not found checking if you are running user mode linux for i686... no (asm doesn''t=20 point at asm-um) checking for /usr/src/linux/include/linux/namei.h... yes checking if you are using Linux 2.6... yes checking for patch... /usr/bin/patch checking for quilt... /usr/bin/quilt checking for /usr/src/linux/.config... yes checking for /usr/src/linux/include/linux/autoconf.h... yes checking for /usr/src/linux/include/linux/version.h... yes checking for /usr/src/linux/include/linux/config.h... yes checking that modules can be built... yes checking for external module build support... yes checking for Linux release... 2.6.7 checking for Lustre release... 2.6.7_200410182027 checking for zero-copy TCP support... no (no kernel support) checking for CPU affinity support... yes checking if quadrics kernel headers are present... no checking if gm support was requested... no checking if ib nal support was requested... no checking if struct kiobuf has a dovary field... no checking if struct page has a list field... no checking if zap_pag_range with vma parameter... yes checking if task_struct has a sighand field... yes checking if kernel offers cond_resched... yes checking if kernel defines PDE... yes checking if kernel passes struct file to direct_IO... no checking if kernel defines cpu_online()... yes checking if kernel defines cpumask_t... yes checking if kernel has mm_inline.h header... no checking if struct inode has i_alloc_sem... yes checking for module support... yes checking for MODVERSIONS... yes checking if preempt is enabled... no checking if fshooks are present... no configure: creating ./config.status config.status: creating Makefile config.status: creating Rules config.status: creating autoMakefile config.status: creating cobd/Makefile config.status: creating cobd/autoMakefile config.status: creating conf/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating include/linux/Makefile config.status: creating include/lustre/Makefile config.status: creating kernel_patches/targets/2.6-suse.target config.status: creating kernel_patches/targets/2.6-vanilla.target config.status: creating kernel_patches/targets/hp_pnnl-2.4.target config.status: creating kernel_patches/targets/rh-2.4.target config.status: creating kernel_patches/targets/rhel-2.4.target config.status: creating kernel_patches/targets/suse-2.4.21-2.target config.status: creating ldiskfs/Makefile config.status: creating ldiskfs/autoMakefile config.status: creating ldlm/Makefile config.status: creating liblustre/Makefile config.status: creating liblustre/tests/Makefile config.status: creating llite/Makefile config.status: creating llite/autoMakefile config.status: creating lov/Makefile config.status: creating lov/autoMakefile config.status: creating lvfs/Makefile config.status: creating lvfs/autoMakefile config.status: creating mdc/Makefile config.status: creating mdc/autoMakefile config.status: creating mds/Makefile config.status: creating mds/autoMakefile config.status: creating obdclass/Makefile config.status: creating obdclass/autoMakefile config.status: creating obdecho/Makefile config.status: creating obdecho/autoMakefile config.status: creating obdfilter/Makefile config.status: creating obdfilter/autoMakefile config.status: creating osc/Makefile config.status: creating osc/autoMakefile config.status: creating ost/Makefile config.status: creating ost/autoMakefile config.status: creating portals/Kernelenv config.status: creating portals/Makefile config.status: creating portals/autoMakefile config.status: creating portals/doc/Makefile config.status: creating portals/include/Makefile config.status: creating portals/include/linux/Makefile config.status: creating portals/include/portals/Makefile config.status: creating portals/knals/Makefile config.status: creating portals/knals/autoMakefile config.status: creating portals/knals/gmnal/Makefile config.status: creating portals/knals/gmnal/autoMakefile config.status: creating portals/knals/ibnal/Makefile config.status: creating portals/knals/ibnal/autoMakefile config.status: creating portals/knals/qswnal/Makefile config.status: creating portals/knals/qswnal/autoMakefile config.status: creating portals/knals/socknal/Makefile config.status: creating portals/knals/socknal/autoMakefile config.status: creating portals/libcfs/Makefile config.status: creating portals/libcfs/autoMakefile config.status: creating portals/portals/Makefile config.status: creating portals/portals/autoMakefile config.status: creating portals/router/Makefile config.status: creating portals/router/autoMakefile config.status: creating portals/tests/Makefile config.status: creating portals/tests/autoMakefile config.status: creating portals/unals/Makefile config.status: creating portals/utils/Makefile config.status: creating ptlbd/Makefile config.status: creating ptlbd/autoMakefile config.status: creating ptlrpc/Makefile config.status: creating ptlrpc/autoMakefile config.status: creating scripts/Makefile config.status: creating scripts/lustre.spec config.status: creating scripts/version_tag.pl config.status: creating smfs/Makefile config.status: creating smfs/autoMakefile config.status: creating snapfs/Makefile config.status: creating snapfs/autoMakefile config.status: creating snapfs/utils/Makefile config.status: creating tests/Makefile config.status: creating utils/Lustre/Makefile config.status: creating utils/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands infini2:~/lustre-1.2.7 # make perl ./scripts/version_tag.pl . . > tmpver echo "#define LUSTRE_RELEASE 2.6.7_200410182027" >> tmpver cmp -s ./include/linux/lustre_build_version.h tmpver \ 2> /dev/null && =20 \ rm -f tmpver || =20 \ mv tmpver ./include/linux/lustre_build_version.h Making all in . make[1]: Entering directory `/root/lustre-1.2.7'' perl ./scripts/version_tag.pl . . > tmpver echo "#define LUSTRE_RELEASE 2.6.7_200410182027" >> tmpver cmp -s ./include/linux/lustre_build_version.h tmpver \ 2> /dev/null && =20 \ rm -f tmpver || =20 \ mv tmpver ./include/linux/lustre_build_version.h make sources -C ldiskfs make[2]: Entering directory `/root/lustre-1.2.7/ldiskfs'' make[2]: `sources'' is up to date. make[2]: Leaving directory `/root/lustre-1.2.7/ldiskfs'' make sources -C lvfs make[2]: Entering directory `/root/lustre-1.2.7/lvfs'' make[2]: `sources'' is up to date. make[2]: Leaving directory `/root/lustre-1.2.7/lvfs'' make sources -C portals/libcfs make[2]: Entering directory `/root/lustre-1.2.7/portals/libcfs'' make[2]: `sources'' is up to date. make[2]: Leaving directory `/root/lustre-1.2.7/portals/libcfs'' make -C /usr/src/linux -f /root/lustre-1.2.7/kernel-tests/Makefile=20 LUSTRE_LINUX_CONFIG=3D/usr/src/linux/.config M=3D/root/lustre-1.2.7 -o=20 tmp_include_depends -o scripts -o include/config/MARKER modules make[2]: Entering directory `/usr/src/linux-2.6.7'' CC [M] /root/lustre-1.2.7/cobd/cache_obd.o CC [M] /root/lustre-1.2.7/cobd/lproc_cache.o LD [M] /root/lustre-1.2.7/cobd/cobd.o CC [M] /root/lustre-1.2.7/ldiskfs/acl.o CC [M] /root/lustre-1.2.7/ldiskfs/balloc.o CC [M] /root/lustre-1.2.7/ldiskfs/bitmap.o CC [M] /root/lustre-1.2.7/ldiskfs/dir.o CC [M] /root/lustre-1.2.7/ldiskfs/file.o CC [M] /root/lustre-1.2.7/ldiskfs/fsync.o CC [M] /root/lustre-1.2.7/ldiskfs/hash.o CC [M] /root/lustre-1.2.7/ldiskfs/ialloc.o CC [M] /root/lustre-1.2.7/ldiskfs/inode.o CC [M] /root/lustre-1.2.7/ldiskfs/ioctl.o /root/lustre-1.2.7/ldiskfs/ioctl.c: In function `ldiskfs_ioctl'': /root/lustre-1.2.7/ldiskfs/ioctl.c:182: warning: implicit declaration=20 of function `ldiskfs_ext_ioctl'' CC [M] /root/lustre-1.2.7/ldiskfs/namei.o CC [M] /root/lustre-1.2.7/ldiskfs/super.o /root/lustre-1.2.7/ldiskfs/super.c: In function `ldiskfs_put_super'': /root/lustre-1.2.7/ldiskfs/super.c:395: warning: implicit declaration=20 of function `ldiskfs_mb_release'' /root/lustre-1.2.7/ldiskfs/super.c: In function `ldiskfs_fill_super'': /root/lustre-1.2.7/ldiskfs/super.c:1609: warning: implicit declaration=20 of function `ldiskfs_mb_init'' CC [M] /root/lustre-1.2.7/ldiskfs/symlink.o CC [M] /root/lustre-1.2.7/ldiskfs/xattr.o CC [M] /root/lustre-1.2.7/ldiskfs/xattr_security.o CC [M] /root/lustre-1.2.7/ldiskfs/xattr_trusted.o CC [M] /root/lustre-1.2.7/ldiskfs/xattr_user.o CC [M] /root/lustre-1.2.7/ldiskfs/iopen.o LD [M] /root/lustre-1.2.7/ldiskfs/ldiskfs.o LD /root/lustre-1.2.7/llite/built-in.o CC [M] /root/lustre-1.2.7/llite/dcache.o CC [M] /root/lustre-1.2.7/llite/dir.o CC [M] /root/lustre-1.2.7/llite/file.o /root/lustre-1.2.7/llite/file.c: In function `ll_pgcache_remove_extent'': /root/lustre-1.2.7/llite/file.c:414: error: structure has no member=20 named `count'' /root/lustre-1.2.7/llite/file.c:438: error: structure has no member=20 named `count'' make[4]: *** [/root/lustre-1.2.7/llite/file.o] Error 1 make[3]: *** [/root/lustre-1.2.7/llite] Error 2 make[2]: *** [_module_/root/lustre-1.2.7] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.7'' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/root/lustre-1.2.7'' make: *** [all-recursive] Error 1 Is there some kind of special procedure for 2.6 kernels? Which one=20 should I try with 1.2.7? Thanks! - Christoph --=20 Leibniz Rechenzentrum M=FCnchen (LRZ) http://www.lrz.de Abteilung Hochleistungssysteme Barer Str. 21 - 80333 M=FCnchen - Germany Tel. ++49-(0)89 / 289-28853, Raum S1527