Re: [PATCH 0/11] ACPI: Fixes and cleanups related to iomaps management

From: Rafael J. Wysocki
Date: Mon Jan 24 2011 - 16:36:57 EST


On Monday, January 24, 2011, Jeff Chua wrote:
> On Mon, Jan 24, 2011 at 4:28 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > On Sunday, January 23, 2011, Jeff Chua wrote:
> >> On Sun, Jan 23, 2011 at 3:12 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> >> > On Saturday, January 22, 2011, Jeff Chua wrote:
> >> >> 2011/1/22 Rafael J. Wysocki <rjw@xxxxxxx>:
> >> >> > On Saturday, January 22, 2011, Jeff Chua wrote:
> >> Strange. If I didn't offline, it hanged during suspend even without
> >> thinkpad_acpi. I could see that the suspend code does the offline
> >> automatically, but executing the offline before calling suspend makes
> >> it no hanging.
> >
> > That means there's a problem in the CPU hotplug code that manifests itslef
> > during suspend. Is this 100% reproducible? Did it happen with 2.6.37?
>
> Quite reproducible. Once "something" trigger the hang, no matter how
> I reset the system, it'll still hang at suspend. And at other times,
> it just worked. I tried many things, but it seems if I go back to use
> an earlier version (2.6.37 works perfectly for suspend-to-disk/mem),
> then switched back to the newer broken version, it'll work for a few
> cycles before hanging at suspend-to-disk.
>
> I guess it could be CPU hotplug, and may be that thinkpad-acpi is
> triggering the broken cpu hotplug to fail.

So please try with this commit on top:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ec30f343d61391ab23705e50a525da1d55395780

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/