From: xiaonan830818@gmail.com (Nan Xiao)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to disable "module verification failed: signature and/or required key missing - tainting kernel" message?
Date: Mon, 2 Nov 2015 13:57:10 +0800 [thread overview]
Message-ID: <CA+MhoaPufeaDH6zz1UaU42V8CTxfV3FO-hk2cOMqt5FkbrWinA@mail.gmail.com> (raw)
Hi all,
When the vendor Linux system enable "kernel module signature
verification" mechanism,
if install your own built module, the kernel will complain:
module verification failed: signature and/or required key missing
- tainting kernel
After referring this post on
SO(http://stackoverflow.com/questions/24975377/kvm-module-verification-failed-signature-and-or-required-key-missing-taintin),
I add "CONFIG_MODULE_SIG=n" at the beginning of Makefile, and rebuild
the module.
But I find this configuration option doesn't take effect, and "module
verification failed: signature
and/or required key missing - tainting kernel" message still occurs
when first loading the module.
Per my understanding, this message shouldn't occur anytime.
Could anyone give some clues on this issue? Thanks in advance!
Best Regards
Nan Xiao
next reply other threads:[~2015-11-02 5:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 5:57 Nan Xiao [this message]
2015-11-02 6:13 ` How to disable "module verification failed: signature and/or required key missing - tainting kernel" message? Anupam Kapoor
2015-11-02 7:16 ` Valdis.Kletnieks at vt.edu
2015-11-02 7:29 ` Nan Xiao
2015-11-02 8:43 ` Anupam Kapoor
2015-11-02 9:06 ` Nan Xiao
2015-11-02 9:29 ` Anupam Kapoor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+MhoaPufeaDH6zz1UaU42V8CTxfV3FO-hk2cOMqt5FkbrWinA@mail.gmail.com \
--to=xiaonan830818@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).