Dear All,

I try to build kernel for a patchless client.

The system is an uptodate FC7.

Linux fedora7 2.6.22.1-41.fc7 #1 SMP Fri Jul 27 18:10:34 EDT 2007 i686
i686 i386 GNU/Linux


Considering to the docs a kernel for a client supposed to be built
something like this:

./configure --with-linux=/usr/src/lustre/linux-2.6.22

But I get this message:

checking that modules can be built at all... no
configure: WARNING: Consult config.log for details.
configure: WARNING: If you are trying to build with a kernel-source
rpm, consult build/README.kernel-source
configure: error: Kernel modules cannot be built.

Why? What is this?


Than I installed kernel-devel package and tried this:

./configure --with-linux=/usr/src/kernels/2.6.22.1-41.fc7-i686

checking which ldiskfs series to use... configure: WARNING: Unknown
kernel version 2.6.22.1-41.fc7, fix ldiskfs/configure.ac

Even if I use --disable-ldiskfs.

So make rpms doesn't work.

The make;make install commands work, lustre.ko go to the right place,
but when I try to insert it, I get this messages.

# modprobe lustre
WARNING: Error inserting libcfs 
(/lib/modules/2.6.22.1-41.fc7/kernel/net/lustre/libcfs.ko): Operation
not permitted
WARNING: Error inserting lvfs 
(/lib/modules/2.6.22.1-41.fc7/kernel/fs/lustre/lvfs.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting lnet 
(/lib/modules/2.6.22.1-41.fc7/kernel/net/lustre/lnet.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting obdclass 
(/lib/modules/2.6.22.1-41.fc7/kernel/fs/lustre/obdclass.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ptlrpc 
(/lib/modules/2.6.22.1-41.fc7/kernel/fs/lustre/ptlrpc.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting mdc 
(/lib/modules/2.6.22.1-41.fc7/kernel/fs/lustre/mdc.ko): Unknown symbol
in module, or unknown parameter (see dmesg)
WARNING: Error inserting lov 
(/lib/modules/2.6.22.1-41.fc7/kernel/fs/lustre/lov.ko): Unknown symbol
in module, or unknown parameter (see dmesg)
FATAL: Error inserting lustre 
(/lib/modules/2.6.22.1-41.fc7/kernel/fs/lustre/lustre.ko): Unknown
symbol in module, or unknown parameter (see dmesg)


What's wrong, what do I miss?

The docs are not always clear to me.

Maybe is there any step-by-step howto for building kernel for a
patchless client?

Thank you very much,

tamas

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to