[dm-crypt] luksFormat hangs

Martin Hicks mort at bork.org
Thu Jun 30 19:53:10 CEST 2011


A switch of cross compile toolchains fixed my problem.  This isn't the
first random toolchain bug I've found in the codesourcery freescale
2010.09 release.

mh

On Tue, Jun 28, 2011 at 4:30 PM, Milan Broz <mbroz at redhat.com> wrote:
> On 06/28/2011 10:23 PM, Martin Hicks wrote:
>> I see what the problem is.  Must be a compiler bug of some kind on our platform.
>>
>> rt_sigaction(SIGVTALRM, {0xffd60b4, [VTALRM], SA_RESTART}, {SIG_DFL,
>> [], 0}, 8) = 0
>> setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={1, 0}}, NULL) = 0
>>
>>
>> That is correct, I think.  It's just setting the timer to let the
>> performance test run for 1 second, but I never seem to get the
>> wake-up...
>
> There was already bug in Gentoo hardened triggered by this code
> https://bugs.gentoo.org/show_bug.cgi?id=283470
> That's why I asked which libc is used. It seems to me like bug in timer
> code but it need probably more investigation.
>
>> I'll have to see if I can find a reason why VTALRM is disabled,
>> doesn't exist or whatever on my platform...
>
> I am trying to test all architectures possible, so if there is some
> problem or bug, please let me know. (PPC/PPC64 should work without problem).
>
> Milan
>



-- 
Martin Hicks P.Eng.      |         mort at bork.org
Bork Consulting Inc.     |   +1 (613) 266-2296


More information about the dm-crypt mailing list