KVM system crashes after starting guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Canonical Kernel Team | ||
Xenial |
Fix Released
|
Undecided
|
Tim Gardner |
Bug Description
== Comment: #0 - Chanh H. Nguyen - 2016-06-25 00:24:28 ==
We have Ubuntun 16.04.1 version on our SuperMicro system and some of the virtual packages installed. Define a guest with a pci passthrough is fine but then system crashes at xhci_irq+
7c:mon> e
cpu 0x7c: Vector: 300 (Data Access) at [c000001e1b80f760]
pc: c00000000088217c: xhci_irq+
lr: c000000000882050: xhci_irq+0x90/0xf50
sp: c000001e1b80f9e0
msr: 9000000102009033
dar: 28
dsisr: 40000000
current = 0xc000001e1bc82a20
paca = 0xc000000007b89a00 softe: 0 irq_happened: 0x01
pid = 4026, comm = libvirtd
7c:mon> t
[c000001e1b80fb00] c00000000080ebb0 usb_hcd_
[c000001e1b80fb30] c00000000082af58 usb_hcd_
[c000001e1b80fb70] c00000000088a118 xhci_pci_
[c000001e1b80fba0] c0000000005e54b0 pci_device_
[c000001e1b80fbe0] c0000000006d1550 __device_
[c000001e1b80fc10] c0000000006d1660 device_
[c000001e1b80fc40] c0000000006cf860 unbind_
[c000001e1b80fc80] c0000000006ce1d4 drv_attr_
[c000001e1b80fcc0] c0000000003978d0 sysfs_kf_
[c000001e1b80fd00] c0000000003967e8 kernfs_
[c000001e1b80fd50] c0000000002e126c __vfs_write+
[c000001e1b80fd90] c0000000002e1fa0 vfs_write+
[c000001e1b80fde0] c0000000002e2fdc SyS_write+
[c000001e1b80fe30] c000000000009204 system_
--- Exception: c01 (System Call) at 00003fff7f6e6708
SP (3fff7abfd520) is in userspace
7c:mon> r
R00 = c000000000882050 R16 = 00003fff7a400000
R01 = c000001e1b80f9e0 R17 = c000000000df4200
R02 = c0000000015b4200 R18 = c000000000b84200
R03 = d000080081560024 R19 = c000000000de4200
R04 = c000000004880000 R20 = 0000000000000001
R05 = c000000004884000 R21 = 00003fff5400565d
R06 = c000000004884000 R22 = 00003fff5875aa80
R07 = 000000000000003e R23 = 00003fff7fa914e0
R08 = 0000000000000000 R24 = 00003fff7fa90b90
R09 = 0000000000000006 R25 = c000000000df4200
R10 = 0000000000000000 R26 = c000001e1b80fe00
R11 = 0000000000000006 R27 = c000001e3a2d1698
R12 = c000000000881fc0 R28 = c000000001550f98
R13 = c000000007b89a00 R29 = c000000004880260
R14 = 0000000000000000 R30 = c0000000048802ac
R15 = 0000000000000000 R31 = c000000004880000
pc = c00000000088217c xhci_irq+
cfar= c000000000008468 slb_miss_
lr = c000000000882050 xhci_irq+0x90/0xf50
msr = 9000000102009033 cr = 28028882
ctr = c000000000881fc0 xer = 0000000000000000 trap = 300
dar = 0000000000000028 dsisr = 40000000
7c:mon> d c000000000b000f0
c000000000b000f0 4c696e7578207665 7273696f6e20342e |Linux version 4.|
c000000000b00100 342e302d32342d67 656e657269632028 |4.0-24-generic (|
c000000000b00110 6275696c64644062 6f7330312d707063 |buildd@bos01-ppc|
c000000000b00120 3634656c2d303233 2920286763632076 |64el-023) (gcc v|
== Comment: #9 - Gabriel Krisman Bertazi - 2016-06-27 08:43:33 ==
(In reply to comment #0)
> We have Ubuntun 16.04.1 version on our SuperMicro system and some of the
> virtual packages installed. Define a guest with a pci passthrough is fine
> but then system crashes at xhci_irq+
>
> 7c:mon> e
> cpu 0x7c: Vector: 300 (Data Access) at [c000001e1b80f760]
> pc: c00000000088217c: xhci_irq+
> lr: c000000000882050: xhci_irq+0x90/0xf50
> sp: c000001e1b80f9e0
> msr: 9000000102009033
> dar: 28
> dsisr: 40000000
> current = 0xc000001e1bc82a20
> paca = 0xc000000007b89a00 softe: 0 irq_happened: 0x01
> pid = 4026, comm = libvirtd
Hi,
From a quick look, it seems you are missing this commit:
commit 27a41a83ec54d0e
Author: Gabriel Krisman Bertazi <email address hidden>
Date: Wed Jun 1 18:09:07 2016 +0300
xhci: Cleanup only when releasing primary hcd
==
Canonical,
Please backport to 16.04.01
Changed in linux (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
Default Comment by Bridge