guest with vcpus>1 hangs; >1 guest at a time, hangs one of them; hard hang -- must virsh destroy. thanks.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kvm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: kvm
I got a new intel i7 (950) and installed Ubuntu 9.04 and kvm-84
on it. I use this same config for a bunch of other machines
and it works fine. All my other machines are core2/xeon boxes
though. All are 64bit.
I try to run guestVM from an image that works on another box.
If I set vcpus in the config to 1 the guest starts. Otherwise
it hangs during boot after the lines:
...
[ 1.349990] Uniform CD-ROM driver Revision: 3.20
[ 1.350080] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 1.350264] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.350264] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.350264] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.350264] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 1.350264] uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 1.350264] uhci_hcd 0000:00:01.2: UHCI Host Controller
[ 1.350264] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[ 1.350264] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020
[ 1.359995] usb usb1: configuration #1 chosen from 1 choice
[ 1.360018] hub 1-0:1.0: USB hub found
[ 1.360018] hub 1-0:1.0: 2 ports detected
[ 1.360020] PNP: PS/2 Controller [PNP0303:
[ 1.360020] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.360020] serio: i8042 AUX port at 0x60,0x64 irq 12
<hang's hard here -- I can only leave the console and do a virsh destroy to kill>
If I set vcpus=1 then guest starts fine.
If I start another guest, the first one hangs hard.
During either of these cases there is no information/error in syslog.
I do see "kvm: 10933: cpu0 unhandled wrmsr: 0xc0010117 data 0" during
boot but other users/bug reports say that thisis fixed or doesn't
cause a problem.
My system info is below:
version info:
QEMU PC emulator version 0.9.1 (kvm-84), Copyright (c) 2003-2008 Fabrice Bellard
guest kernel info:
Linux appscale-image 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC 2009 x86_64 GNU/Linux
host cpu:
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
cpu family : 6
cpu MHz : 3065.952
cpu cores : 4
cpuid level : 11
host unix (ubuntu):
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty
host kernel info:
Linux eagles 2.6.28-15-server #52-Ubuntu SMP Wed Sep 9 11:34:09 UTC 2009 x86_64 GNU/Linux
kvm:
Installed: 1:84+dfsg-
Candidate: 1:84+dfsg-
Version table:
*** 1:84+dfsg-
500 http://
100 /var/lib/
1:
500 http://
qemu:
Installed: 0.10.0-1ubuntu1
Candidate: 0.10.0-1ubuntu1
Version table:
*** 0.10.0-1ubuntu1 0
500 http://
100 /var/lib/
kvm config file:
<domain type='kvm'>
<name>XXX</name>
<uuid>
<memory>
<currentMemor
<vcpu>2</vcpu>
<os>
<type arch='x86_64' machine=
<boot dev='hd'/>
</os>
<features>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<source file='/
<target dev='hda' bus='ide'/>
</disk>
<interface type='bridge'>
<mac address=
<source bridge='br0'/>
<model type='virtio'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen=
</devices>
</domain>
thanks.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 10933 1 0 555893 350892 0 08:12 ? 00:00:32 /usr/bin/kvm -S -M pc -m 2048 -smp 1 -name cs263-appscale -uuid 04844aaa-
MachineType: Gateway FX6801
Package: kvm 1:84+dfsg-
ProcCmdLine: root=UUID=
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: kvm
Changed in kvm (Ubuntu): | |
status: | New → Fix Released |
Marking low, since this happens with vcpus>1. Workaround is to use just one vcpu.
I'll try to reproduce.
:-Dustin