I do the following whenever I need to recompile a Kernel module.

Edit the following line to replace "custom" with "smp" in the file: 
/usr/src/linux-2.6.18-92.1.10.el5_lustre.1.6.6/Makefile

EXTRAVERSION = -92.1.10.el5_lustre.1.6.6smp

cd /usr/src/linux-2.6.18-92.1.10.el5_lustre.1.6.6-obj/x86_64/smp/
make -C ../../../linux-2.6.18-92.1.10.el5_lustre.1.6.6 
O=../linux-2.6.18-92.1.10.el5_lustre.1.6.6-obj/x86_64/smp oldconfig

make -j4 -C ../../../linux-2.6.18-92.1.10.el5_lustre.1.6.6 
O=../linux-2.6.18-92.1.10.el5_lustre.1.6.6-obj/x86_64/smp

make -C ../../../linux-2.6.18-92.1.10.el5_lustre.1.6.6 
O=../linux-2.6.18-92.1.10.el5_lustre.1.6.6-obj/x86_64/smp modules

Hope this helps!
Nirmal
_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to