Re: [2.6.29-git12] BUG: scheduling while atomic: swapper/0/0x10000100

From: Maciej Rutecki
Date: Fri Apr 10 2009 - 10:47:50 EST


2009/4/10 Thomas Gleixner <tglx@xxxxxxxxxxxxx>:
> On Fri, 10 Apr 2009, Maciej Rutecki wrote:
>
>> 2009/4/10 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>>
>> > Did this get fixed?
>>
>> On 2.6.30-rc1-git3 still the same:
>> [ Â162.541793] BUG: scheduling while atomic: swapper/0/0x10000100
>
> Yikes.
>
> 0x10000100
> Â Â Â ^----- softirq count leaked.
>
> We have a check for that in do_softirq, but none in do_IRQ. Can you
> please apply the patch below and test whether it triggers ?

When I try connect with bluetooth, and connecting hangs, very often I
observe high load of cpu, and system was very unresponsive. ksoftirqd
has up to 100% load:
http://unixy.pl/maciek/download/kernel/2.6.30-rc1-git3/laptop/img_0002.jpg

After this I reboot laptop.

>From syslog:
http://unixy.pl/maciek/download/kernel/2.6.30-rc1-git3/laptop/syslog.txt

--
Maciej Rutecki
http://www.maciek.unixy.pl
--
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/