Re: Kernel Compilation Error
[Send this to the correct list. Does kernelnewbies@nl.linux.org even exist?] On Tue, 2014-08-19 at 09:48 +0200, Paul Bolle wrote:
[fixed top posting.]
On Tue, 2014-08-19 at 12:51 +0530, Pramod Gurav wrote:
On Tue, Aug 19, 2014 at 12:03 PM, Niamathullah sharief <newbiesha@gmail.com> wrote:
when i give "make modules_install" command i am getting the following error
[root@localhost linux-3.15.1]# make modules_install INSTALL arch/x86/crypto/crc32-pclmul.ko Can't read private key make[1]: *** [arch/x86/crypto/crc32-pclmul.ko] Error 2 make: *** [_modinst_] Error 2
It would always be better if you can provide the details of things you are doing and steps you have carried out until it failed. But if I can guess it right you are trying to upgrade kernel on local machine which is x86 based. The failure seems while trying to install newly compiled modules from new kernel(3.15).
I am not sure if your compilation has gone well but I think you should be root to install kernel and modules. Try to install the kernel and moudules as root as it installs them in path which is not accessible to user(under /).
In Niamathullah Sharief's message I see [root@localhost linux-3.15.1]# make modules_install
So it appears make modules_install was run as root (sudo is not installed on that box?).
By the way, I've never ran into this error. So I did $ git grep -n "Can't read private key" scripts/sign-file:38:die "Can't read private key\n" if (!$signature_file && !-r $private_key);
If I'd ran into this error myself I'd start with looking at scripts/sign-file and the place(s) where that script is called.
Hope this helps.
Paul Bolle
participants (1)
-
Paul Bolle