[Bug 693885] New: encrypted partitions: aes kernel module not loaded on boot
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c0 Summary: encrypted partitions: aes kernel module not loaded on boot Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@bugs.jan.ritzerfeld.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.7.62 Version/11.01 I am using 11.4 and an encrypted home partition that gets mountend on boot. It is encrypted with aes. My Intel Core i5 supports the AES instructions set. However, on boot, no aes kernel module is loaded at all. Thus, only the built-in aes is used. The "detection" for the correct aes module works: karl:~ # modprobe -v aes insmod /lib/modules/2.6.37.6-0.5-desktop/kernel/arch/x86/crypto/aesni-intel.ko insmod /lib/modules/2.6.37.6-0.5-desktop/kernel/drivers/crypto/padlock-aes.ko WARNING: Error inserting padlock_aes (/lib/modules/2.6.37.6-0.5-desktop/kernel/drivers/crypto/padlock-aes.ko): No such device Adding aes to the modules that are loaded on boot by editing /etc/sysconfig/kernel, increases dm-crypt AES performance on tmpfs from 40-50MB/s to 170-180MB/s! Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c1 --- Comment #1 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2011-12-31 17:59:44 UTC --- Using 12.1, aes kernel module is still not loaded on boot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other AssignedTo|kernel-maintainers@forge.pr |bnc-team-screening@forge.pr |ovo.novell.com |ovo.novell.com Product|openSUSE 11.4 |openSUSE 12.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |lnussel@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lnussel@suse.com |kernel-maintainers@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c2 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FEATURE --- Comment #2 from Jeff Mahoney <jeffm@suse.com> 2012-03-25 15:30:52 EDT --- The detection in the module works but up until very recently there was no way for the kernel or udev to request a module to handle certain CPU features. This is why you're able to load it manually. The x86 AES module had this feature added here: commit 3bd391f056df61e928de1680ff4a3e7e07e5b399 Author: Andi Kleen <ak@linux.intel.com> Date: Thu Jan 26 00:09:06 2012 +0100 crypto: Add support for x86 cpuid auto loading for x86 crypto drivers Add support for auto-loading of crypto drivers based on cpuid features. This enables auto-loading of the VIA and Intel specific drivers for AES, hashing and CRCs. This won't be fixed in a 12.1 maintenance update, but it will work out-of-the-box in 12.2 once 3.4-rcs start to be merged. For now, you're going to have to stick with the workaround you've found. Closing as RESOLVED FEATURE -- but one that will definitely part of the next release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=693885 https://bugzilla.novell.com/show_bug.cgi?id=693885#c3 --- Comment #3 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.org> 2013-01-03 20:43:17 UTC --- @Jeff: Yes, it works out-of-the-box in 12.2. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com