Bug 261847

Summary: Failed to install encrypted partition
Product: [openSUSE] openSUSE 10.3 Reporter: Aaron Mulder <ammulder>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: jfunk
Version: Alpha 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs.tar.gz from save_y2logs

Description Aaron Mulder 2007-04-06 15:07:18 UTC
During the installation, I went into the manual partitioner, created a 3 GB partition for my home directory, checked the encrypt partition box, entered a passphrase when prompted, and saved the partition selection.

After software selection when it began the installation, it went into the formatting stage and then failed with the following error:

------
Error
Failure occured during following action:
Setting up encrypted dm device on /dev/sda5

System error code was: -3033
------
Comment 1 Cyril Hrubis 2007-04-06 16:10:51 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 Aaron Mulder 2007-04-06 17:06:36 UTC
I restarted the installation and reformatted after the error -- so I assume I no longer have valid y2logs.  I can try again later with these settings and get the logs.  For now, I'm just trying to get through the installation once.  :)
Comment 3 Aaron Mulder 2007-04-06 21:45:05 UTC
Created attachment 129742 [details]
y2logs.tar.gz from save_y2logs
Comment 4 Thomas Fehr 2007-04-10 11:42:15 UTC
The error message indicates that crypto modules are missing in installation
environment. Error message of command

/sbin/cryptsetup -q luksFormat /dev/sda5 /tmp/liby2storageIljN00/pwdf

was:

Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sda5 contains at least 133 sectors.
Failed to write to key storage.
Command failed.

Reassigned to inst-sys maintainer.
Comment 5 Steffen Winterfeldt 2007-04-11 13:42:49 UTC
No idea. Matthias, which modules are needed?
Comment 6 Matthias Koenig 2007-04-11 15:23:00 UTC
aes and sha256

Comment 7 Steffen Winterfeldt 2007-04-12 08:34:32 UTC
They are there. Seems it needs some more.
Comment 8 Matthias Koenig 2007-04-16 09:57:29 UTC
dm-mod and dm-crypt
Comment 9 Steffen Winterfeldt 2007-04-16 10:04:26 UTC
are there, too
Comment 10 Thomas Fehr 2007-04-16 10:45:54 UTC
I just boot into an Alpha3 inst-sys and found out by try-and-error that
the modules "cbc" and "blkcypher" are missing (these modules are new and were 
not present in CODE10 kernel versions).
Comment 11 Steffen Winterfeldt 2007-04-16 14:53:20 UTC
Thanks for checking. Added both.
Comment 12 Arvin Schnell 2007-04-16 15:44:56 UTC
*** Bug 258222 has been marked as a duplicate of this bug. ***
Comment 13 Arvin Schnell 2007-05-25 10:31:08 UTC
*** Bug 276238 has been marked as a duplicate of this bug. ***