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: > " > [cut] > acpi device:02: freeze > video video:00: freeze > acpi device:01: freeze > acpi PNP0C02:00: freeze > pci_root PNP0A08:00: freeze > button PNP0C0E:00: freeze > button PNP0C0C:00: freeze > acpi APP0002:00: freeze > button PNP0C0D:00: freeze > ac ACPI0003:00: freeze > acpi device:00: freeze > processor ACPI0007:01: freeze > processor ACPI0007:00: freeze > button button_power:00: freeze > acpi acpi_system:00: freeze > Disabling non-boot CPUs ... > CPU 1 is now offline > SMP alternatives: switching to UP code > PM: Removing info for No Bus:cpu1 > PM: Removing info for No Bus:msr1 > CPU1 is down > swsusp debug: Waiting for 5 seconds. > Enabling non-boot CPUs ... > > ----> Here the process hangs. But a fortunate coincidence showed me that > an acpi event continues the process (pressing the power off button a few > times... (2x - 4x) ).
Hm, interesting. > SMP alternatives: switching to SMP code > Booting processor 1/1 eip 3000 > CPU 1 irqstacks, hard=c0389000 soft=c0387000 > Initializing CPU#1 > Calibrating delay using timer specific routine.. 3663.73 BogoMIPS > (lpj=6103576) > CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 > 0000c1a9 00000000 00000000 > monitor/mwait feature present. > CPU: L1 I cache: 32K, L1 D cache: 32K > CPU: L2 cache: 2048K > CPU: Physical Processor ID: 0 > CPU: Processor Core ID: 1 > CPU: After all inits, caps: bfe9fbff 00100000 00000000 00002940 0000c1a9 > 00000000 00000000 > Intel machine check architecture supported. > Intel machine check reporting enabled on CPU#1. > CPU1: Intel Genuine Intel(R) CPU T2400 @ 1.83GHz stepping 08 > PM: Adding info for No Bus:cpu1 > PM: Adding info for No Bus:msr1 > CPU1 is up > acpi acpi_system:00: resuming > button button_power:00: resuming > processor ACPI0007:00: resuming > processor ACPI0007:01: resuming > acpi device:00: resuming > ac ACPI0003:00: resuming > button PNP0C0D:00: resuming > acpi APP0002:00: resuming > button PNP0C0C:00: resuming > button PNP0C0E:00: resuming > pci_root PNP0A08:00: resuming > " > > Any ideas? 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). Greetings, Rafael -- If you don't have the time to read, you don't have the time or the tools to write. - Stephen King - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/