All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: [2.6.33.7-rt, epoll] kerneloops with FFADO on RT kernel
Date: Tue, 7 Dec 2010 08:46:26 +0100	[thread overview]
Message-ID: <20101207084626.76b386cb@stein> (raw)
In-Reply-To: <4CFCE319.6060808@drcomp.erfurt.thur.de>

On Dec 06 Adrian Knoth wrote at linux1394-devel:
> I just noticed there is a kerneloops when using FFADO on 2.6.33.7-rt:
> 
> Kernel failure message 13:
> BUG: sleeping function called from invalid context at kernel/rtmutex.c:707
> pcnt: 1 0 in_atomic(): 1, irqs_disabled(): 0, pid: 10, name: sirq-tasklet/0
> Pid: 10, comm: sirq-tasklet/0 Not tainted 2.6.33.7-rt29rt #3
> Call Trace:
>  [<c1025318>] __might_sleep+0xcc/0xd4
>  [<c10593a5>] T.503+0x26/0x5f
>  [<c12365f2>] rt_spin_lock+0x8/0xa
>  [<c10d8b9a>] T.543+0x1e/0xad
>  [<c10d89b3>] ? ep_poll_wakeup_proc+0x0/0x1a
>  [<c102bc6f>] ? try_to_wake_up+0x374/0x388
>  [<c10d8c99>] ep_poll_safewake+0x28/0x4b
>  [<c10d91b4>] ep_poll_callback+0x9c/0xa6
>  [<c1022502>] __wake_up_common+0x34/0x5c
>  [<c1029cec>] __wake_up+0x26/0x34
>  [<f813ffdc>] queue_event+0x66/0x6f [firewire_core]
>  [<f8140c23>] handle_request+0x11d/0x157 [firewire_core]
>  [<f8144302>] fw_core_handle_request+0x32b/0x395 [firewire_core]
[...]
> I have plenty of those, one per second, but I'm not sure if there's
> really something wrong or if this "bug" is introduced by the RT
> patchset. FFADO works fine, and 2.6.33 is also pretty old wrt Juju, so
> this might all be noise.

There were issues with epoll in the mainline kernel before, but I
don't remember which kernels were affected.  But it could also be an
-rt specific problem.

We are definitely entitled to use wake_up_interruptible() in atomic
context (here: tasklet context), i.e. it is not a firewire bug.
-- 
Stefan Richter
-=====-==-=- ==-- --===
http://arcgraph.de/sr/

           reply	other threads:[~2010-12-07  7:46 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4CFCE319.6060808@drcomp.erfurt.thur.de>]

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=20101207084626.76b386cb@stein \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=adi@drcomp.erfurt.thur.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    /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.