LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 01-03-2009, 03:52 AM   #1
3rdtreenz
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:
http://en.gentoo-wiki.com/wiki/Initramfs#DM-Crypt .
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, 04:11 AM   #2
3rdtreenz
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?
 
  


Reply


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 - 2.6.23.14 dlinux Slackware 2 01-30-2008 06:42 AM
Segmentation fault when running MandrakeUpdate yellowwizard Linux - Newbie 2 08-09-2005 05:12 PM
Segmentation fault when running ls kd7trn Linux - Software 2 09-10-2004 05:54 PM
Segmentation fault when running pico Earl Parker II Linux - Software 0 04-27-2004 10:20 AM
segmentation fault running UT linoob Linux - Software 6 09-11-2003 09:33 PM


All times are GMT -5. The time now is 06:38 AM.

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