Red Hat Bugzilla – Bug 502322
qemu not updated on upgrade from F10 to F11
Last modified: 2009-06-03 17:43:16 EDT
Description of problem:
Upgraded host from F10 to F11 (x86_64) and then x86 qemu guests had major problems. They either would not run at all or they would run extremely slow.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. upgrade to F11 (x86_64)
2. start x86 qemu guest
3. see x86 qemu guest fail
guest either fails to run or runs extremely slow
guest runs normally
# cat /proc/cpuinfo #showing just first cpu
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9850 Quad-Core Processor
stepping : 3
cpu MHz : 2511.618
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc pni monitor cx16 lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
bogomips : 5023.23
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
# rpm -q kernel qemu
If I make each guest only use 1 cpu then I can get them all to run but they run very slow.
If I boot into the 18.104.22.168-126 kernel things are even worse. Then only 1 guest will run at all.
Guest emulators are: /usr/bin/qemu-kvm
kernel line: empty (default)
Available: tsc hpet acpi_pm jiffies
kernel line: pit
Available: tsc, acpi_pm, jiffies
I tried changing clocksource in the guest to both acpi_pm and jiffies but it didn't help.
Can you attach boot messages from the guest when running on the old and new host kernels?
The problem is that the F11 kernel is not loading the kvm modules. Once I loaded them with modprobe then the guests ran normally.
The old kernel is no longer on the machine. Only the two F11 kernels are there.
I'm attaching dmesg and boot log.
Created attachment 345361 [details]
Created attachment 345362 [details]
Ok, I thought I had this problem fixed but after rebooting the host machine a number of times the kvm modules fail to load and the guests go back to extremely slow performance because there is no kvm.
(In reply to comment #7)
> Ok, I thought I had this problem fixed but after rebooting the host machine a
> number of times the kvm modules fail to load and the guests go back to
> extremely slow performance because there is no kvm.
But can you still load the kvm drivers manually?
Yes the kvm modules can be loaded manually after each reboot.
Ok, I found a 'qemu' update and ran 'yum update qemu'. This added this file: /etc/sysconfig/modules/kvm.modules. And now the kvm modules stay loaded across reboot.
qemu should have been updated with the upgrade.
Hmm, qemu was updated to qemu-0.10-16.fc11.x86_64, but it sounds like the kvm.modules script was missing/broken ?
kvm.modules looks just fine
Any yum/anaconda logfiles remaining from the upgrade which might shed a light on what happened?
No logs, but I do remember there were some selinux avc denials I noticed right after it finished. Don't know how that might affect things.
okay, thanks Gerry
Closing for now - if we get any more reports of this, we should re-open and take a closer look.