简体   繁体   中英

Segfault while running make modules_install

I clone latest git tree from linux source. I am running all in Virtual box(first memory was 4096 MB because of seg-fault I increase to 8096 MB then also same error). Right now VM has 3.19.0 installed

>clone latest git tree
>make localmodconfig
>make -j1
>sudo make mosules_install

 All install work fine.
  but with depmod it's giving me below error

DEPMOD  4.3.0-11785-gca4ba96
depmod: WARNING: found 2 modules in dependency cycles!
depmod: WARNING: /lib/modules/4.3.0-11785-gca4ba96/kernel/drivers/staging/lustre/lnet/lnet/lnet.ko in dependency cycle!
depmod: WARNING: /lib/modules/4.3.0-11785-gca4ba96/kernel/drivers/staging/lustre/lustre/libcfs/libcfs.ko in dependency cycle!
./scripts/depmod.sh: line 57: 23221 Killed                  "$DEPMOD" "$@" "$KERNELRELEASE" $SYMBOL_PREFIX
make: *** [_modinst_post] Error 137

Earlier I got seg fault same line, this times it's killed because I tried depmod -a VERSION(4.3.0.....)

Also when I tried manually depmod -a VERSION(4.3.0.....) it's didn't gave me any error it's work fine.

libcfs/libcfs/module.c并删除开关壳体件的IOC_LIBCFS_PING_TEST -这是一个过时的codepiece,它会像一个魅力

这是一个尚未解决的已知问题,请参阅lkml: https ://lkml.org/lkml/2015/11/7/229要修复/解决该问题,请禁用Lustre文件系统驱动程序模块的构建。

I had the same problem. Commenting out the line of "$DEPMOD" "$@" "$KERNELRELEASE" $SYMBOL_PREFIX in file scripts/depmod.sh solved it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM