Re: [RFC]add ACPI hooks for IDE suspend/resume

From: Matthew Garrett
Date: Wed Dec 07 2005 - 09:32:59 EST


On Wed, Dec 07, 2005 at 03:19:07PM +0100, Bartlomiej Zolnierkiewicz wrote:
> On 12/7/05, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> > On Wed, Dec 07, 2005 at 09:17:31AM +0100, Bartlomiej Zolnierkiewicz wrote:
> >
> > > Isn't ide-io.c:ide_{start,complete}_power_step() enough?
> >
> > No.
>
> Why? :)

Heh :) The failure is (IIRC, I don't have the serial logs to hand)
before ide_start_power_step() is called. We get to start_request(), and
the system then fails with "bus not ready on wakeup" and "drive not
ready on wakeup". Calling the _GTM and _STM ACPI methods before then
lets the system come back up normally.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/