Eh... that's interesting. That means no work is stalled on
workqueues, so it at least is not a workqueue stall. Can you please
try the following then? Or if sysrq wasn't working because your
keyboard wasn't initialized at that point, you can setup serial
console and trigger sysrq that way.
Thanks.
diff --git a/init/main.c b/init/main.c
index 94ab488..e156b8f 100644
--- a/init/main.c
+++ b/init/main.c
@@ -423,11 +423,19 @@ static void __init setup_command_line(char *command_line)
static __initdata DECLARE_COMPLETION(kthreadd_done);
+static void show_state_timer_fn(unsigned long data)
+{
+ show_state();
+}
+static DEFINE_TIMER(show_state_timer, show_state_timer_fn, 0, 0);
+
static noinline void __init_refok rest_init(void)
__releases(kernel_lock)
{
int pid;
+ printk("XXX show_state_timer registered\n");
+ mod_timer(&show_state_timer, jiffies + 180 * HZ);
rcu_scheduler_starting();
/*
* We need to spawn init first so that it obtains pid 1, however
--