I am now upgrading to linux 2.6.12 with the correct lustre patches and I
am getting a couple of errors during the make process of the modules:
CC [M] /usr/src/lustre-1.4.2.1/lustre/ldiskfs/iopen.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/ldiskfs/extents.o
/usr/src/lustre-1.4.2.1/lustre/ldiskfs/extents.c: In function
`ldiskfs_ext_truncate'':
/usr/src/lustre-1.4.2.1/lustre/ldiskfs/extents.c:2151: warning: implicit
declaration of function `ldiskfs_writepage_trans_blocks''
CC [M] /usr/src/lustre-1.4.2.1/lustre/ldiskfs/mballoc.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/ldiskfs/lustre_quota_fmt.o
LD [M] /usr/src/lustre-1.4.2.1/lustre/ldiskfs/ldiskfs.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/ldiskfs/quotafmt_test.o
LD /usr/src/lustre-1.4.2.1/lustre/llite/built-in.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/llite/dcache.o
/usr/src/lustre-1.4.2.1/lustre/llite/dcache.c: In function
`ll_revalidate_it'':
/usr/src/lustre-1.4.2.1/lustre/llite/dcache.c:334: warning: implicit
declaration of function `__d_rehash2''
CC [M] /usr/src/lustre-1.4.2.1/lustre/llite/dir.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/llite/file.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/llite/llite_close.o
CC [M] /usr/src/lustre-1.4.2.1/lustre/llite/llite_lib.o
/usr/src/lustre-1.4.2.1/lustre/llite/llite_lib.c:1315: error: unknown
field `memory_backed'' specified in initializer
make[5]: *** [/usr/src/lustre-1.4.2.1/lustre/llite/llite_lib.o] Error 1
Two questions:
1 - Do I need to worry about the warnings?
2 - How do I get around the error that is causing the make to fail?
Thanks,
Jon
Andreas Dilger wrote:
>On Jun 21, 2005 16:02 -0600, Jon Scottorn wrote:
>
>
>> I have setup lustre to run on linux 2.6.11.11 and everything works
>>great except the modules do not load on system startup. If I try to run
>>lconf to load a config.xml file it will say libcfs not found even though
>>it is within the /lib/modules/current_running_kernel. The only way I
>>can get it to work is to run a test script from the test dir in lustre
>>ie... NAME=local FSTYPE=ldiskfs sh llmount.sh and that will load the
>>modules and then I can do whatever I want. If this is how it has to
>>work I''ll make do but I would like to have it so that I can
just run
>>lconf from anywhere and it will load the modules if needed.
>>
>>
>
>If "current_running_kernel" equals "uname -r", and
"depmod -ae" reports
>no errors, then "modprobe libcfs" should just work.
>
>Cheers, Andreas
>--
>Andreas Dilger
>Principal Software Engineer
>Cluster File Systems, Inc.
>
>_______________________________________________
>Lustre-discuss mailing list
>Lustre-discuss@lists.clusterfs.com
>https://lists.clusterfs.com/mailman/listinfo/lustre-discuss
>
>
>