linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA
       [not found] ` <1141349791.19013.1.camel@sli10-desk.sh.intel.com>
@ 2006-03-20 18:43   ` Michael Schierl
  2006-03-20 19:39     ` Mark Lord
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Schierl @ 2006-03-20 18:43 UTC (permalink / raw)
  To: Shaohua Li; +Cc: linux-acpi, linux-ide

[added linux-ide to CC]

Shaohua Li schrieb:

> If the video is dark, please try the boot options listed in
> documentation/power/video.txt.

Okay, I got video working on vanilla 2.6.16 by using "vbetool post" and
"vbetool vbestate restore" directly after "echo mem >/sys/power/state".

I copy all stuff need into tmpfs to ensure that it can restore the video
without hard disk access.

when accessing hard disks first time after resume, I get (wrote it by
hand so maybe this is not 100% correct)

ata1: handling error / timeout
ata1: port reset  p_ is 400000 is 0 pis 400000 cmd 8007
                          tf 80 ss 113 se 405000
ata1: status = 0x50 {DriveReady SeekComplete}
sda: current: senseKey 0x0 ASC  0x0 ASCQ 0x0

Sometimes there is "cmd 6" instead of "cmd 8007".

What to do, what to test?

I don't have any way of getting information out of my machine after
resume except on display (hard disks do not work after resume, the
notebook does not have a serial port and network does not work after
resume either) and by flashing keyboard LEDs, so transcribing huge dmesg
output would be a pain...

Please CC me since I am not on the list(s). Thank you.

Michael

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

* Re: Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA
  2006-03-20 18:43   ` Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA Michael Schierl
@ 2006-03-20 19:39     ` Mark Lord
  2006-03-21 15:37       ` Michael Schierl
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Lord @ 2006-03-20 19:39 UTC (permalink / raw)
  To: Michael Schierl; +Cc: Shaohua Li, linux-acpi, linux-ide

Michael Schierl wrote:
..
> Okay, I got video working on vanilla 2.6.16 by using "vbetool post" and
> "vbetool vbestate restore" directly after "echo mem >/sys/power/state".
> 
> I copy all stuff need into tmpfs to ensure that it can restore the video
> without hard disk access.

OOhh.. clever, wish I'd thought of that,
as all of my (now solved) suspend/resume issues
were *all* libata related.

> when accessing hard disks first time after resume, I get (wrote it by
> hand so maybe this is not 100% correct)
> 
> ata1: handling error / timeout
> ata1: port reset  p_ is 400000 is 0 pis 400000 cmd 8007
>                           tf 80 ss 113 se 405000
> ata1: status = 0x50 {DriveReady SeekComplete}
> sda: current: senseKey 0x0 ASC  0x0 ASCQ 0x0
> 
> Sometimes there is "cmd 6" instead of "cmd 8007".
> 
> What to do, what to test?

Randy Dunlop's libata-acpi patch might work for you.
http://www.xenotime.net/linux/SATA/

Cheers


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

* Re: Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA
  2006-03-20 19:39     ` Mark Lord
@ 2006-03-21 15:37       ` Michael Schierl
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Schierl @ 2006-03-21 15:37 UTC (permalink / raw)
  To: Mark Lord; +Cc: Shaohua Li, linux-acpi, linux-ide

Mark Lord wrote:

>> I copy all stuff need into tmpfs to ensure that it can restore the video
>> without hard disk access.
>
> OOhh.. clever, wish I'd thought of that,

One should not forget to disable swap first :)

> as all of my (now solved) suspend/resume issues
> were *all* libata related.

So I guess it is a good idea to get SATA working first, isn't it?

>> What to do, what to test?
>
> Randy Dunlop's libata-acpi patch might work for you.
> http://www.xenotime.net/linux/SATA/

I tried the 2.6.16-rc4 patches on 2.6.16 (one hunk did not apply in
libata.h, but I think I was able to fix it manually). Before suspend it
works well, after suspend it does not work. Seems that the timeout is
longer with the patch, though. I tried it several times; once it seemed
to have worked, but it was not reproducible (and it did not work any
longer after the next suspend), so I guess it could be just that I only
tried files already in cache. (Or alternatively, the patch has a success
rate of maybe 5%...)

"Just for fun" i tried the 2.6.15 patches on 2.6.15, but it did not even
boot.

BTW: It is an Intel AHCI controller.

Any other ideas/patches?

Michael

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

* Re: Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA
@ 2006-03-21 16:25 martin schneebacher
  2006-03-23 19:01 ` Michael Schierl
  0 siblings, 1 reply; 5+ messages in thread
From: martin schneebacher @ 2006-03-21 16:25 UTC (permalink / raw)
  To: Michael Schierl, Mark Lord; +Cc: Shaohua Li, linux-acpi, linux-ide

hi!

> ----- Original Message -----
> From: "Michael Schierl" <schierlm@gmx.de>
> To: "Mark Lord" <liml@rtr.ca>
> Subject: Re: Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA
> Date: 	Tue, 21 Mar 2006 16:37:03 +0100
> > Randy Dunlop's libata-acpi patch might work for you.
> > http://www.xenotime.net/linux/SATA/
> 
> I tried the 2.6.16-rc4 patches on 2.6.16 (one hunk did not apply in
> libata.h, but I think I was able to fix it manually). Before suspend it
> works well, after suspend it does not work. Seems that the timeout is
> longer with the patch, though. I tried it several times; once it seemed
> to have worked, but it was not reproducible (and it did not work any
> longer after the next suspend), so I guess it could be just that I only
> tried files already in cache. (Or alternatively, the patch has a success
> rate of maybe 5%...)
> 
> "Just for fun" i tried the 2.6.15 patches on 2.6.15, but it did not even
> boot.
> 
> BTW: It is an Intel AHCI controller.
> 
> Any other ideas/patches?

have you ever tried the sata_pm patch from http://tpctl.sourceforge.net/tmp/sata_pm.2.6.15-rc6.patch ?
i have a intel SATA ICH6M interface and it works fine with this patch.

bye...masc.



-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze

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

* Re: Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA
  2006-03-21 16:25 martin schneebacher
@ 2006-03-23 19:01 ` Michael Schierl
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Schierl @ 2006-03-23 19:01 UTC (permalink / raw)
  To: martin schneebacher; +Cc: Mark Lord, Shaohua Li, linux-acpi, linux-ide

martin schneebacher schrieb:

> have you ever tried the sata_pm patch from http://tpctl.sourceforge.net/tmp/sata_pm.2.6.15-rc6.patch ?
> i have a intel SATA ICH6M interface and it works fine with this patch.

Tried it against vanilla 2.6.15 - no change.

Michael

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

end of thread, other threads:[~2006-03-23 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <44076762.404@gmx.de>
     [not found] ` <1141349791.19013.1.camel@sli10-desk.sh.intel.com>
2006-03-20 18:43   ` Resume problems on Fujitsu-Siemens AMILO M7440G -- SATA Michael Schierl
2006-03-20 19:39     ` Mark Lord
2006-03-21 15:37       ` Michael Schierl
2006-03-21 16:25 martin schneebacher
2006-03-23 19:01 ` Michael Schierl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).