[lustre-devel] Build Dependency Issue in Lustre Mainline Linux

Simmons, James A. simmonsja at ornl.gov
Fri Nov 6 16:10:09 PST 2015


>Just did a fresh git pull --rebase and tried to do 'make deb-pkg' with
>an Ubuntu config (which enables lustre). I got the following:
>
>depmod: WARNING: found 2 modules in dependency cycles!
>depmod: WARNING:
>/home/arges/src/kernel/linux/./debian/tmp/lib/modules/4.3.0+/kernel/drivers/staging/lustre/lnet/lnet/lnet.ko
>in dependency cycle!
>depmod: WARNING:
>/home/arges/src/kernel/linux/./debian/tmp/lib/modules/4.3.0+/kernel/drivers/staging/lustre/lustre/libcfs/libcfs.ko
>in dependency cycle!
>./scripts/depmod.sh: line 57: 16836 Killed                  "$DEPMOD"

I solved your problem. If you delete IOC_LIBCFS_PING_TEST ioctl case  from libcfs/libcfs/module.c it work again. 
That ioctl has not been is use for some time and it can be removed. What is happening is libcfs_nid2str is being
called which requires lnet.ko now. This is a layer violation. I will be sending a patch very shortly.



More information about the lustre-devel mailing list