* [2.6.18] Suspend to ram and SATA
@ 2006-11-02 21:22 Maciej Rutecki
2006-11-02 21:43 ` Rafael J. Wysocki
2006-11-03 7:44 ` Martin Lorenz
0 siblings, 2 replies; 6+ messages in thread
From: Maciej Rutecki @ 2006-11-02 21:22 UTC (permalink / raw)
To: Linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 841 bytes --]
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@gmail.com>
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
[-- Attachment #1.2: acpi_info.txt.gz --]
[-- Type: application/x-gzip, Size: 711 bytes --]
[-- Attachment #1.3: config-2.6.18.1.gz --]
[-- Type: application/x-gzip, Size: 14802 bytes --]
[-- Attachment #1.4: config-2.6.18.gz --]
[-- Type: application/x-gzip, Size: 14811 bytes --]
[-- Attachment #1.5: dmesg-2.6.18.1.gz --]
[-- Type: application/x-gzip, Size: 6704 bytes --]
[-- Attachment #1.6: dmidecode.txt.gz --]
[-- Type: application/x-gzip, Size: 2483 bytes --]
[-- Attachment #1.7: lspci.txt.gz --]
[-- Type: application/x-gzip, Size: 2578 bytes --]
[-- Attachment #1.8: ver_linux.txt.gz --]
[-- Type: application/x-gzip, Size: 703 bytes --]
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3265 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.18] Suspend to ram and SATA
2006-11-02 21:22 [2.6.18] Suspend to ram and SATA Maciej Rutecki
@ 2006-11-02 21:43 ` Rafael J. Wysocki
2006-11-03 19:34 ` Maciej Rutecki
2006-11-03 7:44 ` Martin Lorenz
1 sibling, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2006-11-02 21:43 UTC (permalink / raw)
To: Maciej Rutecki; +Cc: Linux-kernel
On Thursday, 2 November 2006 22:22, 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).
>
> Hardware: HP/Compaq nx6310
Can you please test 2.6.19-rc4 with CONFIG_DISABLE_CONSOLE_SUSPEND
unset?
Rafael
--
You never change things by fighting the existing reality.
R. Buckminster Fuller
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.18] Suspend to ram and SATA
2006-11-02 21:22 [2.6.18] Suspend to ram and SATA Maciej Rutecki
2006-11-02 21:43 ` Rafael J. Wysocki
@ 2006-11-03 7:44 ` Martin Lorenz
2006-11-03 20:47 ` Maciej Rutecki
1 sibling, 1 reply; 6+ messages in thread
From: Martin Lorenz @ 2006-11-03 7:44 UTC (permalink / raw)
To: Maciej Rutecki; +Cc: Linux-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.18] Suspend to ram and SATA
2006-11-02 21:43 ` Rafael J. Wysocki
@ 2006-11-03 19:34 ` Maciej Rutecki
2006-11-03 20:12 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Maciej Rutecki @ 2006-11-03 19:34 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux-kernel
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
Rafael J. Wysocki napisał(a):
>
> Can you please test 2.6.19-rc4 with CONFIG_DISABLE_CONSOLE_SUSPEND
> unset?
>
> Rafael
>
>
I don't have this option:
rutek:/usr/src/linux-2.6.19-rc4# cat .config | grep SUSPEND
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_SUSPEND_SMP=y
CONFIG_USB_SUSPEND=y
but suspend to ram seems to work (I did't see any problem). Thanks for
help :-)
--
Maciej Rutecki <maciej.rutecki@gmail.com>
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3265 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.18] Suspend to ram and SATA
2006-11-03 19:34 ` Maciej Rutecki
@ 2006-11-03 20:12 ` Rafael J. Wysocki
0 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2006-11-03 20:12 UTC (permalink / raw)
To: Maciej Rutecki; +Cc: Linux-kernel
On Friday, 3 November 2006 20:34, Maciej Rutecki wrote:
> Rafael J. Wysocki napisał(a):
>
> >
> > Can you please test 2.6.19-rc4 with CONFIG_DISABLE_CONSOLE_SUSPEND
> > unset?
> >
> > Rafael
> >
> >
> I don't have this option:
>
> rutek:/usr/src/linux-2.6.19-rc4# cat .config | grep SUSPEND
> CONFIG_SOFTWARE_SUSPEND=y
> CONFIG_SUSPEND_SMP=y
> CONFIG_USB_SUSPEND=y
So it is not set which is OK.
> but suspend to ram seems to work (I did't see any problem). Thanks for
> help :-)
You're welcome. :-)
--
You never change things by fighting the existing reality.
R. Buckminster Fuller
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [2.6.18] Suspend to ram and SATA
2006-11-03 7:44 ` Martin Lorenz
@ 2006-11-03 20:47 ` Maciej Rutecki
0 siblings, 0 replies; 6+ messages in thread
From: Maciej Rutecki @ 2006-11-03 20:47 UTC (permalink / raw)
To: martin, Linux-kernel
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
Martin Lorenz napisał(a):
>
> 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.
>
A test this patch witch 2.6.18 and works great, thanks :-)
--
Maciej Rutecki <maciej.rutecki@gmail.com>
http://www.unixy.pl
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3265 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-11-03 20:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02 21:22 [2.6.18] Suspend to ram and SATA 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
2006-11-03 20:47 ` Maciej Rutecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox