[Pkg-libvirt-maintainers] Bug#558197: libvirt: virtual linux machine stopped to boot while trying to mount the root FS

Vincent Danjean vdanjean at debian.org
Thu Nov 26 23:01:53 UTC 2009


Package: libvirt
Version: 0.7.2-4
Severity: important

  Hi,

  I just upgraded my system. After a reboot (of the host), my virtual machines
(debian lenny) does not boot any more.
When I try to start my virtual machine (virsh start --console guestname),
I show the grub screen, the start of the boot and it freeze when trying to
remount the root fs.
I booted with init=/bin/sh, run manually the scripts in /etc/rcS.d, run
/etc/rcS.d/S10checkroot.sh with tracing (bash -x /etc/rcS.d/S10checkroot.sh start)
and see that the freeze occurs during the remount of the root fs.
On the (serial) console, I can see a kernel message such as (I did not write
it when I saw it):
====
task mount:102 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. 
====

  I do not see in 0.7.2-4 changelog what would explain this compared to 0.7.2-3.
But the fact is that I tried to reboot with several kernel, I tried to use qemu-kvm,
kvm from unstable, kvm from testing and I always have this freeze.
Then I downgraded libvirt0, libvirt-bin, python-libvirt from 0.7.2-4 to 0.7.2-3
and virtinst from 0.500.0-3 to 0.500.0-2 and than my guest has been booting
correctly as always (and here again, it is working with several kernels, with
kvm and the new qemu-kvm).
  So this bug seems clearly related with the libvirt package.

  I set the severity to important because the 0.7.2-4 package is a no go for
me. But I do not see other bug report, so I'm not sure if this problem is
widespread. If this is the case, the severity should be dumped to block testing
migration.

  Regards,
    Vincent


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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvirt-bin depends on:
ii  adduser           3.111                  add and remove users and groups
ii  libavahi-client3  0.6.25-2               Avahi client library
ii  libavahi-common3  0.6.25-2               Avahi common library
ii  libc6             2.10.2-2               GNU C Library: Shared libraries
ii  libdbus-1-3       1.2.16-2               simple interprocess messaging syst
ii  libdevmapper1.02. 2:1.02.39-1            The Linux Kernel Device Mapper use
ii  libgnutls26       2.8.5-2                the GNU TLS library - runtime libr
ii  libhal1           0.5.13-4               Hardware Abstraction Layer - share
ii  libparted1.8-12   1.8.8.git.2009.07.19-5 The GNU Parted disk partitioning s
ii  libreadline6      6.0-5                  GNU readline and history libraries
ii  libsasl2-2        2.1.23.dfsg1-3         Cyrus SASL - authentication abstra
ii  libselinux1       2.0.89-4               SELinux runtime shared libraries
ii  libuuid1          2.16.1-4               Universally Unique ID library
ii  libvirt0          0.7.2-3                library for interfacing with diffe
ii  libxenstore3.0    3.4.2-2                Xenstore communications library fo
ii  libxml2           2.7.6.dfsg-1           GNOME XML library
ii  logrotate         3.7.8-4                Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils                  1.4-5      Utilities for configuring the Linu
ii  dnsmasq-base                  2.51-1     A small caching DNS proxy and DHCP
ii  iptables                      1.4.4-2    administration tools for packet fi
ii  netcat-openbsd                1.89-3     TCP/IP swiss army knife
ii  qemu                          0.10.6-1   fast processor emulator

Versions of packages libvirt-bin suggests:
ii  policykit-1                   0.95-1     framework for managing administrat

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list