[root@localhost lustre-1.4.6]# make make all-recursive make[1]: Entering directory `/lustre-1.4.6'' Making all in . make[2]: Entering directory `/lustre-1.4.6'' make sources -C lnet make[3]: Entering directory `/lustre-1.4.6/lnet'' make sources -C libcfs make[4]: Entering directory `/lustre-1.4.6/lnet/libcfs'' make[4]: Nothing to be done for `sources''. make[4]: Leaving directory `/lustre-1.4.6/lnet/libcfs'' make[3]: Leaving directory `/lustre-1.4.6/lnet'' make sources -C lustre make[3]: Entering directory `/lustre-1.4.6/lustre'' make sources -C ldiskfs make[4]: Entering directory `/lustre-1.4.6/lustre/ldiskfs'' rm -rf linux-stage linux sources mkdir -p linux-stage/fs/ext3 linux-stage/include/linux cp /usr/src/kernels/2.6.9-5.EL-smp-i686/fs/ext3/Makefile linux-stage/fs/ext3 cp /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_fs.h /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_fs_i.h /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_fs_sb.h /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_jbd.h linux-stage/include/linux cd linux-stage && quilt setup -d ../../../lustre/kernel_patches/patches ../../../lustre/kernel_patches/series/ldiskfs-2.6-rhel4.series Copying patch ../../../lustre/kernel_patches/patches/ext3-wantedi-2.6-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-san-jdike-2.6-suse.patch Copying patch ../../../lustre/kernel_patches/patches/iopen-2.6-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/export_symbols-ext3-2.6-suse.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-map_inode_page-2.6-suse.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-ea-in-inode-2.6-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/export-ext3-2.6-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-include-fixes-2.6-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-extents-2.6.9-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-nlinks-2.6.9.patch Copying patch ../../../lustre/kernel_patches/patches/ext3-ialloc-2.6.patch Copying series file cd linux-stage && quilt push -a -q Applying ext3-wantedi-2.6-rhel4 The text leading up to this was: -------------------------- | fs/ext3/ialloc.c | 35 ++++++++++++++++++++++++++++++++++- | fs/ext3/ioctl.c | 25 +++++++++++++++++++++++++ | fs/ext3/namei.c | 21 +++++++++++++++++---- | include/linux/dcache.h | 5 +++++ | include/linux/ext3_fs.h | 5 ++++- | 5 files changed, 85 insertions(+), 6 deletions(-) | |Index: uml-2.6.3/fs/ext3/ialloc.c |==================================================================|--- uml-2.6.3.orig/fs/ext3/ialloc.c 2004-02-20 15:00:48.000000000 +0800 |+++ uml-2.6.3/fs/ext3/ialloc.c 2004-02-21 00:24:45.202693776 +0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |Index: uml-2.6.3/fs/ext3/ioctl.c |==================================================================|--- uml-2.6.3.orig/fs/ext3/ioctl.c 2004-01-09 14:59:26.000000000 +0800 |+++ uml-2.6.3/fs/ext3/ioctl.c 2004-02-21 00:21:04.541239416 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |Index: uml-2.6.3/fs/ext3/namei.c |==================================================================|--- uml-2.6.3.orig/fs/ext3/namei.c 2004-02-20 15:01:27.000000000 +0800 |+++ uml-2.6.3/fs/ext3/namei.c 2004-02-21 00:21:04.611228776 +0800 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored Patch ext3-wantedi-2.6-rhel4 does not apply (enforce with -f) make[4]: *** [sources] Error 1 make[4]: Leaving directory `/lustre-1.4.6/lustre/ldiskfs'' make[3]: *** [ldiskfs-sources] Error 2 make[3]: Leaving directory `/lustre-1.4.6/lustre'' make[2]: *** [all-sources] Error 2 make[2]: Leaving directory `/lustre-1.4.6'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/lustre-1.4.6'' make: *** [all] Error 2
On Mon, Apr 23, 2007 at 02:23:35PM +0530, Onkar N Mahajan wrote:> mkdir -p linux-stage/fs/ext3 linux-stage/include/linux > cp /usr/src/kernels/2.6.9-5.EL-smp-i686/fs/ext3/Makefile > linux-stage/fs/ext3This looks like you do not have full kernel sources installed? In order to build ldiskfs module, you need to have full kernel sources. (and also did you patched your kernel with lustre patches?) Bye, Oleg
I want to use 2.6.12 vanilla kernel , series file is :: /lustre-1.4.10/lustre/kernel_patches/series/2.6.12-vanilla.series but my problem is that there is no corresponding configuration file in the /lustre-1.4.10/lustre/kernel_patches/kernel_configs/ can you please help me to get across this problem.. onkar On 4/23/07, Onkar N Mahajan <onkar.n.m@gmail.com> wrote:> [root@localhost lustre-1.4.6]# make > make all-recursive > make[1]: Entering directory `/lustre-1.4.6'' > Making all in . > make[2]: Entering directory `/lustre-1.4.6'' > make sources -C lnet > make[3]: Entering directory `/lustre-1.4.6/lnet'' > make sources -C libcfs > make[4]: Entering directory `/lustre-1.4.6/lnet/libcfs'' > make[4]: Nothing to be done for `sources''. > make[4]: Leaving directory `/lustre-1.4.6/lnet/libcfs'' > make[3]: Leaving directory `/lustre-1.4.6/lnet'' > make sources -C lustre > make[3]: Entering directory `/lustre-1.4.6/lustre'' > make sources -C ldiskfs > make[4]: Entering directory `/lustre-1.4.6/lustre/ldiskfs'' > rm -rf linux-stage linux sources > mkdir -p linux-stage/fs/ext3 linux-stage/include/linux > cp /usr/src/kernels/2.6.9-5.EL-smp-i686/fs/ext3/Makefile linux-stage/fs/ext3 > cp /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_fs.h > /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_fs_i.h > /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_fs_sb.h > /usr/src/kernels/2.6.9-5.EL-smp-i686/include/linux/ext3_jbd.h > linux-stage/include/linux > cd linux-stage && quilt setup -d > ../../../lustre/kernel_patches/patches > ../../../lustre/kernel_patches/series/ldiskfs-2.6-rhel4.series > Copying patch ../../../lustre/kernel_patches/patches/ext3-wantedi-2.6-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-san-jdike-2.6-suse.patch > Copying patch ../../../lustre/kernel_patches/patches/iopen-2.6-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/export_symbols-ext3-2.6-suse.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-map_inode_page-2.6-suse.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-ea-in-inode-2.6-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/export-ext3-2.6-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-include-fixes-2.6-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-extents-2.6.9-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-mballoc2-2.6.9-rhel4.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-nlinks-2.6.9.patch > Copying patch ../../../lustre/kernel_patches/patches/ext3-ialloc-2.6.patch > Copying series file > cd linux-stage && quilt push -a -q > Applying ext3-wantedi-2.6-rhel4 > The text leading up to this was: > -------------------------- > | fs/ext3/ialloc.c | 35 ++++++++++++++++++++++++++++++++++- > | fs/ext3/ioctl.c | 25 +++++++++++++++++++++++++ > | fs/ext3/namei.c | 21 +++++++++++++++++---- > | include/linux/dcache.h | 5 +++++ > | include/linux/ext3_fs.h | 5 ++++- > | 5 files changed, 85 insertions(+), 6 deletions(-) > | > |Index: uml-2.6.3/fs/ext3/ialloc.c > |==================================================================> |--- uml-2.6.3.orig/fs/ext3/ialloc.c 2004-02-20 15:00:48.000000000 +0800 > |+++ uml-2.6.3/fs/ext3/ialloc.c 2004-02-21 00:24:45.202693776 +0800 > -------------------------- > No file to patch. Skipping patch. > 2 out of 2 hunks ignored > The text leading up to this was: > -------------------------- > |Index: uml-2.6.3/fs/ext3/ioctl.c > |==================================================================> |--- uml-2.6.3.orig/fs/ext3/ioctl.c 2004-01-09 14:59:26.000000000 +0800 > |+++ uml-2.6.3/fs/ext3/ioctl.c 2004-02-21 00:21:04.541239416 +0800 > -------------------------- > No file to patch. Skipping patch. > 1 out of 1 hunk ignored > The text leading up to this was: > -------------------------- > |Index: uml-2.6.3/fs/ext3/namei.c > |==================================================================> |--- uml-2.6.3.orig/fs/ext3/namei.c 2004-02-20 15:01:27.000000000 +0800 > |+++ uml-2.6.3/fs/ext3/namei.c 2004-02-21 00:21:04.611228776 +0800 > -------------------------- > No file to patch. Skipping patch. > 5 out of 5 hunks ignored > Patch ext3-wantedi-2.6-rhel4 does not apply (enforce with -f) > make[4]: *** [sources] Error 1 > make[4]: Leaving directory `/lustre-1.4.6/lustre/ldiskfs'' > make[3]: *** [ldiskfs-sources] Error 2 > make[3]: Leaving directory `/lustre-1.4.6/lustre'' > make[2]: *** [all-sources] Error 2 > make[2]: Leaving directory `/lustre-1.4.6'' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/lustre-1.4.6'' > make: *** [all] Error 2 >