[Pkg-libvirt-maintainers] Bug#537445: restoring leaves kvm-instance in unusable state

martin f krafft madduck at debian.org
Sat Jul 18 11:23:44 UTC 2009

Package: libvirt-bin
Version: 0.6.4-1
Severity: important

I am using libvirt-bin together with kvm 85+dfsg-4.

I can use virsh to save the state of my machines just fine; at least
there is no error reported. However, if I try to restore the
machine, kvm starts fine and I can connect to the qemu pty, but when
I connect to the ttyconsole, the login prompt is not there. A minute
later, the VM reboots and then works fine.

During save, the host's kernel log shows

  kvm: 22871: cpu0 unhandled rdmsr: 0xc0010117

When I restore, I see

  kvm: 19696: cpu0 unhandled rdmsr: 0xc0010117
  kvm: 22871: cpu0 unhandled wrmsr: 0xc0010117
  kvm: 22871: cpu0 unhandled rdmsr: 0xc0010117
  kvm: 22871: cpu0 unhandled rdmsr: 0xc0010117

followed by 240 of those messages:

  vcpu not ready for apic_round_robin
  [4/second for precisely 60 seconds]

and then

  kvm: 24503: cpu0 unhandled wrmsr: 0xc0010117 data 0

just before the reboot.

This might be a kvm problem, but I can't figure out how to
save/restore with kvm directly, so I am filing it here.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser      3.110                       add and remove users and groups
ii  libavahi-cli 0.6.25-1                    Avahi client library
ii  libavahi-com 0.6.25-1                    Avahi common library
ii  libc6        2.9-20                      GNU C Library: Shared libraries
ii  libdbus-1-3  1.2.16-2                    simple interprocess messaging syst
ii  libdevmapper 2:1.02.30-3                 The Linux Kernel Device Mapper use
ii  libgcrypt11  1.4.4-3                     LGPL Crypto library - runtime libr
ii  libgnutls26  2.6.6-1                     the GNU TLS library - runtime libr
ii  libgpg-error 1.6-1                       library for common error values an
ii  libhal1      0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii  libparted1.8 1.8.8.git.2009.06.03-1      The GNU Parted disk partitioning s
ii  libpolkit-db 0.9-4                       library for accessing PolicyKit vi
ii  libpolkit2   0.9-4                       library for accessing PolicyKit
ii  libreadline5 5.2-5                       GNU readline and history libraries
ii  libsasl2-2   2.1.23.dfsg1-1              Cyrus SASL - authentication abstra
ii  libselinux1  2.0.82-1                    SELinux shared libraries
ii  libtasn1-3   2.2-1                       Manage ASN.1 structures (runtime)
ii  libuuid1     1.41.8-1                    Universally Unique ID library
ii  libvirt0     0.6.5-2                     library for interfacing with diffe
ii  libxenstore3 3.4.0-1                     Xenstore communications library fo
ii  libxml2      2.7.3.dfsg-2                GNOME XML library
ii  logrotate    3.7.7-3                     Log rotation utility
ii  zlib1g       1:           compression library - runtime

Versions of packages libvirt-bin recommends:
ii  bridge-utils                  1.4-5      Utilities for configuring the Linu
ii  dnsmasq-base                  2.49-1     A small caching DNS proxy and DHCP
ii  iptables                      1.4.4-1    administration tools for packet fi
ii  netcat-openbsd                1.89-3     TCP/IP swiss army knife
pn  qemu                          <none>     (no description available)

Versions of packages libvirt-bin suggests:
ii  policykit                     0.9-4      framework for managing administrat

-- no debconf information

 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20090718/ed33b845/attachment.pgp>

More information about the Pkg-libvirt-maintainers mailing list