mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@mvista.com>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org
Subject: real time hang w/ latency tracing
Date: Tue, 03 Apr 2007 11:57:05 -0700	[thread overview]
Message-ID: <1175626625.10738.21.camel@imap.mvista.com> (raw)


With 2.6.21-rc5-rt8 / i386 . If I disable wakeup timing , and enable
interrupt off timing with latency tracing I can cause,

BUG: scheduling with irqs disabled: IRQ-16/0x00000000/909
caller is rt_spin_lock_slowlock+0x94/0x190
 [<c010577a>] show_trace_log_lvl+0x3a/0x60
 [<c0105fdd>] show_trace+0x2d/0x30
 [<c01060c7>] dump_stack+0x27/0x30
 [<c03f52db>] schedule+0x12b/0x130
 [<c03f6314>] rt_spin_lock_slowlock+0x94/0x190
 [<c03f6b35>] rt_spin_lock+0x25/0x30
 [<c02f19bf>] serial8250_console_write+0x16f/0x190
 [<c012b3aa>] __call_console_drivers+0x7a/0xa0
 [<c012b427>] _call_console_drivers+0x57/0xa0
 [<c012b58d>] release_console_sem+0xdd/0x1e0
 [<c012bd46>] vprintk+0x226/0x3b0
 [<c012bef0>] printk+0x20/0x30
 [<c0158d29>] print_traces+0x49/0x100
 [<c0105792>] show_trace_log_lvl+0x52/0x60
 [<c0105fdd>] show_trace+0x2d/0x30
 [<c01060c7>] dump_stack+0x27/0x30
 [<c0158481>] check_critical_timing+0x2b1/0x380
 [<c01585f6>] trace_hardirqs_on+0xa6/0xc0
 [<c01046e5>] restore_nocheck+0x12/0x15
 =======================

I do this by running,

echo 1 > /proc/sys/kernel/preempt_thresh

which clearly causes loads of output .. Then while the output is
screaming along I hold down the left arrow key and eventually the
message above starts to appear often .. Then the system hangs.

Also I'm using an NFS root which might help to bring out the error ..

Daniel


             reply	other threads:[~2007-04-03 18:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-03 18:57 Daniel Walker [this message]
2007-04-04  1:41 ` Daniel Walker
2007-04-04  8:51   ` Ingo Molnar
2007-04-04 15:36     ` Daniel Walker
2007-04-04 15:42       ` Ingo Molnar
2007-04-04 15:57         ` Daniel Walker

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=1175626625.10738.21.camel@imap.mvista.com \
    --to=dwalker@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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

all inboxes | Powered by JetHome®