Re: PM: resume devices took 9.176 seconds

From: Alexey Fisher
Date: Sat Jul 18 2009 - 09:46:18 EST


Pavel Machek schrieb:
On Mon 2009-07-06 18:21:15, Alexey Fisher wrote:
Hallo all,
it testing a lot git tree especially suspend and resume. With my new Intel DG45ID board i get always this trace:

============================================
[ 176.763922] PM: resume devices took 9.176 seconds
[ 176.763924] ------------[ cut here ]------------
[ 176.763930] WARNING: at kernel/power/suspend_test.c:52 suspend_test_finish+0x7c/0x80()

this is related with the commit:
commit 77437fd4e61f87cc94d9314baa5cbf50e3ccdf54
Author: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 23 21:28:33 2008 -0700

probobly it's depend on this message:
[ 173.076075] ata1: link is slow to respond, please be patient (ready=0)

so it's looks normal for this board and harddrive. I think it should be some way to change default TEST_SUSPEND_SECONDS by .config or kernel-parameter. I changed default settings to 10 in kernel/power/suspend_test.c but this is not the way it should be done.

I'm not sure if that's normal. Does it also delay on boot?

I have same time with test_suspend=mem on boot and with normal suspend. Probably there is some thing wrong but it's seems for like it do the same in windows vista like in linux. In linux i use clean suspend... no distro scripts used... in dmesg i ken see that sata harddrive need some time to wake, so i think it's the reason for it.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/