All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Bareiro <daniel-listas@gmx.net>
To: KVM General <kvm@vger.kernel.org>
Subject: Re: Modifying RAM during runtime on guest
Date: Tue, 6 Oct 2009 14:35:01 -0300	[thread overview]
Message-ID: <20091006173501.GB30746@defiant.freesoftware.org> (raw)
In-Reply-To: <20091004233558.GA3961@defiant.freesoftware.org>

[-- Attachment #1: Type: text/plain, Size: 2782 bytes --]

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.
> > > 
> > > In the guest:
> > > 
> > > # uname -a
> > > Linux central 2.6.26-2-amd64 #1 SMP Sun Jul 26 20:35:48 UTC 2009 x86_64 GNU/Linux
> > > 
> > > # cat config-2.6.26-2-amd64 | grep -i virtio
> > > CONFIG_NET_9P_VIRTIO=m
> > > CONFIG_VIRTIO_BLK=m
> > > CONFIG_VIRTIO_NET=m
> > > CONFIG_HW_RANDOM_VIRTIO=m
> > > CONFIG_VIRTIO=m
> > > CONFIG_VIRTIO_RING=m
> > > CONFIG_VIRTIO_PCI=m
> > > CONFIG_VIRTIO_BALLOON=m
> > > 
> > > In the host:
> > > 
> > > # 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=512
> > > (qemu) balloon 256
> > > (qemu) info balloon
> > > balloon: actual=256
> > > (qemu)
> > > (qemu) balloon 512
> > > (qemu) info balloon
> > > balloon: actual=36
> > > 
> > > 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:
> > > 
> > > Out of memory: kill process xxxx (<name>) score xx or a child
> > > Killed process xxxx (<name>)
> > > 
> > > Finally:
> > > 
> > > Kernel panic - not syncing - Out of memory and no killable processes...
 
> > 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:
 
> >   http://www.mail-archive.com/kvm@vger.kernel.org/msg10849.html
 
> 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
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Squeeze - Linux user #188.598

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-10-06 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 20:52 Modifying RAM during runtime on guest Daniel Bareiro
2009-09-08 21:18 ` Brian Jackson
2009-09-09 10:20   ` Daniel Bareiro
2009-09-29  4:55     ` Jim Paris
2009-10-04 23:35       ` Daniel Bareiro
2009-10-06 17:35         ` Daniel Bareiro [this message]
2009-10-07 18:21           ` Jim Paris
2009-10-13 16:55             ` Daniel Bareiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091006173501.GB30746@defiant.freesoftware.org \
    --to=daniel-listas@gmx.net \
    --cc=dbareiro@gmx.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.