* [lustre-devel] Build Dependency Issue in Lustre Mainline Linux
@ 2015-11-05 20:02 Chris J Arges
2015-11-05 22:10 ` Dilger, Andreas
2015-11-07 0:10 ` Simmons, James A.
0 siblings, 2 replies; 4+ messages in thread
From: Chris J Arges @ 2015-11-05 20:02 UTC (permalink / raw)
To: lustre-devel
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"
"$@" "$KERNELRELEASE" $SYMBOL_PREFIX
make[2]: *** [_modinst_post] Error 137
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
This was building fine in v4.3, so I suspect something after this tag is
causing issue. (My HEAD is at 8e483ed13).
--chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lustre-devel] Build Dependency Issue in Lustre Mainline Linux
2015-11-05 20:02 [lustre-devel] Build Dependency Issue in Lustre Mainline Linux Chris J Arges
@ 2015-11-05 22:10 ` Dilger, Andreas
2015-11-07 0:10 ` Simmons, James A.
1 sibling, 0 replies; 4+ messages in thread
From: Dilger, Andreas @ 2015-11-05 22:10 UTC (permalink / raw)
To: lustre-devel
On 2015/11/05, 13:02, "lustre-devel on behalf of Chris J Arges"
<lustre-devel-bounces at lists.lustre.org on behalf of
chris.j.arges@canonical.com> wrote:
>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/driver
>s/staging/lustre/lnet/lnet/lnet.ko
>in dependency cycle!
>depmod: WARNING:
>/home/arges/src/kernel/linux/./debian/tmp/lib/modules/4.3.0+/kernel/driver
>s/staging/lustre/lustre/libcfs/libcfs.ko
>in dependency cycle!
>./scripts/depmod.sh: line 57: 16836 Killed "$DEPMOD"
>"$@" "$KERNELRELEASE" $SYMBOL_PREFIX
>make[2]: *** [_modinst_post] Error 137
>make[1]: *** [deb-pkg] Error 2
>make: *** [deb-pkg] Error 2
>
>This was building fine in v4.3, so I suspect something after this tag is
>causing issue. (My HEAD is at 8e483ed13).
Could you run git bisect to find the offending patch? The error messages
don't really give very much to go on.
Cheers, Andreas
--
Andreas Dilger
Lustre Software Architect
Intel High Performance Data Division
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lustre-devel] Build Dependency Issue in Lustre Mainline Linux
2015-11-05 20:02 [lustre-devel] Build Dependency Issue in Lustre Mainline Linux Chris J Arges
2015-11-05 22:10 ` Dilger, Andreas
@ 2015-11-07 0:10 ` Simmons, James A.
2015-11-07 0:38 ` Chris J Arges
1 sibling, 1 reply; 4+ messages in thread
From: Simmons, James A. @ 2015-11-07 0:10 UTC (permalink / raw)
To: lustre-devel
>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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lustre-devel] Build Dependency Issue in Lustre Mainline Linux
2015-11-07 0:10 ` Simmons, James A.
@ 2015-11-07 0:38 ` Chris J Arges
0 siblings, 0 replies; 4+ messages in thread
From: Chris J Arges @ 2015-11-07 0:38 UTC (permalink / raw)
To: lustre-devel
On 11/06/2015 06:10 PM, Simmons, James A. wrote:
>
>> 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.
>
Thanks, good to hear.
--chris
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-07 0:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 20:02 [lustre-devel] Build Dependency Issue in Lustre Mainline Linux Chris J Arges
2015-11-05 22:10 ` Dilger, Andreas
2015-11-07 0:10 ` Simmons, James A.
2015-11-07 0:38 ` Chris J Arges
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.