Re: rt-kernel 3.0.14-rt31: BUG: sleeping function called from invalid context

From: John Kacur
Date: Thu Jan 19 2012 - 16:06:18 EST


On Thu, Jan 19, 2012 at 5:38 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Thu, 2012-01-19 at 17:16 +0100, John Kacur wrote:
>
>> I'm testing v3.0.14-rt32-rc1, and it greatly reduced the number of
>> these, but I still got one during boot.
>>
>> [   11.938649] BUG: sleeping function called from invalid context at
>> /home/jkacur/rt.linux.git/kernel/rtmutex.c:645
>> [   11.938651] in_atomic(): 1, irqs_disabled(): 1, pid: 168, name: irq/9-acpi
>> [   11.938653] 1 lock held by irq/9-acpi/168:
>> [   11.938653]  #0:  (acpi_gbl_gpe_lock){......}, at:
>> [<ffffffff8123881d>] acpi_ev_gpe_detect+0x31/0x110
>
> Could you test 3.2-rt. If that has the issue then we know we have more
> to fix. If not, we know I missed a patch.
>

I tested with v3.2-rt10 and the issue is not there.

I also examined your patches and couldn't find anything wrong with
them, and for larks tried applying
cpumask-disable-offstack-on-rt.patch from v3.2-rt10
all to no avail, the problem is still there.

Thanks
John
--
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/