DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Martin Hicks <mort@bork.org>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] luksFormat hangs
Date: Tue, 28 Jun 2011 22:30:05 +0200	[thread overview]
Message-ID: <4E0A39CD.107@redhat.com> (raw)
In-Reply-To: <BANLkTik0zEX1nH9jOe1yCANaMaQ=RygTTwo-x=VtdYsAhKbVog@mail.gmail.com>

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

  reply	other threads:[~2011-06-28 20:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 19:56 [dm-crypt] luksFormat hangs Martin Hicks
2011-06-28 20:10 ` Arno Wagner
2011-06-28 20:14 ` Milan Broz
2011-06-28 20:23   ` Martin Hicks
2011-06-28 20:30     ` Milan Broz [this message]
2011-06-28 20:34       ` Martin Hicks
2011-06-30 17:53       ` Martin Hicks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0A39CD.107@redhat.com \
    --to=mbroz@redhat.com \
    --cc=dm-crypt@saout.de \
    --cc=mort@bork.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox