Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: SwSusp to disk doesn't work - Try 2 | Date | Sun, 11 Mar 2007 20:38:51 +0100 |
| |
On Sunday, 11 March 2007 20:04, Milan Broz wrote: > Rafael J. Wysocki napsal(a): > > On Sunday, 11 March 2007 19:08, Thomas Meyer wrote: > >> Suspend to disk doesn't work on my laptop. > >> > >> The suspend seems to hang while enabling the non-boot cpus again. > >> > >> with platform = "test" and state = "disk" i get this: > > >> Enabling non-boot CPUs ... > ... > > > > Could you please put some printk()s in kernel/cpu.c:_cpu_up() to see where > > it gets stuck? I bet one of the notifiers goes to sleep (cpufreq, maybe). > > Hi, > I see the same problem - 2.6.21-rc3 with NO_HZ set (tickless),
Ah, NO_HZ. Thomas Gleixner's address added to the Cc list.
> short printk trace > > enable_nonboot_cpus > _cpu_up > raw_notifier_callchain (CPU_UP_PREPARE) > ... > update_sched_domains > detach_destroy_domains > [waits here] --> synchronize_sched (==synchronize_rcu)
Well, I think the call to wait_for_completion() does not return, probably because the task supposed to complete the completion is frozen at this point. Can you please try to confirm that it gets stuck on wait_for_completion() in synchronize_rcu()?
Rafael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |