* Kernel Compilation Error
@ 2014-08-19 6:33 Niamathullah sharief
2014-08-19 7:21 ` Pramod Gurav
0 siblings, 1 reply; 6+ messages in thread
From: Niamathullah sharief @ 2014-08-19 6:33 UTC (permalink / raw)
To: kernelnewbies
Dear Friends
Please advice me what to do for the below error which i am getting while
install modules
when i give "make modules_install" command i am getting the following error
*[root at localhost linux-3.15.1]# make modules_install INSTALL
arch/x86/crypto/crc32-pclmul.koCan't read private keymake[1]: ***
[arch/x86/crypto/crc32-pclmul.ko] Error 2make: *** [_modinst_] Error 2*
Please help me
Regards
Sharief
Kernel Newbie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140819/eaccce64/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Kernel Compilation Error
2014-08-19 6:33 Kernel Compilation Error Niamathullah sharief
@ 2014-08-19 7:21 ` Pramod Gurav
[not found] ` <1408434539.21896.7.camel@x220>
0 siblings, 1 reply; 6+ messages in thread
From: Pramod Gurav @ 2014-08-19 7:21 UTC (permalink / raw)
To: kernelnewbies
Hi Sharief,
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 /).
On Tue, Aug 19, 2014 at 12:03 PM, Niamathullah sharief
<newbiesha@gmail.com> wrote:
> Dear Friends
>
> Please advice me what to do for the below error which i am getting while
> install modules
>
> when i give "make modules_install" command i am getting the following error
>
>
> [root at 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
>
>
> Please help me
>
> Regards
> Sharief
> Kernel Newbie
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
Thanks and Regards
Pramod
^ permalink raw reply [flat|nested] 6+ messages in thread
* Kernel Compilation Error
[not found] ` <1408434539.21896.7.camel@x220>
@ 2014-08-19 7:52 ` Paul Bolle
[not found] ` <CAMf-jSkwpSGnFEfyKJyZgdNpZHdjcTcHwoegRFbUnW-F7gsz4A@mail.gmail.com>
1 sibling, 0 replies; 6+ messages in thread
From: Paul Bolle @ 2014-08-19 7:52 UTC (permalink / raw)
To: kernelnewbies
[Send this to the correct list. Does kernelnewbies at 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 at 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 at 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Kernel Compilation Error
[not found] ` <1408440180.21896.20.camel@x220>
@ 2014-08-19 9:24 ` Paul Bolle
2014-08-20 4:03 ` Niamathullah sharief
0 siblings, 1 reply; 6+ messages in thread
From: Paul Bolle @ 2014-08-19 9:24 UTC (permalink / raw)
To: kernelnewbies
[Send this to the correct list again. What a mess...]
On Tue, 2014-08-19 at 11:23 +0200, Paul Bolle wrote:
> [Have you've been lectured on top posting already?]
>
> On Tue, 2014-08-19 at 14:30 +0530, Niamathullah sharief wrote:
> > I didnt find the place to enable CONFIG_MODULE_SIG_ALL
> >
> > Its like
> >
> > "ifdef CONFIG_MODULE_SIG_ALL
> > MODSECKEY = ./signing_key.priv
> > MODPUBKEY = ./signing_key.x509
> > export MODPUBKEY
> > mod_sign_cmd = perl $(srctree)/scripts/sign-file
> > $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY)
> > else
> > mod_sign_cmd = true
> > endif
> > export mod_sign_cmd
> > "
>
> Personally I do
> $ git grep -nw MODULE_SIG_ALL
> init/Kconfig:1857:config MODULE_SIG_ALL
> init/Kconfig:1866: depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
>
> But you can search for CONFIG_MODULE_SIG_ALL in the interface of "make
> menuconfig" too.
>
> (I noticed I have both signing_key.priv and signing_key.x509 in the root
> of my kernel tree. They appear to be, well, faux: grep for
> slartibartfast at magrathea.h2g2 to see what I mean. These keys are months
> old, and survived numerous invocations of "make clean". I don't remember
> which command generated them, sorry.)
>
>
> Paul Bolle
^ permalink raw reply [flat|nested] 6+ messages in thread
* Kernel Compilation Error
2014-08-19 9:24 ` Paul Bolle
@ 2014-08-20 4:03 ` Niamathullah sharief
2014-08-20 7:48 ` Paul Bolle
0 siblings, 1 reply; 6+ messages in thread
From: Niamathullah sharief @ 2014-08-20 4:03 UTC (permalink / raw)
To: kernelnewbies
i TRIED TO SOLVE THIS AND I AM UNABLE TO DO IT.
Totally confused.
On Tue, Aug 19, 2014 at 2:54 PM, Paul Bolle <pebolle@tiscali.nl> wrote:
> [Send this to the correct list again. What a mess...]
>
> On Tue, 2014-08-19 at 11:23 +0200, Paul Bolle wrote:
> > [Have you've been lectured on top posting already?]
> >
> > On Tue, 2014-08-19 at 14:30 +0530, Niamathullah sharief wrote:
> > > I didnt find the place to enable CONFIG_MODULE_SIG_ALL
> > >
> > > Its like
> > >
> > > "ifdef CONFIG_MODULE_SIG_ALL
> > > MODSECKEY = ./signing_key.priv
> > > MODPUBKEY = ./signing_key.x509
> > > export MODPUBKEY
> > > mod_sign_cmd = perl $(srctree)/scripts/sign-file
> > > $(CONFIG_MODULE_SIG_HASH) $(MODSECKEY) $(MODPUBKEY)
> > > else
> > > mod_sign_cmd = true
> > > endif
> > > export mod_sign_cmd
> > > "
> >
> > Personally I do
> > $ git grep -nw MODULE_SIG_ALL
> > init/Kconfig:1857:config MODULE_SIG_ALL
> > init/Kconfig:1866: depends on MODULE_SIG_FORCE &&
> !MODULE_SIG_ALL
> >
> > But you can search for CONFIG_MODULE_SIG_ALL in the interface of "make
> > menuconfig" too.
> >
> > (I noticed I have both signing_key.priv and signing_key.x509 in the root
> > of my kernel tree. They appear to be, well, faux: grep for
> > slartibartfast at magrathea.h2g2 to see what I mean. These keys are months
> > old, and survived numerous invocations of "make clean". I don't remember
> > which command generated them, sorry.)
> >
> >
> > Paul Bolle
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140820/c2ac4734/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Kernel Compilation Error
2014-08-20 4:03 ` Niamathullah sharief
@ 2014-08-20 7:48 ` Paul Bolle
0 siblings, 0 replies; 6+ messages in thread
From: Paul Bolle @ 2014-08-20 7:48 UTC (permalink / raw)
To: kernelnewbies
[Still top posting.]
On Wed, 2014-08-20 at 09:33 +0530, Niamathullah sharief wrote:
> i TRIED TO SOLVE THIS AND I AM UNABLE TO DO IT.
>
> Totally confused.
I'm afraid we need more details. You don't want that error during make
modules_install, that's clear. But would you like to sign your modules
during install (see config MODULE_SIG_ALL in init/Kconfig) or not, etc.
And how did you actually try to solve this?
Paul Bolle
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-08-20 7:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 6:33 Kernel Compilation Error Niamathullah sharief
2014-08-19 7:21 ` Pramod Gurav
[not found] ` <1408434539.21896.7.camel@x220>
2014-08-19 7:52 ` Paul Bolle
[not found] ` <CAMf-jSkwpSGnFEfyKJyZgdNpZHdjcTcHwoegRFbUnW-F7gsz4A@mail.gmail.com>
[not found] ` <CACZhsRiwAbaQYKYE918spfv6R_e3F=+sYMxMXHg5MOwrU9FLYg@mail.gmail.com>
[not found] ` <1408440180.21896.20.camel@x220>
2014-08-19 9:24 ` Paul Bolle
2014-08-20 4:03 ` Niamathullah sharief
2014-08-20 7:48 ` Paul Bolle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).