Andreas Dilger
2006-May-19 07:36 UTC
[Lustre-discuss] lustre 1.2.4 and which linux kernels?
On Apr 19, 2005 15:17 +1000, jm wrote:> Thanks to a blatant hit from yfyoufeng I got the correct version of the > kernel (2.6.6). The patches now apply cleanly. I then proceed as > follows, after running make to generate version.h and everything is > correct,The only supported 2.6 kernel is the SuSE SLES 2.6.5 kernel, which already has the Lustre kernel patches applied.> $ ./configure --with-linux=../linux-2.6.6 > --with-kernel-source-header=../linux-2.6.6/include/linux/kernel.h > --with-linux-config=../linux-2.6.6/.configFor 2.6 you also need to supply "--enable-ldiskfs". Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Thanks to a blatant hit from yfyoufeng I got the correct version of the
kernel (2.6.6). The patches now apply cleanly. I then proceed as
follows, after running make to generate version.h and everything is
correct,
$ cd lustre-1.2.4
$ ./configure --with-linux=../linux-2.6.6
--with-kernel-source-header=../linux-2.6.6/include/linux/kernel.h
--with-linux-config=../linux-2.6.6/.config
[output removed]
$ make installMaking install in .
make[1]: Entering directory `/home/jeffm/lustre-1.2.4''
perl ./scripts/version_tag.pl . . > tmpver
echo "#define LUSTRE_RELEASE 2.6.6_200504191440" >> tmpver
cmp -s ./include/linux/lustre_build_version.h tmpver \
2> /dev/null &&
\
rm -f tmpver ||
\
mv tmpver ./include/linux/lustre_build_version.h
make sources -C ldiskfs
make[2]: Entering directory `/home/jeffm/lustre-1.2.4/ldiskfs''
rm -rf linux-stage linux sources
mkdir -p linux-stage/fs/ext3 linux-stage/include/linux
cp linux-stage/fs/ext3
cp: missing destination file
Try `cp --help'' for more information.
make[2]: *** [sources] Error 1
make[2]: Leaving directory `/home/jeffm/lustre-1.2.4/ldiskfs''
make[1]: *** [ldiskfs-sources] Error 2
make[1]: Leaving directory `/home/jeffm/lustre-1.2.4''
make: *** [install-recursive] Error 1
Same error as before. I did a make distclean and repeated the precess
with the same results. I must be over looking something. Is there
anything that should be set in the kernel options that may have been
missed? I''m using a vanilla 2.6.6 kernel with the config from
/proc/config.gz on gentoo 2005.0
Looking back though the output of configure I noticed
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
./configure: line 5335: ,: command not found <-----*****
checking if you are running user mode linux for i686... no (asm doesn''t
point at asm-um)
checking for ../linux-2.6.6/include/linux/namei.h... yes
checking if you are using Linux 2.6... yes
checking for patch... /usr/bin/patch
this is '','' (comma) on a line by itself. re-running configure
and make
after removing this comma doesn''t fix the problem. Didn''t
think it
would, but it was worth a try.
Jeff.
I''ve download lustre 1.2.4 and attempted to compile it against linux
2.6.11.7, but have run headlong into some problems. Some of the patches
didn''t apply cleanly and when I go to make lustre I get
$ make install
Making install in .
make[1]: Entering directory `/home/jeffm/lustre-1.2.4''
perl ./scripts/version_tag.pl . . > tmpver
echo "#define LUSTRE_RELEASE 2.6.11.7_200504181633" >> tmpver
cmp -s ./include/linux/lustre_build_version.h tmpver \
2> /dev/null &&
\
rm -f tmpver ||
\
mv tmpver ./include/linux/lustre_build_version.h
make sources -C ldiskfs
make[2]: Entering directory `/home/jeffm/lustre-1.2.4/ldiskfs''
rm -rf linux-stage linux sources
mkdir -p linux-stage/fs/ext3 linux-stage/include/linux
cp linux-stage/fs/ext3
cp: missing destination file
Try `cp --help'' for more information.
make[2]: *** [sources] Error 1
make[2]: Leaving directory `/home/jeffm/lustre-1.2.4/ldiskfs''
make[1]: *** [ldiskfs-sources] Error 2
make[1]: Leaving directory `/home/jeffm/lustre-1.2.4''
make: *** [install-recursive] Error 1
After a bit of search it seems that lustre 1.2.6 or 1.2.8 may be needed
which is not publicly available. As I don''t think I''d be able
to
convince anyone to pay for support for the small set up this is going
to be used for (2 file servers with 5 or so front end servers),
especially if I can''t even get it to compile. I was wondering which
subversions of linux 2.6 are supported with lustre 1.2.4?
Jeff.