Re: [ANNOUNCE] 2.6.33.5-rt23

Will Schmidt
2010-06-14T15:35:37Z

On Mon, 2010-06-14 at 15:34 +0200, Thomas Gleixner wrote:
> On Thu, 10 Jun 2010, Will Schmidt wrote:
>
> > On Thu, 2010-06-10 at 08:07 +0200, Thomas Gleixner wrote:
> > > On Wed, 9 Jun 2010, Will Schmidt wrote:
> > >
> > > > On Wed, 2010-06-09 at 18:44 +0200, Thomas Gleixner wrote:
> > > > I'm still on 2.6.33.5-rt22 on powerpc, and have run into a couple
> > > > "sleeping function called from invalid context..." BUGs. The first was
> > > > during system boot, second during a 'make'.
> > > >
> > > > relevant code paths don't seem to have changed between -rt22 and -rt23,
> > > > so I think still valid.. :-)
> > > >
> > > > This is on a POWER7 system, which may have opened up some timing
> > > > windows, wrt previous runs on POWER6 systems.
> > > >
> > > >
> > > > BUG: sleeping function called from invalid context at
> > > > kernel/rtmutex.c:684
> > >
> > > > [c000000078cf2cf0] [c000000000131a04] .irq_to_desc_alloc_node+0xdc/0x2b8
> > >
> > > Grr. I thought I had the SPARSE_IRQ stuff disabled on -rt, but seems
> > > it came back somehow. Can you disable that, or does you machine depend
> > > on it ?
> >
> > I'm not sure whether it is required by the architecture. I do see that
> > SPARSE_IRQ is disabled in arch/x86/Kconfig with a !PREEMPT_RT, but I
> > don't see an equivalent 'disable' in arch/powerpc/Kconfig.
>
> Can you disable it ?

Yeah.

[root@foo ~]# zcat /proc/config.gz | grep SPARSE
# CONFIG_SPARSE_IRQ is not set
...

Thats a sample size of one (POWER7) system, but seems to have worked.

Thanks,
-Will

>
> Thanks,
>
> tglx