← Back to team overview

kernel-packages team mailing list archive

[Bug 1596635] Comment bridged from LTC Bugzilla

 

------- Comment From gbertazi@xxxxxxxxxx 2016-06-29 16:57 EDT-------
(In reply to comment #32)
> Hello Canonical,
> Sorry, I use apt-get dist-upgrade and it installed the -28 kernel.
> But when I use "aptitude" command then I get my system upgrade to -29 kernel.
> With the -29 kernel, I am able to start my guest that has the pci pass
> through.
>
> root@micro:~# uname -r
> 4.4.0-29-generic
>
> root@micro:~# virsh list
>  Id    Name                           State
> ----------------------------------------------------
>  6     microg4                        running
>
> I also see this error "xhci_hcd". Should I be worried about that init
> fail.......
> root@micro:~# dmesg |grep "xhci_hcd"
> [    1.884017] xhci_hcd 0001:09:00.0: xHCI Host Controller
> [    1.884079] xhci_hcd 0001:09:00.0: new USB bus registered, assigned bus
> number 1
> [    1.884166] xhci_hcd 0001:09:00.0: Using 64-bit DMA iommu bypass
> [    1.884229] xhci_hcd 0001:09:00.0: hcc params 0x0270f06d hci version 0x96
> quirks 0x00000000
> [    1.884936] xhci_hcd 0001:09:00.0: xHCI Host Controller
> [    1.884941] xhci_hcd 0001:09:00.0: new USB bus registered, assigned bus
> number 2
> [    2.193049] usb 1-3: new high-speed USB device number 2 using xhci_hcd
> [    2.433162] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
> [    2.561045] usb 1-4: new high-speed USB device number 3 using xhci_hcd
> [    2.801107] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
> [    2.913045] usb 1-3.1: new low-speed USB device number 4 using xhci_hcd
> [   68.765623] xhci_hcd 0001:09:00.0: remove, state 1
> [   68.865172] xhci_hcd 0001:09:00.0: Host not halted after 16000
> microseconds.
> [   68.865175] xhci_hcd 0001:09:00.0: Host controller not halted, aborting
> reset.
> [   68.865244] xhci_hcd 0001:09:00.0: USB bus 2 deregistered
> [   68.865299] xhci_hcd 0001:09:00.0: remove, state 1
> [   69.329779] xhci_hcd 0001:09:00.0: USB bus 1 deregistered
> [   70.233109] xhci_hcd 0001:09:00.0: xHCI Host Controller
> [   70.233116] xhci_hcd 0001:09:00.0: new USB bus registered, assigned bus
> number 1
> [   70.264505] xhci_hcd 0001:09:00.0: Host not halted after 16000
> microseconds.
> [   70.264507] xhci_hcd 0001:09:00.0: can't setup: -110
> [   70.264586] xhci_hcd 0001:09:00.0: USB bus 1 deregistered
> [   70.264597] xhci_hcd 0001:09:00.0: init 0001:09:00.0 fail, -110
> [   70.264652] xhci_hcd: probe of 0001:09:00.0 failed with error -110

This log was taken from the host after the guest is destroyed, right?
That's a different issue, which also reproduces upstream.  I think it
has something to do with an errata for this hardware.

Does the controller probe successfully from inside the guest?

We should have a new bug opened to track it.

-- 
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