Re: Dell WD19TB Thunderbolt Dock not working with kernel > 6.6.28-1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/7/2024 12:21, Christian Heusel wrote:
On 24/10/07 06:49PM, Fabian Stäber wrote:
Hi,

Hey Fabian,

sorry for the delay, I ran git bisect, here's the output. If you need
any additional info please let me know.

3c1d704d9266741fc5a9a0a287a5c6b72ddbea55 is the first bad commit
commit 3c1d704d9266741fc5a9a0a287a5c6b72ddbea55 (HEAD)
Author: Sanath S <Sanath.S@xxxxxxx>
Date:   Sat Jan 13 10:52:48 2024

     thunderbolt: Reset topology created by the boot firmware

     commit 59a54c5f3dbde00b8ad30aef27fe35b1fe07bf5c upstream.

So there is a commit c67f926ec870 ("thunderbolt: Reset only non-USB4
host routers in resume") that carries a fixes tag for the commit that
you have bisected to. The commits should both be in v6.6.29 and onwards,
so in the same release that's causing you problems. Maybe the fix is
incomplete or has a missing dependency 🤔

You mean mainline commit 8cf9926c537c ("thunderbolt: Reset only non-USB4 host routers in resume").


     [...]
     Suggested-by: Mario Limonciello <mario.limonciello@xxxxxxx>
     Signed-off-by: Sanath S <Sanath.S@xxxxxxx>
     Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
     Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

I have added Mika, Mario and Sanath to the recipients, maybe they have
inputs on what would be useful debugging output.

In the meantime maybe also test if the issue is present with the latest
stable kernel ("linux" in the Arch packages) and with the latest release
candidate (you can find a precompiled version [here][0].

To double confirm, does thunderbolt.host_reset=0 on the kernel command line help your issue? Based on the bisect I would expect it should help. Yes; comments on both 6.6.y as well as 6.12-rc2 would be ideal.

Also assuming it helps can you please post your dmesg from 6.12-rc2 both with thunderbolt.host_reset=0 and without? A github gist or a new kernel bugzilla are good places to post it.


Cheers,
Chris

[0]: https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.12rc2-1-x86_64.pkg.tar.zst


  drivers/thunderbolt/domain.c |  5 +++--
  drivers/thunderbolt/icm.c    |  2 +-
  drivers/thunderbolt/nhi.c    | 19 +++++++++++++------
  drivers/thunderbolt/tb.c     | 26 +++++++++++++++++++-------
  drivers/thunderbolt/tb.h     |  4 ++--
  5 files changed, 38 insertions(+), 18 deletions(-)

On Tue, Sep 24, 2024 at 8:58 AM Fabian Stäber <fabian@xxxxxxxx> wrote:

Hi Greg,

I can reproduce the issue with the upstream Linux kernel: I compiled
6.6.28 and 6.6.29 from source: 6.6.28 works, 6.6.29 doesn't.

I'll learn how to do 'git bisect' to narrow it down to the offending commit.

The non-lts kernel is also broken.

Fabian

On Mon, Sep 23, 2024 at 8:45 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

On Mon, Sep 23, 2024 at 08:34:23AM +0200, Fabian Stäber wrote:
Hi,

Adding the linux-usb list.

I got a Dell WD19TBS Thunderbolt Dock, and it has been working with
Linux for years without issues. However, updating to
linux-lts-6.6.29-1 or newer breaks the USB ports on my Dock. Using the
latest non-LTS kernel doesn't help, it also breaks the USB ports.

Downgrading the kernel to linux-lts-6.6.28-1 works. This is the last
working version.

I opened a thread on the Arch Linux forum
https://bbs.archlinux.org/viewtopic.php?id=299604 with some dmesg
output. However, it sounds like this is a regression in the Linux
kernel, so I'm posting this here as well.

Let me know if you need any more info.

Is there any way you can use 'git bisect' to test inbetween kernel
versions/commits to find the offending change?

Does the non-lts arch kernel work properly?

thanks,

greg k-h






[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux