public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Harddisk problems after S3
@ 2005-03-23 20:00 Alberto Piai
       [not found] ` <20050323210009.15c78e66.albeclemit-whZMOeQn8C0@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Alberto Piai @ 2005-03-23 20:00 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Hi everybody,

the first part of the story is at
http://bugme.osdl.org/show_bug.cgi?id=3586

After removing the pushl $0 line in wakeup.S i got a successful resume, and with vbetool the screen was back to life. Had to boot whit vga=normal and unload all modules to get this, will try later to find the showstopping module.

After the resume, when trying to do anything with the disk (like unmount a partition) i got this:

hda dma_timer_expiry: dma status==0x21
hda: DMA timeout error
hda: dma timeout error: status=0x58 {DriveReady SeekComplete DataRequest}
ide: failed opcode was: unknown

each line came 15 or 20 seconds after the other, and the whole repeated 4 times. then i got the bash back and everything looked fine.... then when i rebooted it crashed...!!

Maybe this should be discussed togheter with people from other mailing-lists? can somebody point me to the appropriate address?

Thanks,
Alberto




-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Harddisk problems after S3
@ 2005-04-07  6:46 Li, Shaohua
  0 siblings, 0 replies; 4+ messages in thread
From: Li, Shaohua @ 2005-04-07  6:46 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Matthew Garrett, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,
[Send this to the ide maintainer to seek his help]

I encounter a similar issue, which I think it's the ide suspend/resume
issue. Every time if I heard the sound of the harddisk initializing, my
desktop's S3 resume works. Every time I didn't hear it, the resume
hangs. And after I reboot the system the BIOS reports a checksum error.
The symptom always can be reproduced.

>From the ACPI spec, harddisk hasn't standard method to support
suspend/resume. And it should do:
Powering down (or .suspend method)
*	Call _GTM.
*	Power down drive (calls _PS3 method and turns off power planes).
Powering up (or .resume method):
*	Power up drive (calls _PS0 method if present and turns on power
planes).
*	Call _STM passing info from _GTM (possibly modified), with ID
data from
*	each drive.
*	Initialize the channel.
*	May modify the results of _GTF.
*	For each drive:
		Call _GTF.
		Execute task file (possibly modified).

I could help write the ACPI related code for this, but I know few about
the ide controller.

Thanks,
Shaohua

>
>On Tue, 2005-03-29 at 20:57 +0200, Pavel Machek wrote:
>
>> Ask ide maintainers...
>
>The fact that we do nothing with the _GTM, _STM and _GTF methods
doesn't
>help here. Implementing those ought to help on a range of IDE resume
>issues.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

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

end of thread, other threads:[~2005-04-07  6:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-23 20:00 Harddisk problems after S3 Alberto Piai
     [not found] ` <20050323210009.15c78e66.albeclemit-whZMOeQn8C0@public.gmane.org>
2005-03-29 18:57   ` Pavel Machek
     [not found]     ` <20050329185720.GC7929-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-31  9:30       ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2005-04-07  6:46 Li, Shaohua

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