← Back to team overview

kernel-packages team mailing list archive

[Bug 1596635] Re: KVM system crashes after starting guest

 

** Changed in: linux (Ubuntu Xenial)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1596635

Title:
  KVM system crashes after starting guest

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Xenial:
  Fix Committed

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+0x1bc/0xf50 after we start the guest....

  7c:mon> e
  cpu 0x7c: Vector: 300 (Data Access) at [c000001e1b80f760]
      pc: c00000000088217c: xhci_irq+0x1bc/0xf50
      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_irq+0x50/0xa0
  [c000001e1b80fb30] c00000000082af58 usb_hcd_pci_remove+0x68/0x1c0
  [c000001e1b80fb70] c00000000088a118 xhci_pci_remove+0x78/0xb0
  [c000001e1b80fba0] c0000000005e54b0 pci_device_remove+0x70/0x110
  [c000001e1b80fbe0] c0000000006d1550 __device_release_driver+0xc0/0x190
  [c000001e1b80fc10] c0000000006d1660 device_release_driver+0x40/0x70
  [c000001e1b80fc40] c0000000006cf860 unbind_store+0x170/0x1b0
  [c000001e1b80fc80] c0000000006ce1d4 drv_attr_store+0x64/0xa0
  [c000001e1b80fcc0] c0000000003978d0 sysfs_kf_write+0x80/0xb0
  [c000001e1b80fd00] c0000000003967e8 kernfs_fop_write+0x188/0x200
  [c000001e1b80fd50] c0000000002e126c __vfs_write+0x6c/0xe0
  [c000001e1b80fd90] c0000000002e1fa0 vfs_write+0xc0/0x230
  [c000001e1b80fde0] c0000000002e2fdc SyS_write+0x6c/0x110
  [c000001e1b80fe30] c000000000009204 system_call+0x38/0xb4
  --- 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+0x1bc/0xf50
  cfar= c000000000008468 slb_miss_realmode+0x50/0x78
  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+0x1bc/0xf50 after we start the guest....
  > 
  > 7c:mon> e
  > cpu 0x7c: Vector: 300 (Data Access) at [c000001e1b80f760]
  >     pc: c00000000088217c: xhci_irq+0x1bc/0xf50
  >     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 27a41a83ec54d0edfcaf079310244e7f013a7701
  Author: Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxxxxxxx>
  Date:   Wed Jun 1 18:09:07 2016 +0300

      xhci: Cleanup only when releasing primary hcd

  ==

  Canonical,

  Please backport to 16.04.01

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1596635/+subscriptions