public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with s3 suspend to ram
@ 2008-01-26  6:16 G L
  0 siblings, 0 replies; 3+ messages in thread
From: G L @ 2008-01-26  6:16 UTC (permalink / raw)
  To: linux-acpi

***2nd try, hopefully without mail malfunctions this time.  Sorry***


Hello,


I originally posted about my problem on the Ubuntu forums ( http://ubuntuforums.org/showthread.php?t=673729 ). Having received not a single reply, I decided to give it a shot here. Also, I've been googling for a few evenings now and I cannot find any clear solution to this.


First, here's what I'm using:

Mythbuntu 7.10 Gutsy
Biostar TF7050-M2 motherboard (with latest BIOS)
AMD Athlon 64 X2 4400+ Brisbane
Seagate Barracuda 500GB SATA2
2 GB RAM

When I suspend (S3), it seems to work okay. Computer goes to sleep and I don't hear any fans or the hard drive, and the screen goes blank.

When I resume, it *seems* wake up okay, until, I think, it tries to wake up the hard drive. Then all I get on the screen are errors like these:


Code:
ata1 soft reset failed
ata1 COMRESET failed
device sda5 XFS metadata write error block <bunch of numbers>
Buffer I/O error on device sda1, logical block <some number>
Remounting filesystem read-only


All I see are error messages like above scrolling... it doesn't seem to stop until I poweroff the computer, wait a few seconds, then poweron and it boots normally.

Seems to me that the computer is unable to wake up the hard drive from its beauty sleep. :-/

I enabled/uncommented the following two lines in "/etc/default/acpi-support":

DISABLE_DMA=true
RESET_DRIVE=true

...but the problem persists.

Do I need to modify something else in the acpi-support file?


Then I tried to follow the instructions on this page ( http://zechs.dyndns.org/wordpress/?p=234 ) to get s2both and s2disk to work.

When I tried Suspend, nothing seemed to happen at first. I was still seeing the desktop environment on the screen, the mouse cursor was still moving. I could still click on buttons and icons, however it would have no effect. No program would start.

So I rebooted.

What followed is one of the worst hard drive problem I've ever saw!  It said that /dev/sda1 has way too many errors and that it'll only mount read-only so that I can run fsck manually. Then it gave me a root shell prompt.

I ran fsck, there were many many inode and block errors about this and that. I was feeling pretty bummed out so I just answer 'y' when it would ask me if I wanted to fix the problem.

The computer then rebooted again, and everything seemed to run normally. I tried all different programs and things (to see if any important files had been damaged), but everything looks okay. (Phew?)

I still can't seem to get suspend to work though... which is a pain because I want to make the computer suspend to ram when I press the power button of my remote. :-|



Guillaume



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with s3 suspend to ram
       [not found] <1571.71830.qm@web55204.mail.re4.yahoo.com>
@ 2008-01-27 11:13 ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2008-01-27 11:13 UTC (permalink / raw)
  To: G L; +Cc: ACPI Devel Maling List, pm list

On Sunday, 27 of January 2008, G L wrote:
> Hello,

Hi,
 
> Thanks for replying!
> 
> Well I updated Mythbuntu 7.10 to the latest kernel offered, which is 2.6.22-14-generic.

Please don't drop CCs in the next messages, thanks.

Would you be able to install a kernel.org kernel?

Rafael

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with s3 suspend to ram
@ 2008-01-28 10:24 G L
  0 siblings, 0 replies; 3+ messages in thread
From: G L @ 2008-01-28 10:24 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: ACPI Devel Maling List, pm list

Hello,

Today I tried the 2.6.24-5-generic.  Also, I tried to suspend/resume with two different SATA settings in the bios (IDE and Linux AHCI).
I also played with various settings in /etc/default/acpi-support. 

The problem is still there, but it's different.

Instead of getting:
ata1 soft reset failed
ata1 COMRESET failed

It does:
ata1 soft reset
failed ...[above line about 5 times]
then it says something like "giving up"


----- Original Message ----
From: Rafael J. Wysocki <rjw@sisk.pl>
To: G L <glafranceweb@yahoo.com>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>; pm list <linux-pm@lists.linux-foundation.org>
Sent: Sunday, January 27, 2008 6:13:36 AM
Subject: Re: Problem with s3 suspend to ram

On Sunday, 27 of January 2008, G L wrote:
> Hello,

Hi,

> Thanks for replying!
>
> Well I updated Mythbuntu 7.10 to the latest kernel offered, which is 2.6.22-14-generic.

Please don't drop CCs in the next messages, thanks.

Would you be able to install a kernel.org kernel?

Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-28 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 10:24 Problem with s3 suspend to ram G L
     [not found] <1571.71830.qm@web55204.mail.re4.yahoo.com>
2008-01-27 11:13 ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2008-01-26  6:16 G L

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox