Re: [RFT] x86 acpi: normalize segment descriptor register on resume

From: Rafael J. Wysocki
Date: Sat Jul 12 2008 - 16:46:18 EST


On Saturday, 12 of July 2008, Andy Lutomirski wrote:
> Rafael J. Wysocki wrote:
> > On Saturday, 12 of July 2008, Andy Lutomirski wrote:
> >> My Lenovo X61s fails to resume if I suspend it from within X, on both
> >> 2.6.26-rc9 and recent wireless-testing. 2.6.26-rc8 is fine, as is
> >> wireless-testing with 4b4f7280 reverted. My in-progress bisect between
> >> -rc8 and -rc9 is also consistent with this being the problem.
> >>
> >> The symptom is that, when I push the power button to resume, the hard
> >> drive light turns on, the fan turns on, then the hard drive light turns
> >> off, the sleep light stays on, and the fan keeps running. Sometimes the
> >> battery light will blink off very briefly (1/4 sec, maybe) every few
> >> seconds. The system is locked hard at this point.
> >>
> >> I'm using Ubuntu Hardy userspace.
> >
> > Well, that's bad.
> >
> > There is the bugzilla entry at http://bugzilla.kernel.org/show_bug.cgi?id=11064
> > for this bug and you've just confirmed my suspicion that this particular
> > commit is to blame.
> >
> > Can you please see if the appended patch changes anything?
>
> I suspended and resumed OK. Then I rebooted and tried again, and it failed.

That's very strange.

Well, is suspend/resume 100% reliable without commit
4b4f7280d7fd1feeff134c2cf2db32fd583b6c29 ?

Also, is the system 64-bit or 32-bit and do you use any user-space quirks to
bring the graphics to life during resume?

And what does happen if you suspend it from the console (no X)?

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/