kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm)
@ 2009-10-02  9:44 Amos Kong
  2009-10-02 18:00 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Amos Kong @ 2009-10-02  9:44 UTC (permalink / raw)
  To: autotest, kvm; +Cc: lmr, Chen Cao


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

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

* Re: Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm)
  2009-10-02  9:44 Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm) Amos Kong
@ 2009-10-02 18:00 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2009-10-02 18:00 UTC (permalink / raw)
  To: Amos Kong; +Cc: autotest, kvm, lmr, Chen Cao

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?



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

end of thread, other threads:[~2009-10-02 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02  9:44 Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm) Amos Kong
2009-10-02 18:00 ` Marcelo Tosatti

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).