From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: hard drive errors on acpi s3 resume Date: Mon, 7 Nov 2005 01:22:30 +0000 Message-ID: <20051107012229.GA19681@srcf.ucam.org> References: <20051104063946.BB9CA3DF4@xprdmailfe12.nwk.excite.com> <20051106162739.GA28697@elf.ucw.cz> <1131310139.1212.37.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1131310139.1212.37.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alan Cox Cc: Pavel Machek , sdfa , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php