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

Guido Günther agx at sigxcpu.org
Fri Nov 27 12:53:19 UTC 2009


On Fri, Nov 27, 2009 at 12:01:53AM +0100, Vincent Danjean wrote:
> 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.
Are you using qemu:///system? If so it's likely that the build against
libcap-ng causes your problem. Are the images you're mouting belonging
to root:libvirt?
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list