LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-03-2021, 03:58 PM   #1
bgii2000
LQ Newbie
 
Registered: Oct 2019
Posts: 19

Rep: Reputation: Disabled
Question How to roll back kernel driver for xhci-hcd


I have a VIA VL805 4 port USB PCIe card that works fine in the latest Linux Mint, but not in the latest Debian.

Using
Code:
sudo lsusb -v
I can see in In both cases linux is loading the default xhci-hcd driver that ships with the kernel, no funny business there. The only difference I can see is that Mint is using Linux 5.4.0-89-generic, whereas Debian is using Linux 5.10.0-9-amd64.

In Mint, the card works fine, in Debian dmseg shows:

Code:
xhci_hcd 0000:06:00.0: xHCI host controller not responding, assume dead
Is there any way to tell Debian to boot with an older kernel, or even better, just the xhci-hcd part of the older kernel?
 
Old 11-04-2021, 01:27 AM   #2
bgii2000
LQ Newbie
 
Registered: Oct 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Ok, I built a custom kernel (oldconfig on the one that came with bullseye) but based on the 5.4 source rather than the 5.10. The card works again. But is this... the right way to do this? Haven't I broken a bunch of stuff?
 
Old 11-04-2021, 01:44 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,345

Rep: Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989
Quote:
Originally Posted by bgii2000 View Post
Ok, I built a custom kernel (oldconfig on the one that came with bullseye) but based on the 5.4 source rather than the 5.10. The card works again. But is this... the right way to do this? Haven't I broken a bunch of stuff?
Without details hard to say anything. It looks like the driver is broken in 5.10 and you need to report it or check if it was already (or will be) fixed.
 
Old 11-04-2021, 05:20 PM   #4
bgii2000
LQ Newbie
 
Registered: Oct 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
That would my first time doing so. But I would love to learn. Can you point the way? Where do I submit a bug report? What version of the kernel should I submit it to(for?)? What should I bring with me?

I KnowNothingJonSnow but I get the idea that there is a... 'maintainer' somewhere whose attention I need to acquire. Is that... USB? Via? Xhci?

Last edited by bgii2000; 11-04-2021 at 05:22 PM.
 
Old 11-06-2021, 03:34 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,345

Rep: Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989Reputation: 7989
I would probably start here: https://kernelnewbies.org/ or https://bugzilla.kernel.org/
 
Old 11-06-2021, 11:37 AM   #6
bgii2000
LQ Newbie
 
Registered: Oct 2019
Posts: 19

Original Poster
Rep: Reputation: Disabled
Excellent. Thanks.
 
Old 11-06-2021, 01:02 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,613

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
Quote:
Originally Posted by bgii2000 View Post
That would my first time doing so. But I would love to learn. Can you point the way? Where do I submit a bug report? What version of the kernel should I submit it to(for?)? What should I bring with me?

I KnowNothingJonSnow but I get the idea that there is a... 'maintainer' somewhere whose attention I need to acquire. Is that... USB? Via? Xhci?
If you go through the bug reporting interface on kernel.org, it gets to the relevant guy. Before you file the bug, get yourself the most recent stable linus kernel release, and report the bug on that; you can mention which earlier version you first found it on.

You're needed because you have hardware that shows the bug they can't see. So you need to test & feed back on all patches. It helps to have a thick skin, because it will probably be needed . You're expected to do the work required, which can be imposing.

EDIT: About 20 years back, I had a bug on what transpired to be an early version of a VIA chip, and they changed the chip hardware without informing their own devs The work on that was imposing.

Last edited by business_kid; 11-06-2021 at 01:07 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xhci-hcd / USB3 issues with new motherboard coralfang Slackware 2 05-06-2018 09:10 AM
USB devices cannot be read or enumerated with xhci-hcd psitae Linux - Newbie 5 02-12-2016 08:37 PM
LXer: Roll up, roll up, Microsoft's rolled up dozens of OS fixes LXer Syndicated Linux News 0 11-22-2014 05:33 PM
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration