mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Lorenz <martin@lorenz.eu.org>
To: Maciej Rutecki <maciej.rutecki@gmail.com>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.18] Suspend to ram and SATA
Date: Fri, 3 Nov 2006 08:44:47 +0100	[thread overview]
Message-ID: <20061103074447.GB23150@gimli> (raw)
In-Reply-To: <454A61B0.9010306@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1892 bytes --]

On Thu, Nov 02, 2006 at 10:22:56PM +0100, Maciej Rutecki wrote:
> I have problem with suspend to ram, and my SATA drive. When I try:
> 
> echo mem > /sys/power/state
> 
> system goes standby, but when doing the resume it
> would come back and have I/O errors similar like this ((copied from
> paper notes, the disk is no longer writable when the error happens)
> 
> kernel: journal commit I/O error
> end_request: I/O error, dev sda, sector xxxxxxxx
> sd 0:0:0:0: SCSI error return code: 0xxxxxx
> 
> Problem is similar like this:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=111409309804068&w=2
> http://www.thinkwiki.org/wiki/Problems_with_SATA_and_Linux
> http://lkml.org/lkml/2005/9/23/97
> 
> I test it in 2.6.18.1 (with initrd) and 2.6.18 (with and without initrd).

for 2.6.18 there is a patch which makes AHCI sata behave correctly on
suspend/resume. it was originally written by Forrest Zhao and is now
included in the 2.6.19-rcX tree

you can apply the libata patch that went into 2.6.18-mm1. it is to be found
in the broken-out dir of 2.6.18-mm1 and named
git-libata-all-2.6.18-mm1.patch

when applying it to 2.6.18.1 you will get three rejects because the patches
are already in 2.6.18.1. simply say 'n' -> 'n' on those three. 


> 
> Hardware: HP/Compaq nx6310
> 
> -- 
> Maciej Rutecki <maciej.rutecki@gmail.com>
> http://www.unixy.pl
> LTG - Linux Testers Group
> (http://www.stardust.webpages.pl/ltg/wiki/)











gruss
  mlo
--
Dipl.-Ing. Martin Lorenz

            They that can give up essential liberty 
	    to obtain a little temporary safety 
	    deserve neither liberty nor safety.
                                   Benjamin Franklin

please encrypt your mail to me
GnuPG key-ID: F1AAD37D
get it here:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xF1AAD37D

ICQ UIN: 33588107

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-11-03  7:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02 21:22 Maciej Rutecki
2006-11-02 21:43 ` Rafael J. Wysocki
2006-11-03 19:34   ` Maciej Rutecki
2006-11-03 20:12     ` Rafael J. Wysocki
2006-11-03  7:44 ` Martin Lorenz [this message]
2006-11-03 20:47   ` Maciej Rutecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061103074447.GB23150@gimli \
    --to=martin@lorenz.eu.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®