Bug 197159 - Xhci host controller not responding starting kernel 4.13
Summary: Xhci host controller not responding starting kernel 4.13
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: Intel Linux
: P1 blocking
Assignee: drivers_pci@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-08 13:28 UTC by Niklas
Modified: 2019-04-17 07:57 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.13
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
output of dmesg (65.00 KB, text/plain)
2018-03-09 17:08 UTC, Niklas
Details
output of lspci -vv (11.48 KB, text/plain)
2018-03-09 17:08 UTC, Niklas
Details

Description Niklas 2017-10-08 13:28:13 UTC
When booting with a Expresscard USB 3.0 adapter (NEC UPD720202 Chip), the following error is generated:

"xhci_hcd 0000:05:00.0: xHCI host controller not responding, assumed dead"

This card still works fine with kernel 4.9.

Additionally, for some reason this also interferes with LUKS on an LVM partition; password does not work and computer becomes stuck at this point. This works as normal if card is removed and computer is rebooted.

Can we please have Expresscard USB 3.0 functionality back in the kernel?

This problem has been described elsewhere, but couldn't find any kernel bug report for it. See this link for further information:

http://patchwork.ozlabs.org/patch/804867/

Tested with Antergos (Arch) on a Thinkpad T420. The card works with the LTS kernel which is at 4.9.52-1 but not the latest which is 4.13.3-1.
Comment 1 RussianNeuroMancer 2018-03-08 20:47:35 UTC
Do you use tlp?
Comment 2 Bjorn Helgaas 2018-03-09 14:52:33 UTC
Thanks for resurrecting this issue.  I totally dropped the ball on it.

(In reply to RussianNeuroMancer from comment #1)
> Do you use tlp?

What is tlp?  Oh, maybe it's this: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html ?
Comment 3 RussianNeuroMancer 2018-03-09 16:15:22 UTC
> Oh, maybe it's this:
> http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html ?

Yes. Also could be "powertop --auto-tune".
Comment 4 Niklas 2018-03-09 17:08:02 UTC
Created attachment 274641 [details]
output of dmesg
Comment 5 Niklas 2018-03-09 17:08:44 UTC
Created attachment 274643 [details]
output of lspci -vv
Comment 6 Niklas 2018-03-09 17:13:19 UTC
Bug reporter here. Sorry for being unresponsive in this thread. I didn't notice your responses until now, as I was expecting them at bugzilla.kernel.org and not in my emails - this is my first bugreport here ever. Now I found some older responses there as well. I am no longer having any issues with LVM passwords while expresscard is plugged in, that disappeared a few weeks after the bug was reported. When card is plugged in now, my machine starts as normal, except for the error messages, but it stops every other seconds, assumably trying to connect to the expresscard. This makes the machine very sluggish. Same behaviour can be achieved if I try to hotplug the expresscard, also, doing this generates nothing additional in dmesg, nor when I plug it out again.

Also found a thread about fixing expresscard hotplugging:
https://technomagus.wordpress.com/linux/installation-configuration/ubuntu-natty-and-pci-expresscard-hot-plug-issue/

But this requires acpiphp, which according to this has been deprecated:
https://bugs.archlinux.org/task/36463

I've added my output of dmesg and lspci --vv to this report now. I honestly don't know how to test fe190ed0d602 or d9f11ba9f107, or even what this is, are those kernel builds of some sort? How would I go about testing those / where can I find them?

Are there any other changes that has been made in 4.13, isn't it possible to perform a diff and see what's changed?

I am using tlp, but problem remains when disabling it. Not using powertop.

grep xhci of dmesg are:

[   26.101696] xhci_hcd 0000:05:00.0: Resetting
[   27.561391] xhci_hcd 0000:05:00.0: xHCI Host Controller
[   27.561401] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 3
[   27.566757] xhci_hcd 0000:05:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x00000090
[   27.567186] usb usb3: Manufacturer: Linux 4.15.7-1-ARCH xhci-hcd
[   27.567555] xhci_hcd 0000:05:00.0: xHCI Host Controller
[   27.567560] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 4
[   27.570278] usb usb4: Manufacturer: Linux 4.15.7-1-ARCH xhci-hcd
[   28.057677] xhci_hcd 0000:05:00.0: xHCI host controller not responding, assume dead
[   28.057732] xhci_hcd 0000:05:00.0: HC died; cleaning up
[   28.057849] xhci_hcd 0000:05:00.0: remove, state 1
[   28.065288] xhci_hcd 0000:05:00.0: USB bus 4 deregistered
[   28.065296] xhci_hcd 0000:05:00.0: remove, state 1
[   28.065672] xhci_hcd 0000:05:00.0: Host halt failed, -19
[   28.065682] xhci_hcd 0000:05:00.0: Host not accessible, reset failed.
[   28.066188] xhci_hcd 0000:05:00.0: USB bus 3 deregistered
Comment 7 RussianNeuroMancer 2018-03-17 04:23:14 UTC
> I am using tlp, but problem remains when disabling it. Not using powertop.

So your issue is different from mine, which is what I wanted to know.

About the rest: as I understand your issue is related to USB which is should be reported to usb subsystem mail-list, according to this: https://bugzilla.kernel.org/show_bug.cgi?id=196925#c2 

After sending e-mail check if it's appear here: https://www.spinics.net/lists/linux-usb/

Note You need to log in before you can comment on or make changes to this bug.