lkml.org 
[lkml]   [2013]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [BUG 3.12.rc4] Oops: unable to handle kernel paging request during shutdown

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> On Fri, Oct 25, 2013 at 11:23 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> > Enable DEBUG_OBJECTS, DEBUG_OBJECTS_FREE, DEBUG_OBJECTS_TIMERS
>
> Yes, but nobody has actually been able to trigger it with those.
> It's pretty rare, and the debug options are so expensive that they
> aren't reasonable to enable generally...
>
> So we need to try to figure out how to trigger it, or narrow
> things down some way..

If it's timing then maybe the 1 seconds delay isn't enough
(especially if it's boot related, where we have a couple of delays
already) - the patch below triples it.

(If the bug goes away due to some other side effect then this patch
won't make a difference to reproducability.)

Thanks,

Ingo

diff --git a/lib/kobject.c b/lib/kobject.c
index 084f7b1..124188f 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -595,7 +595,7 @@ static void kobject_release(struct kref *kref)
pr_info("kobject: '%s' (%p): %s, parent %p (delayed)\n",
kobject_name(kobj), kobj, __func__, kobj->parent);
INIT_DELAYED_WORK(&kobj->release, kobject_delayed_cleanup);
- schedule_delayed_work(&kobj->release, HZ);
+ schedule_delayed_work(&kobj->release, 3*HZ);
#else
kobject_cleanup(kobj);
#endif

\
 
 \ /
  Last update: 2013-10-26 14:01    [W:0.154 / U:2.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site