Comment 75 for bug 160763

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote : Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

On Fri, 2010-05-21 at 18:21 +0000, Enrico Gueli wrote:
> Maxim... you're AWESOME!! Thanks for the effort!!
>
> I've tried to apply the patch against the 2.6.34 kernel from git, but
> patch prints a strange output:
>
> Hunk #1 succeeded at 213 (offset -3 lines).
> Hunk #2 succeeded at 590 with fuzz 2 (offset 292 lines).
>
> Indeed, it applies the hunk #2 to a completely different function
> (acpi_hibernation_finish()) rather than acpi_suspend_finish(), that
> simply doesn't exist in my sleep.c. Obviolusly, that doesn't work
>
> Are you currently using some unofficial kernel branch?
>
> Thanks!
>
Aha, sorry for confusion.
I missed a local patch that is supposed to be upstream,
I attach it here.

In general this patch solves rare hand on resume from disk.

Best regards,
Maxim Levitsky