Re: Modifying RAM during runtime on guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx/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: signature.asc
Description: Digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux