* [2.6.12-rc2][suspend] resume occuring twice before suspend to suspend-to-disk
@ 2005-04-11 19:31 Shawn Starr
2005-04-11 20:57 ` Rafael J. Wysocki
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Starr @ 2005-04-11 19:31 UTC (permalink / raw)
To: linux-kernel
I've noticed that when I do a suspend to disk. The
machine suspends PCI devices once (I notice this
because the ipw2200 wireless card shows its
suspending, then it locks/parks the HD heads, but then
all PCI devices are woken up and resume. The HD spins
up and then dumps memory contents to swap partition,
then it suspends all devices again? :)
Is this the right behaviour?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [2.6.12-rc2][suspend] resume occuring twice before suspend to suspend-to-disk
@ 2005-04-11 19:34 Shawn Starr
[not found] ` <20050411193439.53701.qmail-uCDoDXa0YfSB9c0Qi4KiSl5cfvJIxWXgQQ4Iyu8u01E@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Starr @ 2005-04-11 19:34 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Pavel Machek
I've noticed that when I do a suspend to disk. The
machine suspends PCI devices once (I notice this
because the ipw2200 wireless card shows its
suspending, then it locks/parks the HD heads, but then
all PCI devices are woken up and resume. The HD
spins up and then dumps memory contents to swap
partition, then it suspends all devices again? :)
Is this the right behaviour?
Shawn.
-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6.12-rc2][suspend] resume occuring twice before suspend to suspend-to-disk
[not found] ` <20050411193439.53701.qmail-uCDoDXa0YfSB9c0Qi4KiSl5cfvJIxWXgQQ4Iyu8u01E@public.gmane.org>
@ 2005-04-11 19:55 ` Pavel Machek
0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2005-04-11 19:55 UTC (permalink / raw)
To: Shawn Starr; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Po 11-04-05 15:34:39, Shawn Starr wrote:
>
> I've noticed that when I do a suspend to disk. The
> machine suspends PCI devices once (I notice this
> because the ipw2200 wireless card shows its
> suspending, then it locks/parks the HD heads, but then
> all PCI devices are woken up and resume. The HD
> spins up and then dumps memory contents to swap
> partition, then it suspends all devices again? :)
>
> Is this the right behaviour?
Yes.
It is going to be improved not to be *so* annoying in near future.
Pavel
--
Boycott Kodak -- for their patent abuse against Java.
-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6.12-rc2][suspend] resume occuring twice before suspend to suspend-to-disk
2005-04-11 19:31 Shawn Starr
@ 2005-04-11 20:57 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2005-04-11 20:57 UTC (permalink / raw)
To: Shawn Starr; +Cc: linux-kernel, Pavel Machek
Hi,
On Monday, 11 of April 2005 21:31, Shawn Starr wrote:
> I've noticed that when I do a suspend to disk. The
> machine suspends PCI devices once (I notice this
> because the ipw2200 wireless card shows its
> suspending, then it locks/parks the HD heads, but then
> all PCI devices are woken up and resume. The HD spins
> up and then dumps memory contents to swap partition,
> then it suspends all devices again? :)
>
> Is this the right behaviour?
It is like that by design. The devices are suspened before we create the
system image (so that they do not get in the way) and we should wake
up some of them afterwards so that we can write the image to the swap
partition. Currently, we wake up all devices, which is not very efficient,
but it is simple enough to allow us to hunt bugs more easily. Finally, the
system is just powered off.
Greets,
Rafael
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-04-11 20:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11 19:34 [2.6.12-rc2][suspend] resume occuring twice before suspend to suspend-to-disk Shawn Starr
[not found] ` <20050411193439.53701.qmail-uCDoDXa0YfSB9c0Qi4KiSl5cfvJIxWXgQQ4Iyu8u01E@public.gmane.org>
2005-04-11 19:55 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2005-04-11 19:31 Shawn Starr
2005-04-11 20:57 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.