Bug 7333 - Mga3 alpha1 dvd cannot create encrypted file system.
Summary: Mga3 alpha1 dvd cannot create encrypted file system.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: 3alpha1
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 00:22 CEST by Dave Hodgins
Modified: 2012-09-07 02:02 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-14.33-1.mga3.src.rpm
CVE:
Status comment:


Attachments
report.bug after cryptsetup fails (152.45 KB, application/octet-stream)
2012-09-04 00:23 CEST, Dave Hodgins
Details

Description Dave Hodgins 2012-09-04 00:22:07 CEST
When trying to create an encrypted file system, the cryptsetup command
is failing.

Comparing the list of kernel modules loaded in the installer, with those
in a Mageia 2 install, where it's working, I suspect diskdrake now has
to modprobe aesni_intel, and the installer has to be modified to include
the aesni-intel.ko.xz kernel module.

I'll attach the report.bug file.
Comment 1 Dave Hodgins 2012-09-04 00:23:18 CEST
Created attachment 2746 [details]
report.bug after cryptsetup fails
Dave Hodgins 2012-09-04 00:23:35 CEST

Whiteboard: (none) => 3alpha1

Dave Hodgins 2012-09-04 00:32:33 CEST

CC: (none) => ennael1

Dave Hodgins 2012-09-04 00:36:25 CEST

CC: (none) => thierry.vignaud

Thierry Vignaud 2012-09-04 07:53:40 CEST

Status: NEW => ASSIGNED
Assignee: bugsquad => thierry.vignaud

Comment 2 Thierry Vignaud 2012-09-04 07:56:04 CEST
Fixed in git

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 3 Thierry Vignaud 2012-09-04 08:30:48 CEST
Though you have an AMD cpu and it shouldn't been needed on your machine.
And aes-generic would work anyway.
In your case, the cryptsetup command took too long and was killed by timeout

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 4 Thierry Vignaud 2012-09-04 08:31:05 CEST
Also next time compress the file before uploading
Comment 5 Dave Hodgins 2012-09-07 01:20:52 CEST
(In reply to comment #3)
> Though you have an AMD cpu and it shouldn't been needed on your machine.
> And aes-generic would work anyway.
> In your case, the cryptsetup command took too long and was killed by timeout

That doesn't make sense on this hardware.

# time cryptsetup --cipher=aes-xts-benbi --key-size=512 luksFormat --batch-mode /dev/sda10 /tmp/.dmcrypt_key

real    0m3.263s
user    0m3.210s
sys     0m0.031s

/dev/sda10 is a 26.32 GB partition on an ssd drive.

Creating the encrypted file system worked with the latest dual-cd, although
rebooting into the installed system failed. Bug 7382 reported.

I'll retest the i586 dvd before closing this bug.
Comment 6 Dave Hodgins 2012-09-07 02:02:47 CEST
Closing this bug, as an install done using the latest i586 dvd
successfully created an encrypted root filesystem, and booted
into it.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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