Bug 261847 - Failed to install encrypted partition
Summary: Failed to install encrypted partition
Status: RESOLVED FIXED
: 276238 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Installation (show other bugs)
Version: Alpha 3
Hardware: Other Other
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Steffen Winterfeldt
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 15:07 UTC by Aaron Mulder
Modified: 2007-05-25 10:31 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs.tar.gz from save_y2logs (836.39 KB, application/x-gzip)
2007-04-06 21:45 UTC, Aaron Mulder
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***