You are not logged in.
Pages: 1
Hi folks! I compiled the kernel, but in time to install the modules I get this error:
[botnet@botnet:linux-4.6.1]$ sudo make modules_install
INSTALL arch/x86/crypto/aes-x86_64.ko
INSTALL arch/x86/crypto/aesni-intel.ko
INSTALL arch/x86/crypto/crc32-pclmul.ko
INSTALL arch/x86/crypto/crc32c-intel.ko
cp: impossível obter estado de 'arch/x86/crypto/aes-x86_64.ko': Arquivo ou diretório não encontrado
cp: impossível obter estado de 'arch/x86/crypto/aesni-intel.ko': Arquivo ou diretório não encontrado
INSTALL arch/x86/crypto/ghash-clmulni-intel.ko
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/aes-x86_64.ko: No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/aes-x86_64.ko' failed
make[1]: *** [arch/x86/crypto/aes-x86_64.ko] Error 1
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/aesni-intel.ko: No such file or directory
make[1]: ** Esperando que outros processos terminem.
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/aesni-intel.ko' failed
make[1]: *** [arch/x86/crypto/aesni-intel.ko] Error 1
cp: impossível obter estado de 'arch/x86/crypto/crc32c-intel.ko': Arquivo ou diretório não encontrado
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/crc32c-intel.ko: No such file or directory
cp: impossível obter estado de 'arch/x86/crypto/crc32-pclmul.ko': Arquivo ou diretório não encontrado
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/crc32c-intel.ko' failed
make[1]: *** [arch/x86/crypto/crc32c-intel.ko] Error 1
INSTALL arch/x86/kernel/msr.ko
cp: impossível obter estado de 'arch/x86/crypto/ghash-clmulni-intel.ko': Arquivo ou diretório não encontrado
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/crc32-pclmul.ko: No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/crc32-pclmul.ko' failed
make[1]: *** [arch/x86/crypto/crc32-pclmul.ko] Error 1
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/ghash-clmulni-intel.ko: No such file or directory
INSTALL arch/x86/crypto/glue_helper.ko
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/ghash-clmulni-intel.ko' failed
make[1]: *** [arch/x86/crypto/ghash-clmulni-intel.ko] Error 1
INSTALL arch/x86/crypto/crct10dif-pclmul.ko
cp: impossível obter estado de 'arch/x86/kernel/msr.ko': Arquivo ou diretório não encontrado
cp: impossível obter estado de 'arch/x86/crypto/glue_helper.ko': Arquivo ou diretório não encontrado
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/kernel/msr.ko: No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/kernel/msr.ko' failed
make[1]: *** [arch/x86/kernel/msr.ko] Error 1
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/glue_helper.ko: No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/glue_helper.ko' failed
make[1]: *** [arch/x86/crypto/glue_helper.ko] Error 1
cp: impossível obter estado de 'arch/x86/crypto/crct10dif-pclmul.ko': Arquivo ou diretório não encontrado
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/crct10dif-pclmul.ko: No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/crct10dif-pclmul.ko' failed
make[1]: *** [arch/x86/crypto/crct10dif-pclmul.ko] Error 1
Makefile:1165: recipe for target '_modinst_' failed
make: *** [_modinst_] Error 2
[botnet@botnet:linux-4.6.1]$ sudo make modules_install
INSTALL arch/x86/crypto/aes-x86_64.ko
cp: impossível obter estado de 'arch/x86/crypto/aes-x86_64.ko': Arquivo ou diretório não encontrado
gzip: /lib/modules/4.6.1-ARCH/kernel/arch/x86/crypto/aes-x86_64.ko: No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/aes-x86_64.ko' failed
make[1]: *** [arch/x86/crypto/aes-x86_64.ko] Error 1
Makefile:1165: recipe for target '_modinst_' failed
make: *** [_modinst_] Error 2
How do I fix this? Thanks!
Offline
Note sure exactly, but... Are you compiling the Arch mainline kernel? Or are you compiling something to replace the main line kernel?
If you are running the mainline kernel, and then you run make modules_install you will try to overwrite the modules for the running kernel. This is Bad™.
Make sure you change the name of the kernel to something unique. It is one of the options in make config
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
As ewaller says, go to "general setup" and change "local version" to absolutely anything other than -ARCH.
Then, if you are using linux-4.6.1 from repo, reinstall it because you may have broken it and if you are unlucky it may not boot again.
Then run make once again and make sure there are no errors because it's clear that those modules haven't actually been built for some reason.
Last edited by mich41 (2016-06-07 16:41:24)
Offline
Pages: 1