LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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, 03: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



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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:04 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
Open Source Consulting | Domain Registration