Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm)

2009-10-02 Thread Amos Kong

Anybody can help on linux_s3 (kvm autotest)?

When running the testcase linux_s3 to test kvm, we constantly got
'bash: echo: write error: Resource temporarily unavailable'.

This testcase can be found at
autotest/client/tests/kvm/tests/linux_s3.py
(or autotest/client/tests/kvm/kvm_tests.py in the old version).

The testing command is:
'chvt %s  echo mem  /sys/power/state  chvt %s' % (dst_tty,
src_tty)
e.g.
'chvt 1  echo mem  /sys/power/state  chvt 7'


Is there any chance that the 'echo' command is executed before 'chvt
1' took full effect? (Just my wild guess.)


I'll appreciate your help.


Regards,

-- 
Amos Kong
Quality Engineer
Raycom Office(Beijing), Red Hat Inc.
Phone: +86-10-62608183
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm)

2009-10-02 Thread Marcelo Tosatti
On Fri, Oct 02, 2009 at 05:44:35PM +0800, Amos Kong wrote:
 
 Anybody can help on linux_s3 (kvm autotest)?
 
 When running the testcase linux_s3 to test kvm, we constantly got
 'bash: echo: write error: Resource temporarily unavailable'.
 
 This testcase can be found at
 autotest/client/tests/kvm/tests/linux_s3.py
 (or autotest/client/tests/kvm/kvm_tests.py in the old version).
 
 The testing command is:
 'chvt %s  echo mem  /sys/power/state  chvt %s' % (dst_tty,
 src_tty)
 e.g.
 'chvt 1  echo mem  /sys/power/state  chvt 7'
 
 
 Is there any chance that the 'echo' command is executed before 'chvt
 1' took full effect? (Just my wild guess.)
 
 
 I'll appreciate your help.

There was a bug in virtio-balloon, fixed in 2.6.30, that prevents proper
suspend-to-RAM.

Can you share dmesg output after the failure?


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