KVM Guest gets general protection fault on two CPUs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kvm (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Got the following errors (listed below) when trying to enter a KVM Guest running Ubuntu desktop 11.04 on top of a KVM Host running Ubuntu server 11.04 install.
This was done from a virt-manager running on a 11.04 desktop using ssh over to the server.
The "entering" mentioned was merely to move the mouse to within the VM viewer.
I could still login to the KVM guest with ssh, though.
I tried shutting down the KVM guest from within using 'shutdown -h NOW', but while this took down the OS, it apparently didn't properly shut down the actual VM instance.
When trying to use virt-manager (remotely, as mentioned) to forcefully shut it down, this didn't work out either - just hanging the GUI for a little while, then stating that the operation timed out.
When using virsh when logged into the Host, I get:
virsh # destroy Store
error: Failed to destroy domain Store
error: Timed out during operation: cannot acquire state change lock
Then, after following some ideas from..
https:/
.. I now have a situation where virsh list doesn't even return:
endre@SixCore:~$ virsh
Welcome to virsh, the virtualization interactive terminal.
..
virsh # list
Id Name State
-------
17 NewDisk running
[.. hanging .. "Store" should have been printed here ..]
Today (the next day), I tried virsh list again, and this time it worked out, with Store listed as "running". I then tried connecting via virt-manager, but when trying to go into the machine (virt-viewer?) I get "Connecting to to graphical console for Guest", just hanging.
I then tried to forcefully kill the VM again ("Force off" in virt-manager), but this yields the following traceback. Notice the "libvirtError: Timed out during operation: cannot acquire state change lock".
Traceback (most recent call last):
File "/usr/share/
vm.destroy()
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainDest
libvirtError: Timed out during operation: cannot acquire state change lock
Aug 27 11:10:36 Store kernel: [36104.328903] general protection fault: 0000 [#2] SMP
Aug 27 11:10:36 Store kernel: [36104.328915] last sysfs file: /sys/devices/
Aug 27 11:10:36 Store kernel: [36104.328923] CPU 1
Aug 27 11:10:36 Store kernel: [36104.328926] Modules linked in: binfmt_misc parport_pc ppdev vesafb joydev psmouse virtio_balloon seri
o_raw i2c_piix4 lp parport usbhid hid virtio_net virtio_blk floppy virtio_pci virtio_ring virtio
Aug 27 11:10:36 Store kernel: [36104.328965]
Aug 27 11:10:36 Store kernel: [36104.328972] Pid: 873, comm: Xorg Tainted: G D 2.6.38-11-generic #48-Ubuntu Bochs Bochs
Aug 27 11:10:36 Store kernel: [36104.328983] RIP: 0010:[<
Aug 27 11:10:36 Store kernel: [36104.329002] RSP: 0018:ffff880078
Aug 27 11:10:36 Store kernel: [36104.329008] RAX: ffff880053cf1c18 RBX: d4d5281e29fedeed RCX: 00000000000000c3
Aug 27 11:10:36 Store kernel: [36104.329014] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff880053cf1c18
Aug 27 11:10:36 Store kernel: [36104.329020] RBP: ffff880078701b48 R08: 00000000000000c3 R09: 0000000000000246
Aug 27 11:10:36 Store kernel: [36104.329025] R10: ffff88007d00c800 R11: 0000000000000000 R12: 00000000627812c6
Aug 27 11:10:36 Store kernel: [36104.329031] R13: ffff880054826148 R14: 00000000000000c3 R15: 0000000000000001
Aug 27 11:10:36 Store kernel: [36104.329052] FS: 00007f55818758a
Aug 27 11:10:36 Store kernel: [36104.329058] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 27 11:10:36 Store kernel: [36104.329064] CR2: 00007f5b0ad2aa30 CR3: 000000007844d000 CR4: 00000000000006e0
Aug 27 11:10:36 Store kernel: [36104.329085] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 27 11:10:36 Store kernel: [36104.329105] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 27 11:10:36 Store kernel: [36104.329113] Process Xorg (pid: 873, threadinfo ffff880078700000, task ffff8800792cadc0)
Aug 27 11:10:36 Store kernel: [36104.329118] Stack:
Aug 27 11:10:36 Store kernel: [36104.329121] ffff880017e39f00 0000000100000001 ffff880078701b28 ffff880054826140
Aug 27 11:10:36 Store kernel: [36104.329130] 0000000000000001 0000000000000282 0000000000000001 00000000000000c3
Aug 27 11:10:36 Store kernel: [36104.329140] ffff880078701b88 ffffffff8104e373 ffff880078701b78 ffff880054bc49c0
Aug 27 11:10:36 Store kernel: [36104.329148] Call Trace:
Aug 27 11:10:36 Store kernel: [36104.329160] [<ffffffff8104e
Aug 27 11:10:36 Store kernel: [36104.329172] [<ffffffff814c1
Aug 27 11:10:36 Store kernel: [36104.329254] [<ffffffff8155e
Aug 27 11:10:36 Store kernel: [36104.329265] [<ffffffff814ba
Aug 27 11:10:36 Store kernel: [36104.329274] [<ffffffff814ba
Aug 27 11:10:36 Store kernel: [36104.329284] [<ffffffff81165
Aug 27 11:10:36 Store kernel: [36104.329319] [<ffffffff812ae
Aug 27 11:10:36 Store kernel: [36104.329331] [<ffffffff81279
Aug 27 11:10:36 Store kernel: [36104.329339] [<ffffffff81164
Aug 27 11:10:36 Store kernel: [36104.329347] [<ffffffff81165
Aug 27 11:10:36 Store kernel: [36104.329356] [<ffffffff81279
Aug 27 11:10:36 Store kernel: [36104.329364] [<ffffffff81164
Aug 27 11:10:36 Store kernel: [36104.329372] [<ffffffff81165
Aug 27 11:10:36 Store kernel: [36104.329379] [<ffffffff81165
Aug 27 11:10:36 Store kernel: [36104.329387] [<ffffffff81086
Aug 27 11:10:36 Store kernel: [36104.329396] [<ffffffff8100c
Aug 27 11:10:36 Store kernel: [36104.329401] Code: 39 d5 48 8d 42 e8 48 8b 1a 74 40 48 83 eb 18 eb 0b 0f 1f 40 00 48 89 d8 48 8d 5a e8 44 8b 20 4c 89 f1 44 89 fa 8b 75 cc 48 89 c7 <ff> 50 10 85 c0 74 0c 41 83 e4 01 74 06 83 6d c8 01 74 0d 48 8d
Aug 27 11:10:36 Store kernel: [36104.329468] RIP [<ffffffff8104b
Aug 27 11:10:36 Store kernel: [36104.329478] RSP <ffff880078701b08>
Aug 27 11:10:36 Store kernel: [36104.329486] ---[ end trace 6a7ca2093395d464 ]---
Aug 27 11:10:37 Store kernel: [36104.872159] general protection fault: 0000 [#3] SMP
Aug 27 11:10:37 Store kernel: [36104.872173] last sysfs file: /sys/devices/
Aug 27 11:10:37 Store kernel: [36104.872182] CPU 0
Aug 27 11:10:37 Store kernel: [36104.872187] Modules linked in: binfmt_misc parport_pc ppdev vesafb joydev psmouse virtio_balloon serio_raw i2c_piix4 lp parport usbhid hid virtio_net virtio_blk floppy virtio_pci virtio_ring virtio
Aug 27 11:10:37 Store kernel: [36104.872223]
Aug 27 11:10:37 Store kernel: [36104.872230] Pid: 873, comm: Xorg Tainted: G D 2.6.38-11-generic #48-Ubuntu Bochs Bochs
Aug 27 11:10:37 Store kernel: [36104.872280] RIP: 0010:[<
Aug 27 11:10:37 Store kernel: [36104.872301] RSP: 0000:ffff880078
Aug 27 11:10:37 Store kernel: [36104.872307] RAX: fffb880054826508 RBX: ffff880054bc5040 RCX: 0000000000000000
Aug 27 11:10:37 Store kernel: [36104.872313] RDX: ffff880054bc42c8 RSI: 0000000000000286 RDI: fffb880054826500
Aug 27 11:10:37 Store kernel: [36104.872319] RBP: ffff880078701798 R08: 0000000000000000 R09: 0000000000000000
Aug 27 11:10:37 Store kernel: [36104.872324] R10: ffff880078265c10 R11: 0000000000000008 R12: ffff880054bc50b0
Aug 27 11:10:37 Store kernel: [36104.872330] R13: 0000000000000001 R14: ffff880054bc4000 R15: 0000000000000000
Aug 27 11:10:37 Store kernel: [36104.872348] FS: 00007f55818758a
Aug 27 11:10:37 Store kernel: [36104.872355] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 27 11:10:37 Store kernel: [36104.872361] CR2: 00000000004002a8 CR3: 0000000079ad4000 CR4: 00000000000006f0
Aug 27 11:10:37 Store kernel: [36104.872382] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 27 11:10:37 Store kernel: [36104.872403] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 27 11:10:37 Store kernel: [36104.872411] Process Xorg (pid: 873, threadinfo ffff880078700000, task ffff8800792cadc0)
Aug 27 11:10:37 Store kernel: [36104.872416] Stack:
Aug 27 11:10:37 Store kernel: [36104.872420] ffff880078701808 ffffffff8155bf78 ffff8800787017c8 ffffffff81178d3f
Aug 27 11:10:37 Store kernel: [36104.872429] ffff8800390d1600 ffff880054bc42c8 00000000787017e8 0000000000000000
Aug 27 11:10:37 Store kernel: [36104.872439] ffff880078265c10 ffff8800626a9e40 0000000000000000 ffff88004b7d2180
Aug 27 11:10:37 Store kernel: [36104.872448] Call Trace:
Aug 27 11:10:37 Store kernel: [36104.872462] [<ffffffff8155b
Aug 27 11:10:37 Store kernel: [36104.872474] [<ffffffff81178
Aug 27 11:10:37 Store kernel: [36104.872484] [<ffffffff8155b
Aug 27 11:10:37 Store kernel: [36104.872492] [<ffffffff814bb
Aug 27 11:10:37 Store kernel: [36104.872499] [<ffffffff814bb
Aug 27 11:10:37 Store kernel: [36104.872508] [<ffffffff81166
Aug 27 11:10:37 Store kernel: [36104.872515] [<ffffffff81166
Aug 27 11:10:37 Store kernel: [36104.872523] [<ffffffff81162
Aug 27 11:10:37 Store kernel: [36104.872534] [<ffffffff81069
Aug 27 11:10:37 Store kernel: [36104.872542] [<ffffffff81069
Aug 27 11:10:37 Store kernel: [36104.872576] [<ffffffff8106a
Aug 27 11:10:37 Store kernel: [36104.872588] [<ffffffff815c4
Aug 27 11:10:37 Store kernel: [36104.872597] [<ffffffff81010
Aug 27 11:10:37 Store kernel: [36104.872605] [<ffffffff815c4
Aug 27 11:10:37 Store kernel: [36104.872613] [<ffffffff815c3
Aug 27 11:10:37 Store kernel: [36104.872624] [<ffffffff8104b
Aug 27 11:10:37 Store kernel: [36104.872633] [<ffffffff8104b
Aug 27 11:10:37 Store kernel: [36104.872642] [<ffffffff8104e
Aug 27 11:10:37 Store kernel: [36104.872651] [<ffffffff814c1
Aug 27 11:10:37 Store kernel: [36104.872661] [<ffffffff8155e
Aug 27 11:10:37 Store kernel: [36104.872670] [<ffffffff814ba
Aug 27 11:10:37 Store kernel: [36104.872679] [<ffffffff814ba
Aug 27 11:10:37 Store kernel: [36104.872687] [<ffffffff81165
Aug 27 11:10:37 Store kernel: [36104.872700] [<ffffffff812ae
Aug 27 11:10:37 Store kernel: [36104.872710] [<ffffffff81279
Aug 27 11:10:37 Store kernel: [36104.872719] [<ffffffff81164
Aug 27 11:10:37 Store kernel: [36104.872727] [<ffffffff81165
Aug 27 11:10:37 Store kernel: [36104.872736] [<ffffffff81279
Aug 27 11:10:37 Store kernel: [36104.872744] [<ffffffff81164
Aug 27 11:10:37 Store kernel: [36104.872752] [<ffffffff81165
Aug 27 11:10:37 Store kernel: [36104.872759] [<ffffffff81165
Aug 27 11:10:37 Store kernel: [36104.872767] [<ffffffff81086
Aug 27 11:10:37 Store kernel: [36104.872775] [<ffffffff8100c
Aug 27 11:10:37 Store kernel: [36104.872780] Code: 5c 41 5d c9 c3 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 66 66 66 66 90 48 8b bf b8 00 00 00 0f ae f0 48 85 ff 74 18 48 8d 47 08 <48> 39 47 08 74 0e 31 c9 31 d2 be 01 00 00 00 e8 30 e2 b8 ff c9
Aug 27 11:10:37 Store kernel: [36104.872848] RIP [<ffffffff814c0
Aug 27 11:10:37 Store kernel: [36104.872857] RSP <ffff880078701798>
Aug 27 11:10:37 Store kernel: [36104.872866] ---[ end trace 6a7ca2093395d465 ]---
Aug 27 11:10:37 Store kernel: [36104.872872] Fixing recursive fault but reboot is needed!
---
Architecture: amd64
DistroRelease: Ubuntu 11.04
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
103 1787 1 1 325928 293584 2 Aug30 ? 00:01:37 /usr/bin/kvm -S -M pc-0.14 -cpu phenom,
103 1836 1 0 592299 401676 4 Aug30 ? 00:01:10 /usr/bin/kvm -S -M pc-0.14 -cpu phenom,
MachineType: System manufacturer System Product Name
Package: kvm 1:84+dfsg-
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: natty
Uname: Linux 2.6.38-11-server x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
dmi.bios.date: 06/13/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2201
dmi.board.
dmi.board.name: M4A89GTD-PRO/USB3
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Thanks for taking the time to submit this bug and helping to make Ubuntu better.
Do I understand right that the kernel oops you pasted at the end of the bug description is from the natty guest?
Can you run 'apport-collect 836119' on the server, to provide some more details to help us debug this issue?