Created attachment 907858 [details] dmesg, kernel config, lspci and lsmod for genkernel, ubuntu and distr kernel I'm not able to use the usb ports of my Dell WD19TB Thunderbolt Dock when using the distribution kernel. The dock seems to work fine with: - genkernel on another machine (see genkernel in attachement) - ubuntu booted from a usb drive (see ubuntu in the attachment) However using the distribution kernel does not work. There is a forum discussion with additional information: https://forums.gentoo.org/viewtopic-t-1171007-highlight-.html Please find in the attachment the relevant log and configuration files for all three systems (genkernel, distr kernel and ubuntu)
*** Bug 942882 has been marked as a duplicate of this bug. ***
Please attach a diff of the output of 'lspci -vv' and the .config from the working and not working kernels. The paste in your forums post has expired.
Created attachment 907893 [details, diff] output of diff genkernel_lspci distrkernel_lspci
Created attachment 907894 [details, diff] output of diff genkernel_config distrkernel_config
I added the diffs of both configs and lspci commands. Both are also included in the first attachment. I will upload the lspci diff tomorrow with the -vv flags when I'll have access to the dock again
Discussion on the -stable list: https://lore.kernel.org/stable/CAPX310gmJeYhE2C6-==rKSDh6wAmoR8R5-pjEOgYD3AP+Si+0w@mail.gmail.com/ The problematic commit has been found and will be reverted/fixed in mainline soon.
ah interesting, am I mistaken then that it works with genkernel?
(In reply to Hendrik Klug from comment #7) > ah interesting, am I mistaken then that it works with genkernel? It's a hardware-specific timing problem, so you might be seeing random behaviour. I don't have this hardware/propblem and only wanted to add the discussion link.
Created attachment 908005 [details, diff] output of diff genkernel_lspci distrkernel_lspci
(In reply to Holger Hoffstätte from comment #8) > (In reply to Hendrik Klug from comment #7) > > ah interesting, am I mistaken then that it works with genkernel? > > It's a hardware-specific timing problem, so you might be seeing random > behaviour. I don't have this hardware/propblem and only wanted to add the > discussion link. I see, probably my laptop running the distribution kernel has a different behaviour then. Looks like they put together a patch that fixes the issue, will try that out :)
I still have the issue even on sys-kernel/gentoo-kernel-6.12.9 Does someone have an idea how to debug this? Should I try to compile the kernel with random values for USB4_PORT_SB_DELAY in drivers/thunderbolt/usb4.c ?
Looks like my issue was completely unrelated to genkernel... Installing "sys-apps/bolt" and enrolling the device fixed the issue! I guess this can close then.