From: Luciano Coelho <coelho@ti.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Kevin Hilman <khilman@ti.com>, Tony Lindgren <tony@atomide.com>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Jarkko Nikula <jarkko.nikula@bitmer.com>,
Greg KH <gregkh@linuxfoundation.org>,
Paul Walmsley <paul@pwsan.com>,
Grazvydas Ignotas <notasas@gmail.com>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
linux-omap@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
Olof Johansson <olof@lixom.net>
Subject: Re: OMAP34xx
Date: Thu, 16 Feb 2012 09:52:19 +0200 [thread overview]
Message-ID: <1329378739.5686.22.camel@cumari> (raw)
In-Reply-To: <4F3C4A0E.1000707@deeprootsystems.com>
Hi Kevin,
On Wed, 2012-02-15 at 16:13 -0800, Kevin Hilman wrote:
> On 02/15/2012 03:54 PM, Kevin Hilman wrote:
> > Luciano Coelho<coelho@ti.com> writes:
> >
> > [...]
> >
> >> I just tried this on my Panda and I keep getting this kind of BUGs. It
> >> spams my console so much that is pretty much unusable:
> >>
> >> [ 336.172302] BUG: sleeping function called from invalid context at include/linux/freezer.h:46
> >> [ 336.181213] in_atomic(): 0, irqs_disabled(): 128, pid: 1618, name: ntpd
> >> [ 336.181213] INFO: lockdep is turned off.
> >> [ 336.181213] irq event stamp: 0
> >> [ 336.181213] hardirqs last enabled at (0): [< (null)>] (null)
> >> [ 336.201660] hardirqs last disabled at (0): [<c0042314>] copy_process+0x3ec/0x105c
> >> [ 336.209625] softirqs last enabled at (0): [<c0042314>] copy_process+0x3ec/0x105c
> >> [ 336.217498] softirqs last disabled at (0): [< (null)>] (null)
> >> [ 336.217498] [<c001e1e4>] (unwind_backtrace+0x0/0x148) from [<c0502c24>] (dump_stack+0x20/0x24)
> >> [ 336.232879] [<c0502c24>] (dump_stack+0x20/0x24) from [<c0077998>] (__might_sleep+0x130/0x134)
> >> [ 336.232879] [<c0077998>] (__might_sleep+0x130/0x134) from [<c0018998>] (do_signal+0x54/0x600)
> >> [ 336.250793] [<c0018998>] (do_signal+0x54/0x600) from [<c0018fa4>] (do_notify_resume+0x60/0x6c)
> >> [ 336.250793] [<c0018fa4>] (do_notify_resume+0x60/0x6c) from [<c00154e4>] (work_pending+0x24/0x28)
> >>
> >> I have also seen this in 3.3-rc3 (both on Panda (OMAP4460) and on Blaze
> >> (OMAP4430) boards) and I was hoping your tree would have the fix for it,
> >> but it doesn't. :( The device boots and seems to work otherwise, but
> >> this is annoying and looks shaky.
> >>
> >> I saw something related to this in another thread from a few months ago,
> >> and one patch proposal by Russell, but I didn't find any conclusion or
> >> any related patch queued up for upstream.
> >>
> >> Is there any solution for this? I use a tuned .config (attached) and not
> >> the one generated by omap2plus_defconfig (which I didn't try as
> >> vanilla).
> >
> > I see the same thing with your ~/.config, but I don't think this is OMAP
> > specific. I suspect this will happen on any ARM platform that has
> > CONFIG_DEBUG_ATOMIC_SLEEP=y.
Right. I always use CONFIG_DEBUG_ATOMIC_SLEEP. And yes, according to
what I had seen, this was an ARM issue not only OMAP.
> > It appears to be a problem with the recently added audit support for
> > ARM, since reverting the commit below makes this BUG go away.
>
> False alarm. reverting the audit commit didn't make the problem go
> away. It was gone only because I also disabled
> CONFIG_DEBUG_ATOMIC_SLEEP. :/
>
> To debug this further, you might bisect it back to v3.2 because the
> problem isn't there in v3.2
When I was looking a bit further, I found this patch: a0acae0e "freezer:
unexport refrigerator() and update try_to_freeze() slightly", which
seems to be the one introducing the bug. It's quite far back and quite
large, so reverting it is not that easy.
I may try to do some bisecting later today, but I'm not sure I'll have
the time.
--
Cheers,
Luca.
next prev parent reply other threads:[~2012-02-16 7:52 UTC|newest]
Thread overview: 133+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-04 18:54 OMAP34xx Russell King - ARM Linux
2012-02-04 19:01 ` OMAP34xx Tony Lindgren
2012-02-04 19:23 ` OMAP34xx Olof Johansson
2012-02-04 20:34 ` OMAP34xx Russell King - ARM Linux
2012-02-04 20:53 ` OMAP34xx Russell King - ARM Linux
2012-02-04 23:09 ` OMAP34xx Tony Lindgren
2012-02-04 21:09 ` OMAP34xx Grazvydas Ignotas
2012-02-05 1:33 ` OMAP34xx Tony Lindgren
2012-02-04 23:05 ` OMAP34xx Tony Lindgren
2012-02-05 0:09 ` OMAP34xx Russell King - ARM Linux
2012-02-05 0:53 ` OMAP34xx Tony Lindgren
2012-02-04 23:14 ` OMAP34xx Russell King - ARM Linux
2012-02-05 1:25 ` OMAP34xx Tony Lindgren
2012-02-05 11:39 ` [PATCH] arm: omap3: cm-t35: fix section mismatch warning Igor Grinberg
2012-02-08 5:35 ` Tony Lindgren
2012-02-08 10:16 ` [PATCH] ARM: OMAP: update omap1 and omap2plus defconfigs Igor Grinberg
2012-02-08 10:19 ` Russell King - ARM Linux
2012-02-08 11:09 ` Igor Grinberg
2012-02-08 19:51 ` Tony Lindgren
2012-02-08 15:37 ` Janusz Krzysztofik
2012-02-09 11:18 ` [PATCH] ARM: OMAP1: ams-delta: clean up init data section assignments Janusz Krzysztofik
2012-02-09 14:48 ` Russell King - ARM Linux
2012-02-10 16:31 ` [PATCH] ARM: OMAP1: ams-delta: correct " Janusz Krzysztofik
2012-02-10 16:48 ` [PATCH v2] ARM: OMAP1: ams-delta: clean up " Janusz Krzysztofik
2012-02-11 10:24 ` [PATCH] ARM: OMAP1: ams-delta: correct " Russell King - ARM Linux
2012-02-05 12:59 ` OMAP34xx Russell King - ARM Linux
2012-02-05 17:29 ` OMAP34xx Tony Lindgren
2012-02-05 17:58 ` OMAP34xx Russell King - ARM Linux
2012-02-05 18:29 ` OMAP34xx Tony Lindgren
2012-02-07 22:36 ` OMAP34xx Kevin Hilman
2012-02-07 22:49 ` OMAP34xx Víctor M. Jáquez L.
[not found] ` <8762fijifc.fsf@ti.com>
2012-02-08 9:45 ` OMAP34xx Russell King - ARM Linux
2012-02-08 19:55 ` OMAP34xx Tony Lindgren
2012-02-08 23:10 ` OMAP34xx Russell King - ARM Linux
2012-02-08 23:27 ` OMAP34xx Tony Lindgren
2012-02-10 11:03 ` OMAP34xx Russell King - ARM Linux
2012-02-08 0:53 ` OMAP34xx Kevin Hilman
2012-02-08 10:46 ` OMAP34xx Grazvydas Ignotas
2012-02-08 17:01 ` OMAP34xx Kevin Hilman
2012-02-08 17:06 ` OMAP34xx Greg KH
2012-02-08 17:23 ` OMAP34xx Grazvydas Ignotas
2012-02-08 19:53 ` OMAP34xx Greg KH
2012-02-08 23:03 ` OMAP34xx Kevin Hilman
2012-02-08 23:15 ` OMAP34xx Greg KH
2012-02-09 0:14 ` OMAP34xx Paul Walmsley
2012-02-09 0:47 ` OMAP34xx Greg KH
2012-02-09 1:39 ` OMAP34xx Kevin Hilman
2012-02-09 18:49 ` OMAP34xx Greg KH
2012-02-09 1:43 ` OMAP34xx Austin, Brian
2012-02-09 7:25 ` OMAP34xx Jarkko Nikula
2012-02-09 13:37 ` OMAP34xx Mark Brown
2012-02-09 18:36 ` OMAP34xx Tony Lindgren
2012-02-09 19:26 ` OMAP34xx Tony Lindgren
2012-02-09 20:44 ` OMAP34xx Paul Walmsley
2012-02-10 1:22 ` OMAP34xx Paul Walmsley
2012-02-09 19:34 ` OMAP34xx Rex Feany
2012-02-09 23:13 ` OMAP34xx Kevin Hilman
2012-02-10 1:41 ` OMAP34xx Rex Feany
2012-02-10 2:19 ` OMAP34xx Paul Walmsley
2012-02-10 7:10 ` OMAP34xx Hiremath, Vaibhav
2012-02-10 14:19 ` OMAP34xx Paul Walmsley
2012-02-10 16:03 ` OMAP34xx Hiremath, Vaibhav
2012-02-10 14:37 ` OMAP34xx Matt Porter
2012-02-10 18:31 ` OMAP34xx Matt Porter
2012-02-10 23:39 ` OMAP34xx Paul Walmsley
2012-02-10 18:58 ` OMAP34xx Tony Lindgren
2012-02-13 16:36 ` OMAP34xx Rex Feany
2012-02-14 8:48 ` OMAP34xx Felipe Balbi
2012-02-14 14:59 ` OMAP34xx Alan Stern
2012-02-10 11:53 ` OMAP34xx Grazvydas Ignotas
2012-02-10 20:06 ` OMAP34xx Russell King - ARM Linux
2012-02-15 21:57 ` OMAP34xx Luciano Coelho
2012-02-15 23:54 ` OMAP34xx Kevin Hilman
2012-02-16 0:13 ` OMAP34xx Kevin Hilman
2012-02-16 0:25 ` OMAP34xx NeilBrown
2012-02-16 1:28 ` OMAP34xx Kevin Hilman
2012-02-16 7:56 ` OMAP34xx Luciano Coelho
2012-02-16 7:52 ` Luciano Coelho [this message]
2012-02-15 15:41 ` OMAP34xx Felipe Contreras
2012-02-08 23:34 ` OMAP34xx Russell King - ARM Linux
2012-02-06 18:13 ` OMAP34xx Tony Lindgren
2012-02-07 10:10 ` OMAP34xx Russell King - ARM Linux
2012-02-08 5:32 ` OMAP34xx Tony Lindgren
2012-02-13 21:17 ` OMAP34xx Tony Lindgren
2012-02-14 0:12 ` OMAP34xx Tony Lindgren
2012-02-06 23:19 ` OMAP34xx Cousson, Benoit
2012-02-06 23:48 ` OMAP34xx Tony Lindgren
2012-02-07 0:24 ` OMAP34xx Russell King - ARM Linux
2012-02-07 0:54 ` OMAP34xx Cousson, Benoit
2012-02-07 8:41 ` OMAP34xx Russell King - ARM Linux
2012-02-08 18:39 ` OMAP34xx Cousson, Benoit
2012-02-07 4:35 ` OMAP34xx Grant Likely
2012-02-07 5:26 ` OMAP34xx Cousson, Benoit
2012-02-07 8:46 ` OMAP34xx Russell King - ARM Linux
2012-02-07 17:28 ` OMAP34xx Mark Brown
2012-02-08 4:54 ` OMAP34xx Tony Lindgren
2012-02-08 16:16 ` OMAP34xx Cousson, Benoit
2012-02-05 1:55 ` OMAP34xx Tony Lindgren
2012-02-05 11:10 ` OMAP34xx Russell King - ARM Linux
2012-02-05 16:57 ` OMAP34xx Tony Lindgren
2012-02-05 12:56 ` OMAP34xx Russell King - ARM Linux
2012-02-05 14:38 ` OMAP34xx Russell King - ARM Linux
2012-02-05 17:40 ` OMAP34xx Tony Lindgren
2012-02-05 18:05 ` OMAP34xx Russell King - ARM Linux
2012-02-05 18:49 ` OMAP34xx Tony Lindgren
2012-02-05 20:04 ` OMAP34xx Russell King - ARM Linux
2012-02-09 6:52 ` OMAP34xx Archit Taneja
2012-02-09 22:34 ` OMAP34xx Russell King - ARM Linux
2012-02-10 6:26 ` OMAP34xx Archit Taneja
2012-04-05 8:24 ` OMAP34xx Russell King - ARM Linux
2012-04-05 8:34 ` OMAP34xx Archit Taneja
2012-04-05 8:49 ` OMAP34xx Russell King - ARM Linux
2012-04-05 9:10 ` OMAP34xx Archit Taneja
2012-02-05 17:25 ` OMAP34xx Russell King - ARM Linux
2012-02-05 17:47 ` OMAP34xx Tony Lindgren
2012-02-05 18:08 ` OMAP34xx Russell King - ARM Linux
2012-02-05 18:33 ` OMAP34xx Tony Lindgren
2012-02-05 18:41 ` OMAP34xx Russell King - ARM Linux
2012-02-05 18:59 ` OMAP34xx Tony Lindgren
2012-02-05 20:11 ` OMAP34xx Russell King - ARM Linux
2012-02-05 20:51 ` OMAP34xx Tony Lindgren
2012-02-06 10:37 ` OMAP34xx Ohad Ben-Cohen
2012-02-06 9:05 ` OMAP34xx Tero Kristo
2012-02-07 22:09 ` OMAP34xx Kevin Hilman
2012-02-08 5:47 ` OMAP34xx Tony Lindgren
2012-02-12 10:41 ` OMAP34xx Russell King - ARM Linux
2012-02-12 19:12 ` OMAP34xx Paul Walmsley
2012-02-13 5:35 ` OMAP34xx Shubhrajyoti
2012-02-15 15:52 ` OMAP34xx Paul Walmsley
2012-02-15 11:27 ` OMAP34xx Russell King - ARM Linux
2012-02-16 1:34 ` OMAP34xx Kevin Hilman
2012-02-12 11:44 ` OMAP34xx Russell King - ARM Linux
2012-02-13 17:59 ` OMAP34xx Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1329378739.5686.22.camel@cumari \
--to=coelho@ti.com \
--cc=arnd@arndb.de \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=gregkh@linuxfoundation.org \
--cc=jarkko.nikula@bitmer.com \
--cc=khilman@deeprootsystems.com \
--cc=khilman@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=notasas@gmail.com \
--cc=olof@lixom.net \
--cc=paul@pwsan.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox