Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-03-2009, 02:52 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 18

Rep: Reputation: 0
Running cryptsetup in initramfs with blackbox segmentation fault

I'm trying to boot with an encrypted root partition using an initramfs as described in: .
In the initramfs, the "cryptsetup luksOpen /dev/sda1 crypt_volume" command gives a segmentation fault, yet once booted the cryptsetup program
works normally running the same command. How can I find the cause of this, are there any possible solutions?
The cryptsetup program is 1.5.0
Old 01-03-2009, 03:11 AM   #2
LQ Newbie
Registered: Mar 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Oops! problem was with dm-crypt being a module rather than in the kernel. Is it reasonable to copy the module into the initramfs and load it from there?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cryptsetup-segmentation fault on Slackware-12.0 - dlinux Slackware 2 01-30-2008 05:42 AM
Segmentation fault when running MandrakeUpdate yellowwizard Linux - Newbie 2 08-09-2005 04:12 PM
Segmentation fault when running ls kd7trn Linux - Software 2 09-10-2004 04:54 PM
Segmentation fault when running pico Earl Parker II Linux - Software 0 04-27-2004 09:20 AM
segmentation fault running UT linoob Linux - Software 6 09-11-2003 08:33 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration