All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Benedikt Boeck <benedikt.boeck@inmess.de>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] two dd processes: soft lockup
Date: Thu, 22 Aug 2013 13:13:02 +0200	[thread overview]
Message-ID: <5215F23E.3030102@xenomai.org> (raw)
In-Reply-To: <5215C4FE.707@inmess.de>

On 08/22/2013 09:59 AM, Benedikt Boeck wrote:
> Hello,
> 
> I got a problem. After starting two dd processes (if=/dev/zero 
> of=/dev/null), I get first a few messages about soft lockup:
> kernel:[...] BUG: soft lockup - CPU#. stuck for ..s! [dd:...]
> and little later a
> Kernel panic - not syncing: Fatal exception in interrupt
> 
> But if I had running xeno-test before and then starting two dd processes 
> I don't get a soft lockup. Strange?
> 
> Also there is no soft lockup with a kernel identical till a deactivated 
> CONFIG_XENOMAI.
> A deactivated CONFIG_SMP also prevent the error. But I like to have both 
> cores. Trying all four variants of CONFIG_SCHED_SMT=y/n and 
> CONFIG_SCHED_MC=y/n didn't effect the error.
> 
> Tested with different kernel versions (3.4.6, 3.5.7, 3.8) always with 
> matching ipipe patch.  I think with 3.8 I didn't get a kernel panic but 
> still soft lockups.
> Using Xenomai 2.6.2.1 and haven't tried other versions yet. The 
> processor is a Celeron Dual-Core T3100.
> 
> Does somebody have a idea? Maybe I just made a simple (but effective) 
> mistake.

What does:
cat /proc/xenomai/timer
cat /proc/timer_list
say? before you start anything?

Do you have the problem if you disable CONFIG_NO_HZ?

-- 
                                                                Gilles.


  reply	other threads:[~2013-08-22 11:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22  7:59 [Xenomai] two dd processes: soft lockup Benedikt Boeck
2013-08-22 11:13 ` Gilles Chanteperdrix [this message]
2013-08-24  8:42 ` Jan Kiszka
2013-08-27 10:47   ` Benedikt Boeck
2013-08-27 11:14     ` Gilles Chanteperdrix
2013-08-27 13:56       ` Benedikt Boeck
2013-08-27 21:28         ` Gilles Chanteperdrix
2013-08-28  6:00           ` Jan Kiszka
2013-08-28 17:24             ` Gilles Chanteperdrix
2013-08-29 12:20               ` Benedikt Boeck
2013-08-29 12:24                 ` Jan Kiszka
2013-08-30  7:28                   ` Benedikt Boeck
2013-08-30 10:50                     ` Jan Kiszka
2013-08-27 21:48         ` Gilles Chanteperdrix
2013-08-28  6:16           ` Jan Kiszka

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=5215F23E.3030102@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=benedikt.boeck@inmess.de \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.