rtmutex assert failure (was [Patch] restore the RCU callback...)



On Mon, Aug 21, 2006 at 05:21:35PM -0700, Robert Crocombe wrote:
On 8/18/06, hui Bill Huey <billh@xxxxxxxxxxxxxxxxx> wrote:
Patch attached:

The problem still appears to happen, but now I get no trace at all,
just a single line reported to the machine's console (and not on the
serial console):

pdflush/314[CPU#2]: BUG in debug_rt_mutex_unlock at
kernel/rt_mutex_debug.c:471

i.e., a standard statement, except at pdflush instead of swapper this time.

Thanks for testing. I appreciate this and I'm more than just plain willing
to help out. Any thing goes to get this patch solid. :)

I'll come up with a patch tomorrow to try and get a clean stack trace. I've
made some change to the bug dump output to make it more preemption aware,
but, as you can, some tweeking is needed.

However, I don't think this is going to be a simple atomic violation problem
that I've seen numerous times before. That's what the previous patch tried to
address. It's seriously pointing to a problem with the rtmutex and/or how it's
used, maybe a corner case it's missing.

I'll start to look at it either tonight or tomorrow and see what's going on.
It's going to take me a bit so be patient. I'll definitely get back to you
on this. I've got a number of weeks to blow exclusively on -rt development,
so I'll be around for a little while longer, hopefully longer.

bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [PATCH] interrupt driven hvc_console as vio device (final)
    ... Here is the revised hvc_console patch which fixes the issues you were ... This is an hvc_console patch which provides driver and ppc64 ... console output functionality prior to early console init (pre mem init ... -Added early discovery of vterm/vty adapters by doing a bus walk on ...
    (Linux-Kernel)
  • Re: [stable] 2.6.16.6 breaks java... sort of
    ... I think this trace was taken while java was doing exactly what it was ... I must say that this patch 'fixing' the problem just cannot ... My latest guess is that whereas my "ulimit -s" shows 8192, ...
    (Linux-Kernel)
  • Re: TIOCCONS security revisited
    ... > In August 2004, Olaf Dabrunz posted a patch, which appears to have got ... The problem is that TIOCCONS causes security problems. ... the ioctl TIOCCONS allows any user to redirect console output to ...
    (Linux-Kernel)
  • Re: [PATCH 2/4] tracing: add event trace infrastructure
    ... This patch creates the event tracing infrastructure of ftrace. ... The available_events will list the trace points that have been ... registered with the event tracer. ... I spose if I looked at this and surrounding code enough, ...
    (Linux-Kernel)
  • Re: kern/71142; VESA 1024x768; (Poor Console resolution on Compaq 2103US)
    ... I chose to stick with FreeBSD over Slackware ... >for my laptop for the simplicity in its init system ... >proper console resolution was a pain as I favour ... >still some issues that the patch created in making use ...
    (freebsd-current)