From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: Got bash 'Resource temporarily unavailable' when testing linux_s3 (kvm) Date: Fri, 2 Oct 2009 15:00:16 -0300 Message-ID: <20091002180016.GC31990@amt.cnet> References: <20091002094435.GA322@dhcp-66-70-48.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: autotest@test.kernel.org, kvm@vger.kernel.org, lmr@redhat.com, Chen Cao To: Amos Kong Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5997 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754157AbZJBSAj (ORCPT ); Fri, 2 Oct 2009 14:00:39 -0400 Content-Disposition: inline In-Reply-To: <20091002094435.GA322@dhcp-66-70-48.nay.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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?