From: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
To: linux-crypto@vger.kernel.org
Subject: 4.10 aesni-intel no longer having lrw/ablk_helper dependencies?
Date: Sun, 29 Jan 2017 22:31:59 +0100 [thread overview]
Message-ID: <201701292231.59656.a.miskiewicz@gmail.com> (raw)
Hi.
[arekm@xps ~]$ modinfo --set-version 4.9.6 aesni-intel | grep depends
depends: glue_helper,aes-x86_64,lrw,cryptd,ablk_helper
[arekm@xps ~]$ modinfo --set-version 4.10.0-rc5-00161-gfd694aaa46c7 aesni-
intel |grep depends
depends: glue_helper,aes-x86_64,crypto_simd,cryptd
With 4.10.0 lrw and ablk_helper are no longer in dependencies while
aesni-intel seem to still need these. My luks encrypted rootfs fails to
unlock. Initrd generation script only installs modules based on dependencies
and that seems to be a reason for luks unlock failure with 4.10rc - some
missing modules.
Failure looks like that:
$ insmod path/to/aesni-intel.ko
dmesg gets logged:
"AVX2 version of gcm_enc/dec engaged
AES CTR mode by8 optimization enabled."
and insmod reports that it cannot insert aesni-intel because of unresolved
symbol or unknown option but nothing more is logged in dmesg.
4.9.x works fine.
What did change/how to figure out deps now?
Both modules exist:
[arekm@xps ~]$ modinfo --set-version 4.10.0-rc5-00161-gfd694aaa46c7 lrw
filename: /lib/modules/4.10.0-rc5-00161-
gfd694aaa46c7/kernel/crypto/lrw.ko.xz
alias: crypto-lrw
alias: lrw
description: LRW block cipher mode
license: GPL
depends: gf128mul
intree: Y
vermagic: 4.10.0-rc5-00161-gfd694aaa46c7 SMP preempt mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
[arekm@xps ~]$ modinfo --set-version 4.10.0-rc5-00161-gfd694aaa46c7
ablk_helper
filename: /lib/modules/4.10.0-rc5-00161-
gfd694aaa46c7/kernel/crypto/ablk_helper.ko.xz
license: GPL
depends: cryptd
intree: Y
vermagic: 4.10.0-rc5-00161-gfd694aaa46c7 SMP preempt mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
next reply other threads:[~2017-01-29 21:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-29 21:31 Arkadiusz Miskiewicz [this message]
2017-01-29 23:46 ` 4.10 aesni-intel no longer having lrw/ablk_helper dependencies? Eric Biggers
[not found] ` <201701301742.35626.arekm@maven.pl>
2017-02-01 14:17 ` Herbert Xu
[not found] ` <201702011708.03940.arekm@maven.pl>
2017-02-02 5:14 ` Herbert Xu
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=201701292231.59656.a.miskiewicz@gmail.com \
--to=a.miskiewicz@gmail.com \
--cc=arekm@maven.pl \
--cc=linux-crypto@vger.kernel.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