Active Topics

 



Notices


Reply
Thread Tools
Mr Wolf's Avatar
Posts: 84 | Thanked: 22 times | Joined on Nov 2011 @ Italy
#41
So, how do I know which version of kernel power is installed?
Sorry, I took the TrueCrypt link from the page I saved.
I think it was the one you posted in the first post of this topic.
__________________
I'm Winston Wolf, I solve problems
 
Posts: 124 | Thanked: 105 times | Joined on Jul 2010
#42
Originally Posted by Mr Wolf View Post

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

Anyone knows what it means?
I had this error trying to mount volume with ext4 filesystem.
I had to manually specify filesystem
Try adding --filesystem=XXX to the truecrypt command (where XXX is the FS in the truecrypt volume).

You can also decrypt the volume without mounting using --filesystem=none , and mount manually using mount command
 

The Following 2 Users Say Thank You to nman For This Useful Post:
Posts: 115 | Thanked: 342 times | Joined on Dec 2010
#43
Originally Posted by Mr Wolf View Post
So, how do I know which version of kernel power is installed?
uname -r. And please, next time do your research on such simple questions. So, what cipher are you using for that volume?
 

The Following User Says Thank You to NIN101 For This Useful Post:
Posts: 124 | Thanked: 105 times | Joined on Jul 2010
#44
I am using version 7.1. Estel's wrapper keeps telling me xts is not supported and keeps setting -nokernelcrypto

But I'm using KP49 - is there anything else I need to add or enable for kernel crypto to work?
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#45
nman, are you executing everything as a root? Otherwise, I haven't seen any situation, when it would fail to detect XTS support using latest (repositories) kernel.
---

If it isn't source of Your problems, a dirty workaround would be to set up Your custom small script, that does:
Code:
unset GTK2_RC_FILES
... and run truecrypt.real (actual binary) after that. This way, You do exactly what wrapper does for You, *except* the part checking for kernel support and setting '-m nokernelcrypto' otherwise.

Just be sure, that You *really* have proper kernel with proper support. You can cat /proc/crypto to see supported modes. If any of things listed there got XTS in name, you're good to go.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2012-01-16 at 20:06.
 

The Following User Says Thank You to Estel For This Useful Post:
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#46
Originally Posted by nman View Post
I am using version 7.1. Estel's wrapper keeps telling me xts is not supported and keeps setting -nokernelcrypto

But I'm using KP49 - is there anything else I need to add or enable for kernel crypto to work?
Did you install the kernel-modules package as well? KP49 is pretty good about having most things built in, but this particular thing is a module. If you installed just the kernel and not the modules, and don't use some of the other advanced things (like h.e.n.) you may not have noticed that till now.
 

The Following 2 Users Say Thank You to woody14619 For This Useful Post:
Posts: 115 | Thanked: 342 times | Joined on Dec 2010
#47
You can cat /proc/crypto to see supported modes. If any of things listed there got XTS in name, you're good to go.
IIRC, It'll only appear there if it the module is loaded. Thus, the best way to check is to take a look at /lib/modules/`uname -r` or to load it with modprobe.
 

The Following 2 Users Say Thank You to NIN101 For This Useful Post:
Posts: 124 | Thanked: 105 times | Joined on Jul 2010
#48
Thanks, I have modules installed...
No I wasn't running TC as root - when I do I don't get the error message from the wrapper.
Looks like that was it, but... when I run TC benchmark, results are the same.

I don't see xts when I do cat /proc/crypto...
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#49
nman, as stated on the first page, you *must* run truecrypt as a root. Benchmark won't show the difference, but trust me, You'll feel it on real volumes, in form or "goddamnit" errors, as truecrypt normally expect XTs support.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 124 | Thanked: 105 times | Joined on Jul 2010
#50
Thanks, working great.
And holy carp what a difference - copying 2GB file to encrypted partition, as user - 28minutes.
as root, presumably with kernelcrypto - 2 minutes!!! (which works out to about 20Mb/sec, about the same as for unencrypted copying!

Just side note in my defense Nothing on the first page about running as root...(maybe there is in other thread started by Estel).. might want to add that in. (or merge the threads...)
 

The Following User Says Thank You to nman For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:46.