Bug 2218929

Summary: Network device on Thundebolt 4 Dock does not work when PCIe tunneling is enabled in BIOS
Product: [Fedora] Fedora Reporter: Martin Tessun <mtessun>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, jbilling, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:17:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Boot messaged from PCIe tunneling=yes+ none

Description Martin Tessun 2023-06-30 15:27:47 UTC
Created attachment 1973420 [details]
Boot messaged from PCIe tunneling=yes+

1. Please describe the problem:
When using a TB4 dock from Lenovo with a Network device that device crashes in case the TB4 dock is attached with "PCIe tunneling : Yes" in the BIOS.
If you do not enable this, the network device is instead identified as a usbnet and works.

2. What is the Version-Release number of the kernel:
6.3.8-200.fc38.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

Probably is there longer - did not test with older kernels and the device itself is new.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

- Use a TB4 (40B0) dock from Lenovo and attach to a T14s laptop with "PCIe tunneling" set to yes in the BIOS
- boot the system with the network cable attached to the docks network port
- The network port crashes shortly after the boot.


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Not tested.

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No. (I think) this is a CSB.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Attached - let me know if you need a boot with no PCIe tunneling enabled.

Comment 2 Aoife Moloney 2024-05-28 13:17:38 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.