From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Modifying RAM during runtime on guest Date: Tue, 6 Oct 2009 14:35:01 -0300 Message-ID: <20091006173501.GB30746@defiant.freesoftware.org> References: <20090908205207.GC4513@defiant.freesoftware.org> <200909081618.09680.iggy@theiggy.com> <20090909102035.GA15296@defiant.freesoftware.org> <20090929045502.GA29200@psychosis.jim.sh> <20091004233558.GA3961@defiant.freesoftware.org> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp" To: KVM General Return-path: Received: from mail.gmx.net ([213.165.64.20]:47090 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932535AbZJFRfz (ORCPT ); Tue, 6 Oct 2009 13:35:55 -0400 Received: from defiant (defiant.freesoftware.org [10.1.0.65]) by hermes.freesoftware.org (Postfix) with ESMTP id 7AB90446 for ; Tue, 6 Oct 2009 14:34:58 -0300 (ART) Content-Disposition: inline In-Reply-To: <20091004233558.GA3961@defiant.freesoftware.org> Sender: kvm-owner@vger.kernel.org List-ID: --cvVnyQ+4j833TQvp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Jim. On Sunday, 04 October 2009 20:35:58 -0300, Daniel Bareiro wrote: > > > According to the tests that I was doing in guest with kernel with > > > support for virtio, shrinking works, but when trying to return to > > > the amount of initial memory, seems that it fails and I lose > > > connectivity by serial console and ssh. > > >=20 > > > In the guest: > > >=20 > > > # uname -a > > > Linux central 2.6.26-2-amd64 #1 SMP Sun Jul 26 20:35:48 UTC 2009 x86_= 64 GNU/Linux > > >=20 > > > # cat config-2.6.26-2-amd64 | grep -i virtio > > > CONFIG_NET_9P_VIRTIO=3Dm > > > CONFIG_VIRTIO_BLK=3Dm > > > CONFIG_VIRTIO_NET=3Dm > > > CONFIG_HW_RANDOM_VIRTIO=3Dm > > > CONFIG_VIRTIO=3Dm > > > CONFIG_VIRTIO_RING=3Dm > > > CONFIG_VIRTIO_PCI=3Dm > > > CONFIG_VIRTIO_BALLOON=3Dm > > >=20 > > > In the host: > > >=20 > > > # telnet localhost 4045 > > > Trying 127.0.0.1... > > > Connected to localhost. > > > Escape character is '^]'. > > > QEMU 0.10.50 monitor - type 'help' for more information > > > (qemu) > > > (qemu) info balloon > > > balloon: actual=3D512 > > > (qemu) balloon 256 > > > (qemu) info balloon > > > balloon: actual=3D256 > > > (qemu) > > > (qemu) balloon 512 > > > (qemu) info balloon > > > balloon: actual=3D36 > > >=20 > > > At this moment I'm unable to connect by serial console to the > > > guest and the ssh sessions are freeze nevertheless kvm process of > > > the guest is running. Using a VNC client I see several messages of > > > this type in the guest: > > >=20 > > > Out of memory: kill process xxxx () score xx or a child > > > Killed process xxxx () > > >=20 > > > Finally: > > >=20 > > > Kernel panic - not syncing - Out of memory and no killable processes.= =2E. =20 > > I noticed no-one answered this, and I just ran into the same thing > > myself. As Avi pointed out earlier, it is a guest bug, and upgrading > > the guest to 2.6.27 should fix it: =20 > > http://www.mail-archive.com/kvm@vger.kernel.org/msg10849.html =20 > In this moment I doesn't have Internet connectivity in my house, but, > as soon as it be possible, I shall download the necessary software to > compile 2.6.27 or superior and then I tell you the result of the > tests. After to have compiled Linux 2.6.30.3 using the Debian way on guest Debian GNU/Linux Lenny, when trying to boot the guest with this kernel, the bootstrapping is freeze on "Loading, please wait..." message. In logs I don't get entries of the bootstrapping process with 2.6.30 (I think it is because the process in itself didn't start). Can it be due to a bug using 2.6.30.3 in guest with host KVM-88? Thanks in advance. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 --cvVnyQ+4j833TQvp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkrLf8UACgkQZpa/GxTmHTf6pwCaA2wDX4BLrb0qRcOdM28TKd73 o7YAniLARUCteobicveM7pSU3d1z/+G+ =iH09 -----END PGP SIGNATURE----- --cvVnyQ+4j833TQvp--