public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Frank Rowand <frank.rowand@am.sony.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: rt5, sleeping function called from invalid context
Date: Thu, 28 Jul 2011 21:39:43 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.02.1107282139120.31246@ionos> (raw)
In-Reply-To: <4E31B6F3.80602@am.sony.com>

On Thu, 28 Jul 2011, Frank Rowand wrote:

> Thomas,
> 
> Here is one of my current BUGs, from rt5 (same panda board, same config):
> 
> 
> BUG: sleeping function called from invalid context at kernel/rtmutex.c:645
> in_atomic(): 0, irqs_disabled(): 128, pid: 599, name: bash
> 2 locks held by bash/599:
>  #0:  (tty_mutex){+.+.+.}, at: [<c02b7600>] tty_open+0x4c/0x4c4
>  #1:  (big_tty_mutex){+.+.+.}, at: [<c048005c>] tty_lock+0x2c/0x54
> irq event stamp: 18015
> hardirqs last  enabled at (18014): [<c047fe68>] _raw_spin_unlock_irqrestore+0x60/0x74
> hardirqs last disabled at (18015): [<c02d4714>] serial_omap_console_write+0x28/0x230
> softirqs last  enabled at (0): [<c009d0d0>] copy_process+0x364/0xf84
> softirqs last disabled at (0): [<  (null)>]   (null)
> [<c00681b8>] (unwind_backtrace+0x0/0xf0) from [<c047f348>] (rt_spin_lock+0x24/0x5c)
> [<c047f348>] (rt_spin_lock+0x24/0x5c) from [<c02d48c0>] (serial_omap_console_write+0x1d4/0x230)
> [<c02d48c0>] (serial_omap_console_write+0x1d4/0x230) from [<c009f154>] (__call_console_drivers+0xcc/0xf4
> )
> [<c009f154>] (__call_console_drivers+0xcc/0xf4) from [<c009f3e4>] (console_unlock+0x158/0x210)
> [<c009f3e4>] (console_unlock+0x158/0x210) from [<c009f724>] (console_device+0x54/0x60)
> [<c009f724>] (console_device+0x54/0x60) from [<c02b796c>] (tty_open+0x3b8/0x4c4)
> [<c02b796c>] (tty_open+0x3b8/0x4c4) from [<c014dac8>] (chrdev_open+0x180/0x260)
> [<c014dac8>] (chrdev_open+0x180/0x260) from [<c0148598>] (__dentry_open+0x1d4/0x348)
> [<c0148598>] (__dentry_open+0x1d4/0x348) from [<c01487d8>] (nameidata_to_filp+0x5c/0x64)
> [<c01487d8>] (nameidata_to_filp+0x5c/0x64) from [<c01568d4>] (do_last+0x180/0x698)
> [<c01568d4>] (do_last+0x180/0x698) from [<c01585d8>] (path_openat+0xb8/0x3f8)
> [<c01585d8>] (path_openat+0xb8/0x3f8) from [<c0158a00>] (do_filp_open+0x30/0x84)
> [<c0158a00>] (do_filp_open+0x30/0x84) from [<c014820c>] (do_sys_open+0xf4/0x188)
> [<c014820c>] (do_sys_open+0xf4/0x188) from [<c0060da0>] (ret_fast_syscall+0x0/0x3c)

https://lkml.org/lkml/2011/7/28/114

Thanks,

	tglx

      parent reply	other threads:[~2011-07-28 19:39 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
2011-07-28 19:39 ` Thomas Gleixner [this message]

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.1107282139120.31246@ionos \
    --to=tglx@linutronix.de \
    --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