All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Lukas Erlinghagen <lukas.erlinghagen@x2e.de>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Kernel panic with PREEMPT_RT_FULL and UIO driver
Date: Thu, 22 Dec 2011 11:31:14 +0100	[thread overview]
Message-ID: <20111222103114.GE24496@pengutronix.de> (raw)
In-Reply-To: <4EF1B984.4010102@x2e.de>

On Wed, Dec 21, 2011 at 11:48:36AM +0100, Lukas Erlinghagen wrote:
> Dear list,
> 
> we're getting the kernel panic postet below on our system (Kernel
> version is 3.0.3-rt11, the platform is an embedded PowerPC 440 in a
Are you aware that there are newer versions available? 3.0.14-rt31 is
the most recent 3.0 release. Don't know if it has any uio fixes though.

> Virtex 5 FPGA, the device controlled by the UIO driver is a
> Freescale MFR4310 controller, and the interrupt is triggered by a
> high-active interrupt pin). This panic only occurs when using
> CONFIG_PREEMPT_RT_FULL, and only under high interrupt load on the
> MFR.
> 
> I've also included our IRQ handler (registered with IRQF_ONESHOT)
> and IRQ control function.
> 
> Is there something fundamentally wrong we're doing, and if so, where
> can I find information on The Right Way to write UIO drivers for the
> RT kernel?
> 
> Thanks in advance for any insight you can provide.
> 
> Kernel panic:
> 
> ------------[ cut here ]------------
> kernel BUG at kernel/rtmutex.c:724!
That's a recursive spinlock. Try enabling CONFIG_PROVE_LOCKING.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-12-22 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 10:48 Kernel panic with PREEMPT_RT_FULL and UIO driver Lukas Erlinghagen
2011-12-21 11:38 ` Thomas Gleixner
2011-12-22 10:31 ` Uwe Kleine-König [this message]
2011-12-22 12:58   ` 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=20111222103114.GE24496@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=lukas.erlinghagen@x2e.de \
    /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.