xhci_hcd ERROR unknown event type 15

Bug #1795763 reported by neeraj sharma
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

i keep losing connection to USB hub plugged in via PCI express usb 3.0 card.
dmesg shows the following error.

[16205.365224] perf: interrupt took too long (3736 > 2500), lowering kernel.perf_event_max_sample_rate to 53500
[18209.636450] xhci_hcd 0000:10:00.0: ERROR unknown event type 15
[18214.741280] xhci_hcd 0000:10:00.0: xHCI host not responding to stop endpoint command.
[18214.774794] xhci_hcd 0000:10:00.0: Host halt failed, -110
[18214.774796] xhci_hcd 0000:10:00.0: xHCI host controller not responding, assume dead
[18214.774823] xhci_hcd 0000:10:00.0: HC died; cleaning up

Ubuntu 4.15.0-36.39-generic 4.15.18
Description: Ubuntu 18.04.1 LTS
Release: 18.04
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-09-11 (21 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: HP ProLiant DL380 Gen9
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic root=UUID=048a4427-e19d-40c6-8054-0d5de7426a67 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-36-generic N/A
 linux-backports-modules-4.15.0-36-generic N/A
 linux-firmware 1.173.1
RfKill:

Tags: bionic
Uname: Linux 4.15.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/22/2018
dmi.bios.vendor: HP
dmi.bios.version: P89
dmi.board.name: ProLiant DL380 Gen9
dmi.board.vendor: HP
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrP89:bd01/22/2018:svnHP:pnProLiantDL380Gen9:pvr:rvnHP:rnProLiantDL380Gen9:rvr:cvnHP:ct23:cvr:
dmi.product.family: ProLiant
dmi.product.name: ProLiant DL380 Gen9
dmi.sys.vendor: HP
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-09-11 (45 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Tags: bionic
Uname: Linux 4.19.0-041900rc6-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1795763

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Revision history for this message
neeraj sharma (neeraj-cu) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
neeraj sharma (neeraj-cu) wrote : AlsaInfo.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : CRDA.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : CurrentDmesg.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : IwConfig.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : Lspci.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : Lsusb.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : ProcInterrupts.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : ProcModules.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : UdevDb.txt

apport information

Revision history for this message
neeraj sharma (neeraj-cu) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc6

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
beniwtv (beniwtv-deactivatedaccount) wrote :

I'm also running into this problem:

[ 775.468546] xhci_hcd 0000:02:00.0: ERROR unknown event type 15
[ 780.582774] xhci_hcd 0000:02:00.0: xHCI host not responding to stop endpoint command.
[ 780.582807] xhci_hcd 0000:02:00.0: xHCI host controller not responding, assume dead
[ 780.582838] xhci_hcd 0000:02:00.0: HC died; cleaning up

lspci:

02:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller

I've tried 4.19-rc8 from mainline ppa - no change. This is on Ubuntu 18.10. Also happened on 18.04.

One small note though: On this USB 3.1 controller card, I have connected a USB capture card, that works under v4l. If I use the capture card, with say, Cheese or any webcam application, all works fine, it never dies. Only when the card is not in use it does.

I've suspected some kind of power management issue, but power management seems to be off:

$ cat /sys/bus/pci/devices/0000\:02\:00.0/power/control
on

I'm not sure what event type 15 is, but perhaps the card expects a response from the kernel, or some action when sending that event.

Revision history for this message
neeraj sharma (neeraj-cu) wrote :

kernel-bug-exists-upstream

Revision history for this message
neeraj sharma (neeraj-cu) wrote : ProcCpuinfoMinimal.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
description: updated
Revision history for this message
neeraj sharma (neeraj-cu) wrote :

unbind and bind gets the usb enumeration back

echo -n "0000:07:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind;
echo -n "0000:08:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind;
echo -n "0000:0b:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind;
echo -n "0000:0c:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind;
echo -n "0000:0f:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind;
echo -n "0000:10:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind;

echo -n "0000:07:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind;
echo -n "0000:08:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind;
echo -n "0000:0b:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind;
echo -n "0000:0c:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind;
echo -n "0000:0f:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind;
echo -n "0000:10:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind;

Revision history for this message
beniwtv (beniwtv-deactivatedaccount) wrote :

I use:

sudo echo "1" > /sys/bus/pci/devices/0000\:02\:00.0/remove

To remove only the affected PCIe card (mine is a PCIe USB 3.1 controller card), and

echo "1" > /sys/bus/pci/rescan

To get it back online.
Though it only gets it back temporarily until the event is fired again.

Revision history for this message
Felix Moreno (felix-justdust) wrote :

hapening to me with ubuntu 19.04, pci card 3.1 usb box 10 drives.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.