[Lustre-discuss] Modprobe lustre fails
Jack Chen
Jian.Chen at Sun.COM
Mon Mar 10 13:32:54 PDT 2008
> Jack,
>
> Thanks, I had copied the output from that in a previous e-mail and
> here it is again:
>
> [root at catapult ~]# ls
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre
> llite_lloop.ko lov.ko lquota.ko lustre.ko lvfs.ko mdc.ko mgc.ko
> obdclass.ko obdecho.ko osc.ko ptlrpc.ko
>
> and:
>
> [root at catapult ~]# rpm -ql lustre-modules
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/llite_lloop.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/lov.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/lquota.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/lustre.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/lvfs.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/mdc.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/mgc.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/obdclass.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/obdecho.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/osc.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/fs/lustre/ptlrpc.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/net/lustre/ksocklnd.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/net/lustre/libcfs.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/net/lustre/lnet.ko
> /lib/modules/2.6.18-53.1.14.el5.lustre/kernel/net/lustre/lnet_selftest.ko
> /usr/share/doc/lustre-modules-1.6.4.3
> /usr/share/doc/lustre-modules-1.6.4.3/COPYING
> And here is the output for modprobing mgs:
>
> [root at catapult ~]# modprobe mgs
> FATAL: Module mgs not found.
> [root at catapult ~]# dmesg
> [root at catapult ~]#
>
>
Seems you just built patchless lustre modules, for patched lustre modues
as follows:
#ls /lib/modules/2.6.18-53.1.13.el5_lustre.1.6.4smp/kernel/fs/lustre/
fsfilt_ldiskfs.ko lov.ko lvfs.ko mgc.ko obdecho.ko ost.ko
llite_lloop.ko lquota.ko mdc.ko mgs.ko obdfilter.ko ptlrpc.ko
llog_test.ko lustre.ko mds.ko obdclass.ko osc.ko
I'm not sure what commands you use to compile lustre(configure/lbuild),
I'd recommend you re-compile lustre with patched lustre modules.
Normally, you don't specify any flags, but try to the following commands
or by steps as Lustre_manual document described:
./configure --disable-modules --disable-utils --disable-liblustre --disable-tests --disable-doc
make clean
make dist
sh -x $CUR_LUSTRE/build/lbuild --target=2.6-rhel5 --tag=b1_6 --kerneltree=/path/to/kernel
--target-arch=$ARCH --lustre=$CUR_LUSTRE/lustre-$VERSION.tar.gz --release ...
> Apparently it is not on my system. Looking in the lustre source, it
> looks like mgs should have been compiled with everything else. Is
> there a special flag to enable it?
>
> Thank you,
> Mitchel
>
>
More information about the lustre-discuss
mailing list