Kumar, Venkat
2008-Jan-15 03:19 UTC
[Lustre-discuss] I had installed Lustre but.... [ ldiskfs.ko]
Yeah I succeeded in building the ldiskfs.ko. I figured out that for old versions there is a common configuration file for all the modules. So if you do a ./configure,make,make install everything use to be fine. But now we have a different configuration file for ldiskfs which you will find in ldiskfs folder inside the main folder. So do a ./configure,make,make install respectively there. Make sure that you apply the correct patches. Thanks, Venkat PS: Please reply to the mailing list so that everybody will be aware of this. -----Original Message----- From: Peter Watkins [mailto:pwatkins at sicortex.com] Sent: Monday, January 14, 2008 10:08 PM To: Kumar, Venkat Subject: Re: [Lustre-discuss] I had installed Lustre but.... [ ldiskfs.ko] Hi -- Did you ever get an answer to the problem of ldiskfs.ko not being built ... ? I have seen the same problem. --Peter
Kumar, Venkat
2008-Jan-15 16:17 UTC
[Lustre-discuss] FW: I had installed Lustre but.... [ ldiskfs.ko]
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 ========================undefined symbol __d_move undefined symbol d_rehash ======================== If I apply the patches the Linux kernel is getting built but Lustre building is failing and the following is the error ==================================================================================================================test -d CVS || exit 0; \ list=""; for mod in $list; do \ perl ./build/kabi -v archive $HOME/nonfree $mod || exit $?; \ done make all-recursive make[1]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3'' Making all in ldiskfs make[2]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'' test -d CVS || exit 0; \ list=""; for mod in $list; do \ perl ./build/kabi -v archive $HOME/nonfree $mod || exit $?; \ done make all-recursive make[3]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'' Making all in . make[4]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'' for dir in ldiskfs ; do \ make sources -C $dir || exit $? ; \ done make[5]: Entering directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs/ldiskfs'' rm -rf linux-stage linux sources mkdir -p linux-stage/fs/ext3 linux-stage/include/linux 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 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 ln -s ../../kernel_patches/patches linux-stage/patches ln -s ../../kernel_patches/series/ldiskfs-2.6.18-vanilla.series linux-stage/series cd linux-stage && quilt push -a -q Applying patch patches/ext3-wantedi-2.6-rhel4.patch 2 out of 2 hunks FAILED 2 out of 2 hunks FAILED 4 out of 7 hunks FAILED 2 out of 2 hunks FAILED Patch patches/ext3-wantedi-2.6-rhel4.patch can be reverse-applied make[5]: *** [sources] Error 1 make[5]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs/ldiskfs'' make[4]: *** [all-sources] Error 2 make[4]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3/ldiskfs'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/venkat/Lustre_downloads/1.6.3_Lustrebuild/yylinux/lustre-1.6.3'' make: *** [all] Error 2 ========================================================================================================== Any clue? Thanks, Venkat -----Original Message----- From: lustre-discuss-bounces at clusterfs.com on behalf of Kumar, Venkat Sent: Tue 1/15/2008 11:19 AM To: Peter Watkins Cc: lustre-discuss at clusterfs.com Subject: Re: [Lustre-discuss] I had installed Lustre but.... [ ldiskfs.ko] Yeah I succeeded in building the ldiskfs.ko. I figured out that for old versions there is a common configuration file for all the modules. So if you do a ./configure,make,make install everything use to be fine. But now we have a different configuration file for ldiskfs which you will find in ldiskfs folder inside the main folder. So do a ./configure,make,make install respectively there. Make sure that you apply the correct patches. Thanks, Venkat PS: Please reply to the mailing list so that everybody will be aware of this. -----Original Message----- From: Peter Watkins [mailto:pwatkins at sicortex.com] Sent: Monday, January 14, 2008 10:08 PM To: Kumar, Venkat Subject: Re: [Lustre-discuss] I had installed Lustre but.... [ ldiskfs.ko] Hi -- Did you ever get an answer to the problem of ldiskfs.ko not being built ... ? I have seen the same problem. --Peter _______________________________________________ Lustre-discuss mailing list Lustre-discuss at clusterfs.com https://mail.clusterfs.com/mailman/listinfo/lustre-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080116/450a400e/attachment-0002.html