View previous topic :: View next topic |
Author |
Message |
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Tue Sep 24, 2024 7:34 am Post subject: Unable to use usb ports of Dell WD19TB Thunderbolt Dock |
|
|
Some time ago (I'm not exactly sure when it happened since I didn't have time to debug it) my laptop stopped being able to connect to the usb and ethernet ports of my Dell WD19TB Thunderbolt Dock.
The same dock works perfectly fine with an ubuntu machine.
I'm running the distribution kernel: 6.10.8-gentoo-dist
Does someone have any idea if I might be missing some kernel configuration ?
This is what shows up in dmesg:
Code: | [ 787.446815] usb 3-3: new high-speed USB device number 7 using xhci_hcd
[ 788.526589] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee
[ 789.342415] thunderbolt 0-3: new device found, vendor=0xd4 device=0xb070
[ 789.342429] thunderbolt 0-3: Dell WD19TB Thunderbolt Dock
|
|
|
Back to top |
|
|
druggo Guru
Joined: 24 Sep 2003 Posts: 318 Location: Hangzhou, China
|
Posted: Tue Sep 24, 2024 11:28 am Post subject: |
|
|
maybe its need CONFIG_USB4 ? _________________ HighWayToHell(blog)
https://blog.druggo.org/ |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Tue Sep 24, 2024 12:26 pm Post subject: |
|
|
should be enabled:
Code: |
grep CONFIG_USB4 /usr/src/linux/.config
CONFIG_USB4_NET=m
CONFIG_USB4=m
# CONFIG_USB4_DEBUGFS_WRITE is not set
# CONFIG_USB4_DMA_TEST is not set
|
|
|
Back to top |
|
|
druggo Guru
Joined: 24 Sep 2003 Posts: 318 Location: Hangzhou, China
|
Posted: Tue Sep 24, 2024 12:29 pm Post subject: |
|
|
since it works at Ubuntu, you can compare the modules on both sides, like
Code: | lsmod
lspci -k
dmesg |
_________________ HighWayToHell(blog)
https://blog.druggo.org/ |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Tue Sep 24, 2024 7:32 pm Post subject: |
|
|
comparing the output of lsmod, these are the modules that are on the ubuntu machine but not on mine:
Code: |
'usb_common', 'evdev', 'cryptd', 'intel_lpss', 'configfs', 'xhci_hcd', 'crc_t10dif', 'scsi_mod', 'jitterentropy_rng', 'rc_core', 'button', 't10_pi', 'nls_cp437', 'ext4', 'xhci_pci', 'scsi_common', 'nls_ascii', 'watchdog', 'intel_hid', 'snd_hrtimer', 'snd_seq_dummy', 'battery', 'ledtrig_audio', 'af_alg', 'ecdh_generic', 'drm', 'drbg', 'crct10dif_generic', 'hid_generic', 'acpi_tad', 'ac', 'jbd2', 'crct10dif_common', 'usbcore', 'aesni_intel', 'ecc', 'autofs4', 'algif_skcipher', 'intel_lpss_pci', 'usbhid', 'sha512_generic', 'parport_pc', 'loop', 'crypto_simd', 'crc16',
'crc64_rocksoft_generic', 'dm_crypt', 'snd_seq', 'msr', 'dm_mod', 'x_tables', 'hid', 'irqbypass', 'fan', 'crc32c_generic', 'ppdev', 'parport', 'qrtr', 'sd_mod', 'sparse_keymap', 'mbcache', 'asus_wmi', 'drm_kms_helper', 'ansi_cprng', 'crc64', 'ccm', 'crc64_rocksoft', 'algif_hash', 'snd_hda_codec_realtek', 'lp', 'ctr', 'efivarfs', 'efi_pstore', 'sg', 'platform_profile', 'ip_tables', 'roles', 'cmac'
|
not sure if any are related to this issue.
Will get the lspci output tomorrow. |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5106 Location: Bavaria
|
Posted: Wed Sep 25, 2024 6:48 pm Post subject: |
|
|
With Ubuntu you have two, with Gentoo only the first one:
Code: | 00:0d.2 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #0
Subsystem: Framework Computer Inc. Device 0003
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
00:0d.3 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #1
Subsystem: Framework Computer Inc. Device 0003
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt |
Is this an additional Renesas xHCI controller ? If yes, try to enable CONFIG_USB_XHCI_PCI_RENESAS _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Thu Sep 26, 2024 6:22 am Post subject: |
|
|
its the other way around, the gentoo machine has both, the ubuntu only the first one.
I couldn't find out which controller the framework13 has |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5106 Location: Bavaria
|
Posted: Thu Sep 26, 2024 11:42 am Post subject: |
|
|
Jimmy2027 wrote: | its the other way around, the gentoo machine has both, the ubuntu only the first one. [...] |
I'm sorry - sometimes I get very confused.
Normally our Gentoo dist-kernel contains everything needed. If it runs with Ubuntu and not with our dist-kernel, you could compare both configurations (completely) and check for differences. Especially: differences in the built-in options (=everything that is not configured as <M>odule). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Sat Oct 05, 2024 4:55 pm Post subject: |
|
|
Comparing Ubuntu's kernel to config-6.10.8-gentoo-dist gives me this: https://bpa.st/IM6YG
CONFIG_USB_NET_SR9800 is not set, maybe that could be an issue?
[*]CONFIG_USB_NET_DRIVERS is not built into the kernel but usbnet shows up is lsmod
[*]CONFIG_USB_XHCI_PCI is not built in, not sure what the corresponding module name is, xhci_pci does not show up in lsmod
[*]CONFIG_USB_HID not built into the kernel
[*]CONFIG_USB_U_ETHER not built into the kernel
[*]CONFIG_USB_MON not built into the kernel |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5106 Location: Bavaria
|
Posted: Sat Oct 05, 2024 6:06 pm Post subject: |
|
|
Jimmy2027,
thank you for the information. Maybe I have found the cause - maybe not (I can't test it as I don't have this device).
First I want to explain what I have checked: I did not check anything that is enabled as a module in Ubuntu, BECAUSE we would have seen that in the “lsmod” output of Ubuntu anyway. That's why I only looked at the options that Ubuntu has statically built into the kernel (and are missing in yours). There was only one that caught my eye: CONFIG_USB_DYNAMIC_MINORS=y
If I look at the help of the option “Dynamic USB minor allocation”, this could also explain why you only have ONE display in the lspci-k output under Ubuntu (with driver thunderbolt), and TWO in Gentoo =>
Quote: | If you say Y here, the USB subsystem will use dynamic minor allocation for any device that uses the USB major number. This means that you can have more than 16 of a single type of device |
I am very surprised that this option is not enabled by default in our Gentoo dist-kernel.
Another option you have and not in Ubuntu tells me that you use a kernel 6.9 or higher, and Ubuntu has a kernel 6.8 or lower (because this option was added in 6.9): CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1
This option is correct - dont worry about. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5106 Location: Bavaria
|
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Thu Oct 17, 2024 1:23 pm Post subject: |
|
|
Hi @pietinger, thanks a lot for your help!
I was away from the office so I couldn't try it out, but the kernel with Code: | CONFIG_USB_DYNAMIC_MINORS=y | is installed.
Hopefully I'll be able to test it tomorrow! |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Sat Oct 19, 2024 10:06 am Post subject: |
|
|
sadly still no luck, still unable to access the usb ports or ethernet :/ |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5106 Location: Bavaria
|
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Fri Oct 25, 2024 5:09 pm Post subject: |
|
|
could it be that something broke in newer kernels? I tried the docking station with an older installation (6.3.0-gentoo-x86_64) and there it works:
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5106 Location: Bavaria
|
Posted: Tue Oct 29, 2024 11:03 pm Post subject: |
|
|
Jimmy2027 wrote: | [...] I tried the docking station with an older installation (6.3.0-gentoo-x86_64) and there it works |
Hmmm ... this is a new information. So, it worked with our distribution-kernel-6.3.0 ? Did it also worked with 6.6.x (our current stable series) ?
In every case this is then worth a bug report on https://bugs.gentoo.org/ because this is a regression.
(Maybe link to this thread). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Jimmy2027 n00b
Joined: 12 May 2020 Posts: 47
|
Posted: Sat Nov 02, 2024 9:02 am Post subject: |
|
|
That machine is using the distribution kernel 6.3.0... I'll try to update it to 6.11.6 to see if that works.
Will open a bug report once I have more information. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|