On (Fri) 22 Aug 2014 [22:44:05], Amit Shah wrote: > Hm, found it: > > The stall happens in do_initcalls(). > > pm_sysrq_init() is the function that causes the hang. When I #if 0 > the line > > register_sysrq_key('o', &sysrq_poweroff_op); > > in pm_sysrq_init(), the boot proceeds normally. > > Now what this is, and what relation this has to rcu and that patch in > particular is next...
... and enabling the following debug options makes the bug disappear: CONFIG_DEBUG_OBJECTS=y CONFIG_DEBUG_OBJECTS_SELFTEST=y CONFIG_DEBUG_OBJECTS_FREE=y CONFIG_DEBUG_OBJECTS_TIMERS=y CONFIG_DEBUG_OBJECTS_WORK=y CONFIG_DEBUG_OBJECTS_RCU_HEAD=y CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 Anyway, so it looks like a race somewhere in the schedule_work_on() chain. Not sure how to capture the debug messages there w/o disabling these debug options. I'll keep trying, though. Amit -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/