Thunderbolt 3 NIC driver is loaded too early and won't establish connection

Bug #1949790 reported by Sebastian Heiden
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am using a Thunderbolt 3 Pro Dock with a built in Aquantia 10 GBase-T NIC (atlantic).

The issue is that during boot it only detects the interface as 5 GBe, as seen in dmesg:
enp11s0: atlantic: link change old 0 new 5000

This prevents the interface from establishing a connection. With Ubuntu 21.04 and previous versions this issue didn't exist.

I found a couple workarounds for this problem:
1. Enable Thunderbolt Security (User Authorization or Secure Connect) in the BIOS. This prevents the computer from suspending however, so this workaround isn't feasible.
2. Run sudo rmmod atlantic && modprobe atlantic and the NIC will connect at 10 GBe without issues as seen below:
atlantic 0000:0b:00.0 enp11s0: atlantic: link change old 0 new 10000

From the obervations above, I draw the conclusion that the module gets loaded too early with Thunderbolt Security disabled and should happen at a later point in time.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-image-5.13.0-20-generic 5.13.0-20.20
ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
Uname: Linux 5.13.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: spyfly 3576 F.... pulseaudio
 /dev/snd/pcmC2D0p: spyfly 3576 F...m pulseaudio
 /dev/snd/controlC1: spyfly 3576 F.... pulseaudio
 /dev/snd/controlC0: spyfly 3576 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 4 15:47:34 2021
HibernationDevice: RESUME=none
InstallationDate: Installed on 2021-10-19 (15 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Daily amd64 (20211006)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_qbynho@/vmlinuz-5.13.0-20-generic root=ZFS=rpool/ROOT/ubuntu_qbynho ro quiet splash vt.handoff=1
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-20-generic N/A
 linux-backports-modules-5.13.0-20-generic N/A
 linux-firmware 1.201.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/11/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P3.20
dmi.board.name: X570 Phantom Gaming-ITX/TB3
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP3.20:bd08/11/2021:br5.17:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:rvnASRock:rnX570PhantomGaming-ITX/TB3:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Sebastian Heiden (seb-heiden) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.