You are not logged in.

#1 2023-03-24 17:29:24

JohnnySSH
Member
Registered: 2013-05-04
Posts: 90

Lenovo P1 Gen5 USB port issues

Hi,

I am using the Lenovo 2.5Gb/s USB-C to ethernet dongle but I keep experiencing an issue where the USB ports stop working. I noticed this after a kernel upgrade I think from 5.9.x or 6.0.x to what I'm running now which is the 6.1.x branch LTS.

The other non-Thunderbolt based USB ports also have started working strangely too in that I cannot get my camera which is a Nikon D500 to be seen as a mass storage device as there seems to be some weird power reset going on with the USB-A ports.

This is the kernel stack trace:

[16986.568202] ------------[ cut here ]------------
[16986.568231] NETDEV WATCHDOG: enp86s0u1c2 (cdc_ncm): transmit queue 0 timed out
[16986.568267] WARNING: CPU: 5 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x20b/0x220
[16986.568293] Modules linked in: nfsv3 nfs_acl nfs lockd grace sunrpc fscache netfs ccm qrtr nvidia_drm(POE) nvidia_modeset(POE) vboxnetflt(OE) vboxnetadp(OE) snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel intel_tcc_cooling soundwire_generic_allocation soundwire_cadence x86_pkg_temp_thermal intel_powerclamp snd_sof_intel_hda vboxdrv(OE) coretemp snd_sof_pci snd_sof_xtensa_dsp snd_sof kvm_intel snd_sof_utils kvm snd_soc_hdac_hda irqbypass snd_hda_ext_core crct10dif_pclmul snd_soc_acpi_intel_match snd_ctl_led snd_soc_acpi nvidia_uvm(POE) crc32_pclmul uvcvideo crc32c_intel snd_hda_codec_realtek soundwire_bus videobuf2_vmalloc polyval_clmulni polyval_generic snd_soc_core gf128mul videobuf2_memops snd_hda_codec_generic snd_compress iTCO_wdt ghash_clmulni_intel joydev videobuf2_v4l2 processor_thermal_device_pci sha512_ssse3 ac97_bus videobuf2_common snd_hda_codec_hdmi mousedev iwlmvm snd_pcm_dmaengine aesni_intel videodev vfat snd_hda_intel cdc_mbim crypto_simd fat cryptd
[16986.568667]  snd_intel_dspcfg cdc_wdm intel_pmc_bxt mc pmt_telemetry processor_thermal_device snd_intel_sdw_acpi rapl hid_multitouch mei_wdt mei_hdcp mei_pxp iTCO_vendor_support intel_rapl_msr pmt_class nvidia(POE) mac80211 processor_thermal_rfim snd_hda_codec btusb intel_cstate processor_thermal_mbox cdc_ncm btrtl think_lmi nxp_nci_i2c btbcm intel_uncore psmouse pcspkr ucsi_acpi firmware_attributes_class wmi_bmof libarc4 btintel iwlwifi snd_hda_core cdc_ether typec_ucsi processor_thermal_rapl nxp_nci btmtk snd_hwdep intel_lpss_pci mei_me typec nci bluetooth i2c_i801 spi_nor usbnet intel_lpss snd_pcm i2c_hid_acpi mii mtd thunderbolt cfg80211 intel_rapl_common ecdh_generic int3403_thermal mtk_t7xx i2c_smbus mei intel_vsec snd_timer roles idma64 igen6_edac nfc int340x_thermal_zone i2c_hid crc16 acpi_pad int3400_thermal acpi_thermal_rel acpi_tad mac_hid crypto_user dm_mod fuse loop bpf_preload ip_tables x_tables jfs thinkpad_acpi ledtrig_audio rtsx_pci_sdmmc serio_raw platform_profile
[16986.569106]  atkbd snd soundcore mmc_core libps2 nvme rfkill vivaldi_fmap spi_intel_pci nvme_core xhci_pci video rtsx_pci spi_intel xhci_pci_renesas nvme_common i8042 serio wmi
[16986.569207] CPU: 5 PID: 0 Comm: swapper/5 Tainted: P           OE      6.1.21-1-lts #1 08d2e5ece03136efa7c6aeea9a9c40916b1bd8da
[16986.569224] Hardware name: LENOVO 21DCCTO1WW/21DCCTO1WW, BIOS N3JET30W (1.14 ) 01/03/2023
[16986.569232] RIP: 0010:dev_watchdog+0x20b/0x220
[16986.569246] Code: 00 e9 40 ff ff ff 48 89 df c6 05 3c 0a 5c 01 01 e8 8a 4f f9 ff 44 89 e9 48 89 de 48 c7 c7 08 5e b4 90 48 89 c2 e8 d5 15 69 ff <0f> 0b e9 22 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3
[16986.569257] RSP: 0018:ffffc23dc02cce88 EFLAGS: 00010282
[16986.569271] RAX: 0000000000000000 RBX: ffff9ca707210000 RCX: 000000000000083f
[16986.569281] RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
[16986.569288] RBP: ffff9ca7072104c8 R08: 0000000000000000 R09: ffffc23dc02ccd00
[16986.569296] R10: 0000000000000003 R11: ffffffff912cc7e8 R12: ffff9ca70721041c
[16986.569303] R13: 0000000000000000 R14: ffffffff8fe0c0c0 R15: ffff9ca7072104c8
[16986.569311] FS:  0000000000000000(0000) GS:ffff9cb63fd40000(0000) knlGS:0000000000000000
[16986.569321] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16986.569329] CR2: 0000397e0133d000 CR3: 000000033da10005 CR4: 0000000000770ee0
[16986.569339] PKRU: 55555554
[16986.569345] Call Trace:
[16986.569354]  <IRQ>
[16986.569369]  ? pfifo_fast_reset+0x140/0x140
[16986.569382]  call_timer_fn+0x24/0x130
[16986.569400]  __run_timers+0x21c/0x2a0
[16986.569419]  run_timer_softirq+0x1d/0x40
[16986.569433]  __do_softirq+0xd1/0x2c9
[16986.569449]  ? sched_clock_cpu+0xd/0xb0
[16986.569467]  __irq_exit_rcu+0xb7/0xe0
[16986.569484]  sysvec_apic_timer_interrupt+0x72/0x90
[16986.569501]  </IRQ>
[16986.569506]  <TASK>
[16986.569512]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[16986.569524] RIP: 0010:cpuidle_enter_state+0xe2/0x420
[16986.569542] Code: 00 00 31 ff e8 ff fc 7b ff 45 84 ff 74 16 9c 58 0f 1f 40 00 f6 c4 02 0f 85 25 03 00 00 31 ff e8 c4 b3 82 ff fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
[16986.569550] RSP: 0018:ffffc23dc017fe90 EFLAGS: 00000246
[16986.569566] RAX: ffff9cb63fd72e40 RBX: ffff9cb63fd7ea00 RCX: 0000000000000000
[16986.569575] RDX: 0000000000000005 RSI: fffffffa84ab489c RDI: 0000000000000000
[16986.569582] RBP: 0000000000000004 R08: 0000000000000000 R09: 000000002da97f6a
[16986.569589] R10: 0000000000000018 R11: 00000000000171a9 R12: ffffffff9134c920
[16986.569597] R13: 00000f72fe5c588d R14: 0000000000000004 R15: 0000000000000000
[16986.569614]  cpuidle_enter+0x2d/0x40
[16986.569629]  do_idle+0x1ed/0x270
[16986.569646]  cpu_startup_entry+0x1d/0x20
[16986.569661]  start_secondary+0x115/0x140
[16986.569678]  secondary_startup_64_no_verify+0xe5/0xeb
[16986.569700]  </TASK>
[16986.569706] ---[ end trace 0000000000000000 ]---
[16986.569732] xhci_hcd 0000:56:00.0: xHCI host controller not responding, assume dead
[16986.569775] xhci_hcd 0000:56:00.0: HC died; cleaning up
[16986.569875] usb 4-1: USB disconnect, device number 2
[16986.570000] cdc_ncm 4-1:2.0 enp86s0u1c2: unregister 'cdc_ncm' usb-0000:56:00.0-1, CDC NCM (NO ZLP)

Right now more importantly then my camera, the network dongle keeps getting kicked out of kernel which is what the stack trace above should be of meaning that I can't utilize the 1Gbs bandwidth but instead have to rely on 300Mbs N-draft from my now very old AP's.

Should I post this trace upstream I wonder to Kernel development?

Thanks.

Offline

Board footer

Powered by FluxBB