<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>FW: [Lustre-discuss] I had installed Lustre but....  [ ldiskfs.ko]</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>If I doesn't apply the kernel patches mentioned in the series to the Linux kernel source, I am able to build both the kernel and lustre. But while loading all the modules are getting loaded but ldiskfs.ko is not loading and showing an error<BR>
=========================<BR>
undefined symbol __d_move<BR>
undefined symbol d_rehash<BR>
=========================<BR>
<BR>
If I apply the patches the Linux kernel is getting built but Lustre building is failing and the following is the error<BR>
<BR>
===================================================================================================================<BR>
test -d CVS || exit 0; \<BR>
list=""; for mod in $list; do \<BR>
  perl ./build/kabi -v archive $HOME/nonfree $mod || exit $?; \<BR>
done<BR>
make  all-recursive<BR>
make[1]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3'<BR>
Making all in ldiskfs<BR>
make[2]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'<BR>
test -d CVS || exit 0; \<BR>
list=""; for mod in $list; do \<BR>
  perl ./build/kabi -v archive $HOME/nonfree $mod || exit $?; \<BR>
done<BR>
make  all-recursive<BR>
make[3]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'<BR>
Making all in .<BR>
make[4]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'<BR>
for dir in ldiskfs ; do \<BR>
        make sources -C $dir || exit $? ; \<BR>
done<BR>
make[5]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs/ldiskfs'<BR>
rm -rf linux-stage linux sources<BR>
mkdir -p linux-stage/fs/ext3 linux-stage/include/linux<BR>
cp /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/acl.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/balloc.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/bitmap.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/dir.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/extents.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/file.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/fsync.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/hash.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/ialloc.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/inode.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/ioctl.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/iopen.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/mballoc.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/namei.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/resize.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/super.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/symlink.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/xattr.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/xattr_security.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/xattr_trusted.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/xattr_user.c /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/acl.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/group.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/iopen.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/namei.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/xattr.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/fs/ext3/Makefile linux-stage/fs/ext3<BR>
cp /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/include/linux/ext3_extents.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/include/linux/ext3_fs.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/include/linux/ext3_fs_i.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/include/linux/ext3_fs_sb.h /home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/linux-2.6.18.3/include/linux/ext3_jbd.h linux-stage/include/linux<BR>
ln -s ../../kernel_patches/patches linux-stage/patches<BR>
ln -s ../../kernel_patches/series/ldiskfs-2.6.18-vanilla.series linux-stage/series<BR>
cd linux-stage && quilt push -a -q<BR>
Applying patch patches/ext3-wantedi-2.6-rhel4.patch<BR>
2 out of 2 hunks FAILED<BR>
2 out of 2 hunks FAILED<BR>
4 out of 7 hunks FAILED<BR>
2 out of 2 hunks FAILED<BR>
Patch patches/ext3-wantedi-2.6-rhel4.patch can be reverse-applied<BR>
make[5]: *** [sources] Error 1<BR>
make[5]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs/ldiskfs'<BR>
make[4]: *** [all-sources] Error 2<BR>
make[4]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'<BR>
make[3]: *** [all-recursive] Error 1<BR>
make[3]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'<BR>
make[2]: *** [all] Error 2<BR>
make[2]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'<BR>
make[1]: *** [all-recursive] Error 1<BR>
make[1]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3'<BR>
make: *** [all] Error 2<BR>
===========================================================================================================<BR>
<BR>
Any clue?<BR>
<BR>
Thanks,<BR>
Venkat<BR>
<BR>
-----Original Message-----<BR>
From: lustre-discuss-bounces@clusterfs.com on behalf of Kumar, Venkat<BR>
Sent: Tue 1/15/2008 11:19 AM<BR>
To: Peter Watkins<BR>
Cc: lustre-discuss@clusterfs.com<BR>
Subject: Re: [Lustre-discuss] I had installed Lustre but....  [ ldiskfs.ko]<BR>
<BR>
Yeah I succeeded in building the ldiskfs.ko.<BR>
I figured out that for old versions there is a common configuration file<BR>
for all the modules. So if you do a ./configure,make,make install<BR>
everything use to be fine.<BR>
But now we have a different configuration file for ldiskfs which you<BR>
will find in ldiskfs folder inside the main folder. So do a<BR>
./configure,make,make install respectively there. Make sure that you<BR>
apply the correct patches.<BR>
<BR>
<BR>
Thanks,<BR>
Venkat<BR>
<BR>
PS: Please reply to the mailing list so that everybody will be aware of<BR>
this.<BR>
<BR>
-----Original Message-----<BR>
From: Peter Watkins [<A HREF="mailto:pwatkins@sicortex.com">mailto:pwatkins@sicortex.com</A>]<BR>
Sent: Monday, January 14, 2008 10:08 PM<BR>
To: Kumar, Venkat<BR>
Subject: Re: [Lustre-discuss] I had installed Lustre but.... [<BR>
ldiskfs.ko]<BR>
<BR>
<BR>
Hi --<BR>
<BR>
Did you ever get an answer to the problem of ldiskfs.ko not being built<BR>
... ?<BR>
<BR>
I have seen the same problem.<BR>
<BR>
--Peter<BR>
<BR>
_______________________________________________<BR>
Lustre-discuss mailing list<BR>
Lustre-discuss@clusterfs.com<BR>
<A HREF="https://mail.clusterfs.com/mailman/listinfo/lustre-discuss">https://mail.clusterfs.com/mailman/listinfo/lustre-discuss</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>