LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2009, 08:59 AM   #1
mikepeters76
Member
 
Registered: Apr 2009
Location: Sydney, Australia
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46

Rep: Reputation: 16
Turecrypt 6.2a error on Vector lite 6.0


I am getting the following error when I am trying to mount a truecrypt volume on Vector lite 6.0:
Quote:
Error: device-mapper: reload ioctl failed: Invalid argument
Command failed
I know the volume works as I can mount it on my Ubuntu box.
I compiled Truecrypt on the Vector box, reading the Readme I have only come up with a device-mapper issue but I have kernel 2.6.27.12. which should mean I don't need a kernel patch. Any suggestions?

Cheers in advance.
 
Old 07-27-2009, 08:47 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://en.gentoo-wiki.com/wiki/TrueCrypt
Quote:
If TrueCrypt gives you an error when mounting volume:

device-mapper: reload ioctl failed: Invalid argument
Command failed

you need to add XTS and/or LRW support in the kernel. See Requirements.

If you are positive that you have XTS and/or LRW support in the kernel but still get the above error, it may be necessary to disable kernel cryptographic services when mounting altogether:
truecrypt -m=nokernelcrypto volume mountpoint

Of course you may add any other necessary option on the commmand line as well. Note that truecrypt will have decreased performance when using this option.
 
Old 07-30-2009, 10:30 PM   #3
mikepeters76
Member
 
Registered: Apr 2009
Location: Sydney, Australia
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46

Original Poster
Rep: Reputation: 16
Simon, thx. Your reply made me recompile my kernel with LRW support. XTS was already included in my current kernel.

What I did find out was that I could create a volume with Truecrypt which used XTS and that worked fine on my VL box as well as my Windoz (I have to keep one for work).

Could you explain, or rather point me to some resources that could explain the difference between LRW and XTS, how they function eg, do they pass data to the encryption algorithm or do they do the processing etc. Naturally I'll google myself.

I noted that when a volume was created with XTS it says Secondary Key size (XTS Mode) 512 bits and with LRW there is no secondary key but a Tweak Key Size(LRW Mode) 128 bits. Also the primary key size is smaller with LRW. Is XTS preferable for that reason? Is XTS inherently better?

Last edited by mikepeters76; 07-30-2009 at 10:49 PM. Reason: //spelling
 
Old 07-30-2009, 10:36 PM   #4
mikepeters76
Member
 
Registered: Apr 2009
Location: Sydney, Australia
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46

Original Poster
Rep: Reputation: 16
Simon thx again. I found the answers I needed; Wikipedia is my friend;
http://en.wikipedia.org/wiki/TrueCrypt
http://en.wikipedia.org/wiki/Disk_encryption_theory
 
Old 07-30-2009, 10:44 PM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Well done - don't forget to find someone else to help.
 
Old 07-30-2009, 10:49 PM   #6
mikepeters76
Member
 
Registered: Apr 2009
Location: Sydney, Australia
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46

Original Poster
Rep: Reputation: 16
naturally!
 
  


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
c++ vector ::size() nonzero before putting anything in the vector - ?! map250r Programming 21 01-10-2009 02:27 PM
LXer: Vector Linux 5.9-Pseudo64-0.1 -- Finally, 64-bit Vector LXer Syndicated Linux News 0 09-12-2007 01:20 PM
error when finding the standard deviation of a vector mshinska Programming 5 10-25-2005 11:03 PM
can i modify int 80 vector to a user-defined vector qqrilxk Linux - Security 1 03-03-2005 08:46 PM
C++ template smart pointers for class hiearchies in a vector push_back error R00ts Programming 7 09-20-2004 01:14 PM

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

All times are GMT -5. The time now is 02:05 PM.

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