View Issue Details

IDProjectCategoryView StatusLast Update
0005841CentOS-6qemu-kvmpublic2013-01-04 22:45
Reporteryossarianuk 
PriorityurgentSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version6.3 
Target VersionFixed in Version 
Summary0005841: qemu-kvm : Ubuntu 12.04(host) / Centos 6.3(guest) rebooting from guest, stuck in a seabios/grub loop - cannot initialise kernel
DescriptionI have a really annoying bug, I can reproduce often (although it is a bit random).

I have an Ubuntu 12.04 KVM server , using Centos 6 guests - when I install the latest kernel for centos 6.3 -2.6.32-279.1.1.el6 - if you reboot from inside a Centos6 vm it gets stuck in a loop between seabios/grub - this does't happen 100% of the time - there is a high chance it will though - usually after 3 reboots it will get stuck in the loop - it will NEVER reboot without manual intervention (virsh destroy..)

It seem to fail at the kernel initialise stage - if I use vga=normal I can see the words 'Probing EEID...' for a sec (then it reboots)

If i use virsh/virt-manager to reboot its fine, only from inside a centos6 vm (with latest centos kernel) does this occur

As a test I installed centos 6.2 - this was 100% fine *until* I did a yum update then I got the same issue.

How can I troubleshoot this ? I already have already enabled the boot options 'console=ttyS0' (which I can access vm's using virsh console id) however this gives no output (as it crashes when initialising the kernel)

At present we are replacing Ubuntu as the KVM host (to Centos) whilst this bug remains.
Steps To ReproduceInstall Ubuntu 12.04 KVM host, install Centos 6 KVM guest - update Centos 6 guest, reboot.
Additional InformationI have installed a 2nd Ubuntu 12.04 KVM server and the exact same thing occurs (i.e 2 different servers = same issue)

I have also tried installing the latest qemu-kvm (1.1) from source on the Ubuntu 12.04 kvm server, the same thing occurs .


Ubuntu 10.04 KVM host / Centos 6.3 (guest) is fine - so i'm unsure where the fault is. Likewize a Centos 6.3 kvm host and centos 6.3 guest is also fine...
TagsNo tags attached.

Activities

yossarianuk

yossarianuk

2012-07-18 10:25

reporter   ~0015496

I also have an ubuntu bug report (they have actually responded and requested more info...)

https://bugs.launchpad.net/centos/+bug/1025188

ANY feedback would be good.
sf_alpha

sf_alpha

2012-07-19 05:59

reporter   ~0015507

Seems kernel has problem with KVM hosts on other distribution as well. I can reproduce this on Gentoo and Arch with qemu-kvm earlier than version 1.1.0
yossarianuk

yossarianuk

2012-07-19 07:47

reporter   ~0015508

sf_alpha - is it only with Centos 6.3 guests

i.e : Are you having it on other guests ?

Also did you not have the issue pre 6.3 updates?
yossarianuk

yossarianuk

2012-07-19 11:34

reporter   ~0015510

I have a 'solution' - credits to Marcelo Tosatti on the KVM mailing list

----------------------------------------
Can you disable kvmclock? (by appending "no-kvmclock" to the end of the
"kernel" line of 2.6.32-279.1.1.el6 entry in /boot/grub/menu.lst).
----------------------------------------

i.e add no-kvmclock to the kernel boot line in grub.

I have rebooted over 20 X now.

Does this indicate the bug is centos kernel related?

Issue History

Date Modified Username Field Change
2012-07-16 09:28 yossarianuk New Issue
2012-07-18 10:25 yossarianuk Note Added: 0015496
2012-07-19 05:59 sf_alpha Note Added: 0015507
2012-07-19 07:47 yossarianuk Note Added: 0015508
2012-07-19 11:34 yossarianuk Note Added: 0015510