Bug 108151 - Cannot load crypto module ghash-clmulni-intel under kernel version 4.3
Summary: Cannot load crypto module ghash-clmulni-intel under kernel version 4.3
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Modules (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_modules
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-18 18:05 UTC by da_audiophile
Modified: 2016-02-15 21:59 UTC (History)
4 users (show)

See Also:
Kernel Version: 4.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description da_audiophile 2015-11-18 18:05:05 UTC
Running 4.3 under Arch Linux x86_64 and attempting to load the ghash-clmulni-intel module results in an invalid argument and no module/functionality.  I see nothing accompanying it in dmesg or journalctl.

# modprobe -v ghash-clmulni-intel
insmod /lib/modules/4.3.0-1-ARCH/kernel/arch/x86/crypto/ghash-clmulni-intel.ko.gz 
modprobe: ERROR: could not insert 'ghash_clmulni_intel': Invalid argument
Comment 1 Rusty Russell 2015-11-19 00:24:34 UTC
Hmm, the crypto layer seems to return -EINVAL silently on all kinds of "malformed" issues.  But it's a crypto layer issue (I don't have the power to reassign it, it seems).
Comment 2 da_audiophile 2015-11-19 01:21:55 UTC
Perhaps I can?  I couldn't find a discrete crypto product or component.
Comment 3 Rui Wang 2015-12-01 04:57:08 UTC
The fix is at https://lkml.org/lkml/2015/11/29/85
Please help test it if you could.

Thanks
Comment 4 da_audiophile 2015-12-18 12:19:52 UTC
Same Invalid argument under 4.3.3.  I will try your patches and report back.
Comment 5 da_audiophile 2015-12-18 16:17:30 UTC
I can confirm that applying your patches to 4.3.3 allows the module to load correctly.  I didn't see any traffic on LKML about them nor do I see them in the stable-queue.  Any ideas if they will be incorporated to fix this?
Comment 6 Rui Wang 2015-12-19 10:47:47 UTC
Here:
https://lkml.org/lkml/2015/12/4/313

Note You need to log in before you can comment on or make changes to this bug.