[2.6.18] Suspend to ram and SATA

From: Maciej Rutecki
Date: Thu Nov 02 2006 - 16:23:50 EST


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

Hardware: HP/Compaq nx6310

--
Maciej Rutecki <maciej.rutecki@xxxxxxxxx>
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

Attachment: acpi_info.txt.gz
Description: GNU Zip compressed data

Attachment: config-2.6.18.1.gz
Description: GNU Zip compressed data

Attachment: config-2.6.18.gz
Description: GNU Zip compressed data

Attachment: dmesg-2.6.18.1.gz
Description: GNU Zip compressed data

Attachment: dmidecode.txt.gz
Description: GNU Zip compressed data

Attachment: lspci.txt.gz
Description: GNU Zip compressed data

Attachment: ver_linux.txt.gz
Description: GNU Zip compressed data

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature