lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1006141532210.3026@localhost.localdomain>
Date:	Mon, 14 Jun 2010 15:33:54 +0200 (CEST)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	"Darcy L. Watkins" <dwatkins@...nzeo.com>
cc:	will_schmidt@...t.ibm.com, LKML <linux-kernel@...r.kernel.org>,
	rt-users <linux-rt-users@...r.kernel.org>,
	John Stultz <johnstul@...ibm.com>,
	Nick Piggin <npiggin@...e.de>
Subject: Re: [ANNOUNCE] 2.6.33.5-rt23

On Thu, 10 Jun 2010, Darcy L. Watkins wrote:
> 
> 
> On Thu, 2010-06-10 at 08:56 -0700, 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. 
> > 
>
> I see it as "y" in my .config for a powerpc 405 build.  This appears to
> run on my system (although I haven't loaded up the rt23 build on the
> target yet - last one loaded up was rt22).
> 
> What should I expect to see different if SPARSE_IRQ is turned off?

The difference is that you can trigger "scheduling while atomic". The
warning Will has seen depends on debug options.

Thanks,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ