Occurred today on KDE Neon, while plugging the TB4 dock. This started
happening after the recent updates, so was working fine reboot today.

[ 7556.301991] usb 3-5.1: Product: ThinkPad Thunderbolt 4 Dock MCU Contoller
[ 7556.301992] usb 3-5.1: Manufacturer: Lenovo
[ 7556.301993] usb 3-5.1: SerialNumber: 0123456789ABCDEF
[ 7556.309244] hid-generic 0003:17EF:30B4.0010: hiddev2,hidraw7: USB HID v1.11 
Device [Lenovo ThinkPad Thunderbolt 4 Dock MCU Contoller] on 
usb-0000:00:14.0-5.1/input0
[ 7556.981411] igc 0000:49:00.0 enp73s0: NIC Link is Up 1000 Mbps Full Duplex, 
Flow Control: RX/TX
[ 7556.981648] IPv6: ADDRCONF(NETDEV_CHANGE): enp73s0: link becomes ready
[ 7557.130669] igc 0000:49:00.0 enp73s0: PCIe link lost, device now detached
[ 7557.130677] ------------[ cut here ]------------
[ 7557.130678] igc: Failed to read reg 0xc030!
[ 7557.130690] WARNING: CPU: 13 PID: 1735 at 
drivers/net/ethernet/intel/igc/igc_main.c:6412 igc_rd32+0xaf/0xc0 [igc]
[ 7557.130701] Modules linked in: igc ccm rfcomm xt_conntrack nft_chain_nat 
xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 
nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype br_netfilter bridge stp llc 
vboxnetadp(O) vboxnetflt(O) vboxdrv(O) xt_comment nft_compat nf_tables 
nfnetlink cmac algif_hash algif_skcipher af_alg overlay bnep binfmt_misc 
dm_crypt nvidia_uvm(PO) nvidia_drm(PO) nvidia_modeset(PO) intel_tcc_cooling 
x86_pkg_temp_thermal intel_powerclamp coretemp snd_ctl_led snd_soc_skl_hda_dsp 
kvm_intel snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes kvm 
nvidia(PO) irqbypass snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic 
snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci 
snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core 
snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_soc_core snd_compress 
ac97_bus nls_iso8859_1
[ 7557.130735]  snd_hda_codec_hdmi snd_pcm_dmaengine rapl iwlmvm btusb 
snd_hda_intel btrtl snd_intel_dspcfg btbcm snd_usb_audio mac80211 
snd_intel_sdw_acpi btintel uvcvideo snd_usbmidi_lib snd_hda_codec btmtk 
videobuf2_vmalloc snd_seq_midi libarc4 mei_hdcp 
processor_thermal_device_pci_legacy mei_pxp snd_seq_midi_event videobuf2_memops 
cmdlinepart snd_hda_core bluetooth intel_rapl_msr processor_thermal_device 
snd_rawmidi snd_seq iwlwifi videobuf2_v4l2 spi_nor snd_hwdep think_lmi 
processor_thermal_rfim thinkpad_acpi ecdh_generic snd_seq_device intel_cstate 
serio_raw videodev snd_pcm joydev mtd firmware_attributes_class input_leds 
videobuf2_common cfg80211 processor_thermal_mbox wmi_bmof ee1004 nvram mc ecc 
snd_timer mei_me processor_thermal_rapl mei snd intel_rapl_common ledtrig_audio 
soundcore intel_soc_dts_iosf int3403_thermal int3400_thermal platform_profile 
intel_hid int340x_thermal_zone acpi_thermal_rel mac_hid acpi_pad acpi_tad 
sparse_keymap sch_fq_codel vcan can_dev msr parport_
 pc
[ 7557.130769]  ppdev lp parport efi_pstore ip_tables x_tables autofs4 btrfs 
blake2b_generic xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj 
hid_generic usbhid hid i915 drm_buddy i2c_algo_bit ttm drm_display_helper cec 
rc_core crct10dif_pclmul crc32_pclmul drm_kms_helper polyval_clmulni 
syscopyarea polyval_generic sysfillrect ghash_clmulni_intel sha512_ssse3 
aesni_intel sysimgblt nvme crypto_simd ucsi_acpi rtsx_pci_sdmmc i2c_i801 drm 
xhci_pci nvme_core cryptd psmouse spi_intel_pci typec_ucsi spi_intel 
thunderbolt i2c_smbus rtsx_pci xhci_pci_renesas nvme_common video typec wmi 
pinctrl_tigerlake [last unloaded: igc]
[ 7557.130793] CPU: 13 PID: 1735 Comm: pulsesecure Tainted: P        W  O       
6.2.0-33-generic #33~22.04.1-Ubuntu
[ 7557.130795] Hardware name: LENOVO 20YRS21300/20YRS21300, BIOS N37ET46W (1.27 
) 07/12/2023
[ 7557.130795] RIP: 0010:igc_rd32+0xaf/0xc0 [igc]
[ 7557.130801] Code: bc ff ff ff ff 5b 44 89 e0 41 5c 41 5d 41 5e 5d 31 d2 31 
f6 31 ff c3 cc cc cc cc 44 89 ee 48 c7 c7 f8 85 38 c0 e8 01 56 57 e3 <0f> 0b e9 
74 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[ 7557.130803] RSP: 0018:ffff9f5982d035b0 EFLAGS: 00010246
[ 7557.130804] RAX: 0000000000000000 RBX: ffff90add0bf8c60 RCX: 0000000000000000
[ 7557.130806] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 7557.130806] RBP: ffff9f5982d035d0 R08: 0000000000000000 R09: 0000000000000000
[ 7557.130807] R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff
[ 7557.130808] R13: 000000000000c030 R14: ffff90add0bf8000 R15: ffff90ac4313cd80
[ 7557.130809] FS:  00007f2b2a3ff640(0000) GS:ffff90b76f740000(0000) 
knlGS:0000000000000000
[ 7557.130810] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7557.130811] CR2: 000029bc0067b0a0 CR3: 000000010e072001 CR4: 0000000000770ee0
[ 7557.130812] PKRU: 55555554
[ 7557.130812] Call Trace:
[ 7557.130813]  <TASK>
[ 7557.130815]  ? show_regs+0x72/0x90
[ 7557.130818]  ? igc_rd32+0xaf/0xc0 [igc]
[ 7557.130823]  ? __warn+0x8d/0x160
[ 7557.130826]  ? igc_rd32+0xaf/0xc0 [igc]
[ 7557.130831]  ? report_bug+0x1bb/0x1d0
[ 7557.130834]  ? handle_bug+0x46/0x90
[ 7557.130837]  ? exc_invalid_op+0x19/0x80
[ 7557.130839]  ? asm_exc_invalid_op+0x1b/0x20
[ 7557.130841]  ? igc_rd32+0xaf/0xc0 [igc]
[ 7557.130845]  igc_update_stats+0xa5/0x750 [igc]
[ 7557.130850]  igc_get_stats64+0x95/0xa0 [igc]
[ 7557.130854]  dev_get_stats+0x69/0x160
[ 7557.130857]  rtnl_fill_stats+0x40/0x140
[ 7557.130859]  rtnl_fill_ifinfo+0x83c/0x1140
[ 7557.130860]  ? __nla_validate_parse+0x4b/0x1f0
[ 7557.130863]  rtnl_dump_ifinfo+0x5c9/0x760
[ 7557.130864]  ? rtnl_dump_ifinfo+0x5c9/0x760
[ 7557.130868]  ? __alloc_skb+0xef/0x1d0
[ 7557.130870]  netlink_dump+0x1c7/0x360
[ 7557.130873]  netlink_recvmsg+0x215/0x310
[ 7557.130875]  sock_recvmsg+0x85/0x90
[ 7557.130878]  ____sys_recvmsg+0x98/0x1c0
[ 7557.130880]  ? import_iovec+0x1b/0x30
[ 7557.130883]  ? copy_msghdr_from_user+0x71/0xc0
[ 7557.130884]  ___sys_recvmsg+0x7c/0xe0
[ 7557.130886]  ? import_iovec+0x1b/0x30
[ 7557.130887]  ? copy_msghdr_from_user+0x71/0xc0
[ 7557.130888]  ? __fget_light+0xb5/0x160
[ 7557.130890]  __sys_recvmsg+0x62/0xc0
[ 7557.130892]  __x64_sys_recvmsg+0x1d/0x30
[ 7557.130893]  do_syscall_64+0x59/0x90
[ 7557.130895]  ? __sys_recvmsg+0xa6/0xc0
[ 7557.130896]  ? exit_to_user_mode_prepare+0x3b/0xd0
[ 7557.130898]  ? syscall_exit_to_user_mode+0x38/0x60
[ 7557.130900]  ? do_syscall_64+0x69/0x90
[ 7557.130901]  ? do_syscall_64+0x69/0x90
[ 7557.130902]  ? do_syscall_64+0x69/0x90
[ 7557.130904]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ 7557.130905] RIP: 0033:0x7f2b2d52783f
[ 7557.130906] Code: 44 00 00 89 54 24 0c 48 89 34 24 89 7c 24 08 e8 c7 91 f6 
ff 8b 54 24 0c 48 8b 34 24 41 89 c0 8b 7c 24 08 b8 2f 00 00 00 0f 05 <48> 3d 00 
f0 ff ff 77 31 4c 63 e0 44 89 c7 e8 0e 92 f6 ff 48 83 c4
[ 7557.130907] RSP: 002b:00007f2b2a3fcd10 EFLAGS: 00000293 ORIG_RAX: 
000000000000002f
[ 7557.130908] RAX: ffffffffffffffda RBX: 00007f2b2a3fde80 RCX: 00007f2b2d52783f
[ 7557.130908] RDX: 0000000000000000 RSI: 00007f2b2a3fdd80 RDI: 000000000000000f
[ 7557.130909] RBP: 00007f2b2a3fde10 R08: 0000000000000000 R09: 00007f2b24002010
[ 7557.130910] R10: 0000000000000077 R11: 0000000000000293 R12: 00007f2b2a3fdd80
[ 7557.130910] R13: 00007f2b2a3fdd70 R14: 00007f2b2a3fdd64 R15: 0000000000000b18
[ 7557.130912]  </TASK>
[ 7557.130912] ---[ end trace 0000000000000000 ]---

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2029001

Title:
  igc ethernet driver: unplugging thunderbolt dock causes kernel OOPs

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I have a ThinkPad Thunderbolt 4 dock.

  When I unplug it from the laptop, I see this traceback in kernel logs:

  [407643.532144] igc 0000:79:00.0 enp121s0: PCIe link lost, device now detached
  [407643.532174] ------------[ cut here ]------------
  [407643.532179] igc: Failed to read reg 0x5b50!
  [407643.532367] WARNING: CPU: 4 PID: 598295 at 
drivers/net/ethernet/intel/igc/igc_main.c:6412 igc_rd32+0xa4/0xc0 [igc]
  [407643.532430] Modules linked in: tcp_diag inet_diag xt_nat 
nf_conntrack_netlink 8021q garp mrp veth nft_masq zfs(PO) zunicode(PO) zzstd(O) 
zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) vhost_vsock 
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xfrm_user xfrm_algo 
xt_addrtype ccm rfcomm snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE 
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat 
nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink cmac 
algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 snd_ctl_led 
snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi 
snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic 
snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci 
snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core 
snd_soc_acpi_intel_match snd_soc_acp
 i
  [407643.532614]  soundwire_bus snd_soc_core snd_compress ac97_bus 
snd_pcm_dmaengine intel_tcc_cooling iwlmvm x86_pkg_temp_thermal 
intel_powerclamp snd_hda_intel coretemp snd_intel_dspcfg mac80211 kvm_intel 
snd_intel_sdw_acpi btusb pmt_telemetry mei_pxp mei_hdcp btrtl intel_rapl_msr 
pmt_class libarc4 snd_hda_codec kvm snd_usb_audio uvcvideo snd_seq_midi btbcm 
snd_seq_midi_event snd_usbmidi_lib videobuf2_vmalloc snd_hda_core btintel 
videobuf2_memops snd_hwdep btmtk snd_rawmidi videobuf2_v4l2 irqbypass snd_seq 
iwlwifi bluetooth processor_thermal_device_pci videodev 
processor_thermal_device snd_pcm mei_me processor_thermal_rfim rapl 
snd_seq_device videobuf2_common think_lmi processor_thermal_mbox spi_nor 
thinkpad_acpi processor_thermal_rapl ucsi_acpi intel_cstate ecdh_generic 
firmware_attributes_class wmi_bmof typec_ucsi nvram cfg80211 mtd snd_timer mei 
ecc mc joydev intel_vsec intel_rapl_common igen6_edac typec snd soundcore 
nxp_nci_i2c ledtrig_audio int3403_thermal platform_profile n
 xp_nci
  [407643.532800]  int340x_thermal_zone nci nfc int3400_thermal intel_hid 
acpi_thermal_rel acpi_tad sparse_keymap acpi_pad input_leds hid_multitouch 
serio_raw mac_hid overlay iptable_filter ip6table_filter ip6_tables 
br_netfilter bridge stp llc arp_tables msr parport_pc ppdev lp parport 
efi_pstore dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic xor 
raid6_pq libcrc32c dm_crypt hid_lenovo usbhid i915 drm_buddy i2c_algo_bit ttm 
drm_display_helper cec rc_core drm_kms_helper syscopyarea hid_generic 
sysfillrect crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic 
ghash_clmulni_intel sha512_ssse3 aesni_intel nvme crypto_simd sysimgblt 
nvme_core psmouse cryptd drm e1000e igc thunderbolt spi_intel_pci 
intel_lpss_pci i2c_i801 spi_intel xhci_pci intel_lpss i2c_smbus idma64 
xhci_pci_renesas nvme_common i2c_hid_acpi i2c_hid video hid wmi 
pinctrl_tigerlake
  [407643.532992] CPU: 4 PID: 598295 Comm: kworker/4:7 Tainted: P           O   
    6.2.0-26-generic #26-Ubuntu
  [407643.533005] Hardware name: LENOVO 21AHCTO1WW/21AHCTO1WW, BIOS N3MET15W 
(1.14 ) 04/27/2023
  [407643.533012] Workqueue: events igc_watchdog_task [igc]
  [407643.533062] RIP: 0010:igc_rd32+0xa4/0xc0 [igc]
  [407643.533103] Code: c7 c6 d8 55 4c c0 e8 cb b9 71 e9 48 8b bb 28 ff ff ff 
e8 df 1b 23 e9 84 c0 74 b4 44 89 e6 48 c7 c7 00 56 4c c0 e8 6c 9a a3 e8 <0f> 0b 
eb a1 b8 ff ff ff ff 31 d2 31 f6 31 ff c3 cc cc cc cc 0f 1f
  [407643.533113] RSP: 0018:ffffa8da031d7c90 EFLAGS: 00010246
  [407643.533122] RAX: 0000000000000000 RBX: ffff9d99501b8c60 RCX: 
0000000000000000
  [407643.533129] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 
0000000000000000
  [407643.533133] RBP: ffffa8da031d7ca8 R08: 0000000000000000 R09: 
0000000000000000
  [407643.533138] R10: 0000000000000000 R11: 0000000000000000 R12: 
0000000000005b50
  [407643.533143] R13: ffff9d99501b8000 R14: 0000000000020002 R15: 
0000000000000002
  [407643.533149] FS:  0000000000000000(0000) GS:ffff9da36f500000(0000) 
knlGS:0000000000000000
  [407643.533156] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [407643.533162] CR2: 00000d3cd5265000 CR3: 0000000706210000 CR4: 
0000000000750ee0
  [407643.533170] PKRU: 55555554
  [407643.533174] Call Trace:
  [407643.533180]  <TASK>
  [407643.533190]  igc_get_hw_semaphore_i225+0x4e/0x190 [igc]
  [407643.533233]  igc_acquire_swfw_sync_i225+0x5e/0xd0 [igc]
  [407643.533267]  igc_acquire_phy_base+0x14/0x30 [igc]
  [407643.533302]  igc_read_phy_reg_gpy+0x34/0xf0 [igc]
  [407643.533341]  igc_phy_has_link+0x94/0x170 [igc]
  [407643.533377]  igc_check_for_copper_link+0x98/0x160 [igc]
  [407643.533412]  igc_has_link+0x40/0xb0 [igc]
  [407643.533445]  igc_watchdog_task+0x44/0x570 [igc]
  [407643.533479]  process_one_work+0x222/0x430
  [407643.533493]  worker_thread+0x50/0x3e0
  [407643.533502]  ? __pfx_worker_thread+0x10/0x10
  [407643.533511]  kthread+0xe6/0x110
  [407643.533524]  ? __pfx_kthread+0x10/0x10
  [407643.533535]  ret_from_fork+0x29/0x50
  [407643.533547]  </TASK>
  [407643.533550] ---[ end trace 0000000000000000 ]---

  
  Note that the dock ethernet port was not in use when the dock was unplugged.

  I've seen this error multiple times on disconnect

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: linux-image-6.2.0-26-generic 6.2.0-26.26
  ProcVersionSignature: Ubuntu 6.2.0-26.26-generic 6.2.13
  Uname: Linux 6.2.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  Date: Sat Jul 29 13:13:19 2023
  InstallationDate: Installed on 2023-04-07 (112 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Daily amd64 (20230402)
  MachineType: LENOVO 21AHCTO1WW
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-26-generic 
root=UUID=77d67dcd-a70a-4ee7-be9d-00c2cf6248c2 ro rootflags=subvol=@ quiet 
splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-6.2.0-26-generic N/A
   linux-backports-modules-6.2.0-26-generic  N/A
   linux-firmware                            20230323.gitbcdcfbcf-0ubuntu1.2
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/27/2023
  dmi.bios.release: 1.14
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N3MET15W (1.14 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 21AHCTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.8
  dmi.modalias: 
dmi:bvnLENOVO:bvrN3MET15W(1.14):bd04/27/2023:br1.14:efr1.8:svnLENOVO:pn21AHCTO1WW:pvrThinkPadT14Gen3:rvnLENOVO:rn21AHCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21AH_BU_Think_FM_ThinkPadT14Gen3:
  dmi.product.family: ThinkPad T14 Gen 3
  dmi.product.name: 21AHCTO1WW
  dmi.product.sku: LENOVO_MT_21AH_BU_Think_FM_ThinkPad T14 Gen 3
  dmi.product.version: ThinkPad T14 Gen 3
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2029001/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to