Re: hard drive errors on acpi s3 resume

Matthew Garrett
2005-11-07T01:22:30Z

On Sun, Nov 06, 2005 at 08:48:59PM +0000, Alan Cox wrote:
> On Sul, 2005-11-06 at 17:27 +0100, Pavel Machek wrote:
> > Also I'm afraid you'll have to ask this on ide lists; this is not an
> > ACPI but a driver problem.
>
> Its probably also an ACPI problem. ACPI provides disk suspend/resume
> methods but nobody as hooked them to anything. Basically you shouldn't
> mix ACPI S3 and IDE disks in Linux until this is done.

There's a patch that floated on here a while ago - we're shipping it in
Ubuntu. Hang on...

http://www.codon.org.uk/~mjg59/tmp/external-drivers-ide_sleep.dpatch is
what we're shipping - it seems to work in most cases, but not all. It
implements the _GTM and _STM methods, but doesn't do anything with _GTF
since the IDE layer hasn't been resumed at the point where this code
executes, so there's no existing mechanism to execute the taskfile
commands returned. It may help in this case.

(I've no idea why this hasn't been submitted upstream yet - it's not my
patch...)
--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org