From: Thomas Gleixner <tglx@linutronix.de>
To: Frank Rowand <frank.rowand@am.sony.com>
Cc: "Rowand, Frank" <Frank_Rowand@sonyusa.com>,
"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: rt5, sleeping function called from invalid context
Date: Thu, 28 Jul 2011 21:45:29 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.02.1107282144510.31246@ionos> (raw)
In-Reply-To: <4E31BA74.3070102@am.sony.com>
On Thu, 28 Jul 2011, Frank Rowand wrote:
> On 07/28/11 12:22, Frank Rowand wrote:
> > Thomas,
> >
> > Here is one of my current BUGs, from rt5 (same panda board, same config):
>
> And some from rt3 (I don't know if they are still valid, just documenting
> them because they reproduce reliably on rt3):
>
> ---------------------------------------------------------------------------
>
> Running bash on the console:
>
> BUG: sleeping function called from invalid context at kernel/rtmutex.c:645
> in_atomic(): 1, irqs_disabled(): 128, pid: 1, name: swapper
> 3 locks held by swapper/1:
> #0: (&sig->cred_guard_mutex){+.+.+.}, at: [<c015270c>] prepare_bprm_creds+0x20/0x58
> #1: (&p->alloc_lock){+.+...}, at: [<c0152afc>] flush_old_exec+0x2dc/0x5d4
> #2: (cpu_asid_lock){......}, at: [<c006d158>] __new_context+0x14/0xbc
> irq event stamp: 475085
> hardirqs last enabled at (475084): [<c0484800>] _raw_spin_unlock_irqrestore+0x60/0x74
> hardirqs last disabled at (475085): [<c0152b04>] flush_old_exec+0x2e4/0x5d4
> softirqs last enabled at (0): [<c009d9cc>] copy_process+0x364/0xf84
> softirqs last disabled at (0): [< (null)>] (null)
> [<c00681b8>] (unwind_backtrace+0x0/0xf0) from [<c0483ce0>] (rt_spin_lock+0x24/0x5c)
> [<c0483ce0>] (rt_spin_lock+0x24/0x5c) from [<c006d104>] (set_mm_context+0x1c/0x5c)
> [<c006d104>] (set_mm_context+0x1c/0x5c) from [<c006d198>] (__new_context+0x54/0xbc)
Fixed in rt4/5 already.
next prev parent reply other threads:[~2011-07-28 19:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 19:22 rt5, sleeping function called from invalid context Frank Rowand
2011-07-28 19:30 ` Frank Rowand
2011-07-28 19:37 ` Frank Rowand
2011-07-28 19:45 ` Thomas Gleixner [this message]
2011-07-28 19:39 ` Thomas Gleixner
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=alpine.LFD.2.02.1107282144510.31246@ionos \
--to=tglx@linutronix.de \
--cc=Frank_Rowand@sonyusa.com \
--cc=frank.rowand@am.sony.com \
--cc=linux-rt-users@vger.kernel.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