Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144427 - app-crypt/truecrypt-4.2a hangs system
Summary: app-crypt/truecrypt-4.2a hangs system
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 09:15 UTC by Alexander Steppke
Modified: 2006-09-22 03:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info (emerge-info,3.04 KB, application/octet-stream)
2006-08-19 09:18 UTC, Alexander Steppke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Steppke 2006-08-19 09:15:58 UTC
On my system I created a new truecrypt volume in a file called files.tc with:

truecrypt -k NewKey -c files.tc

The filesize is 200GB and then I tried formatting the volume with

mkfs.ext2 /dev/mapper/truecrypt0

The process starts and in the middle of it the whole system hangs. No login, reset, etc. is possible. There are no messages in the log files or visible kernel panics. I repeated the procedure with a new container file, mkfs.reiserfs instead of mkfs.ext2 but it always halts the system. 
Accessing the file itself with dd, exporting over samba, etc. works fine, so I don't think it is a hardware flaw or a problem with the underlying filesystem (reiserfs v3). I updated my system a week ago and never had a problem with truecrypt 4.0 My system is running a 2.6.15-gentoo-r1 kernel with normal CFLAGS (-march=pentium2 -O2 -pipe -fomit-frame-pointer).
Comment 1 Alexander Steppke 2006-08-19 09:18:34 UTC
Created attachment 94613 [details]
output of emerge --info
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-21 01:59:13 UTC
I am just curios...
Have you tried the loop-aes alternative?
I think it is much simpler.
Comment 3 Alexander Steppke 2006-09-21 15:23:22 UTC
I need a cross platform approach to encryption and loop-aes does not work together with WinXP, so yes, I have tried it but I consider truecrypt the better alternative in my case. 
As a workaround I formatted the volume with NTFS under WinXP and my gentoo box can read the files just fine, have not tried write support of NTFS under linux yet. 
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-22 00:51:18 UTC
I understand.
Have you tried to contact up-stream regarding this issue?
I am just not sure that a fix for such problem is at Gentoo.
Comment 5 Alexander Steppke 2006-09-22 01:26:57 UTC
I have not contacted the truecrypt people yet. I can try to create a test case over the next weeks on another system because I don't want to always crash my file server. 
At the moment I don't know whether it is truecrypt or the mkfs utilities that are causing the trouble. Accessing the block device at /dev/mapper/truecrypt0 with dd worked fine so far, just creating a file system fails. I did not access the whole 200GB with dd, so maybe that makes the difference. 
So thanks for the feedback, I can't invest much time into this at the moment but I will report my progress here.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-22 01:34:56 UTC
Thanks.
I don't think it is mkfs, user mode usually won't cause such problems.
It can be ext2, but again, it works great with all other backed devices.
So my guess is that the truecrypt modules are incompatible.

Can you please close this bug as RESOLVED-NEEDINFO, until you have more information regarding this, and reopen it when you have more information?
Comment 7 Alexander Steppke 2006-09-22 03:33:26 UTC
Creating test case to find cause of problem.