Re: hard drive errors on acpi s3 resume

Pavel Machek
2005-11-07T23:34:47Z

Hi!

> > > 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.

Its coding style leaves something to be desired, but otherwise it
looks okay. Unfortunately, I do not need it on my machines, so someone
else has to test/submit this one.

Pavel
--
Thanks, Sharp!