[Bug 1940004]

ske5074 1940004 at bugs.launchpad.net
Sat Sep 3 17:24:25 UTC 2022


I also have the issue.  Using Proxmox 7.2 (Debian Bullseye) with a
Lenovo M910q core-i7-7700T,  using two TPLink UE300 (RTL8153) USB to
1Gbe Ethernet adapters. Each one is stable in a lower USB slot. Swapping
the adapters does not change the behavior and only impacts the USB
device in the higher slot.  Changes to different ports without change.

Easily reproducible with the following commands.  Basically I'm trying
to plumb bond0 again,  which works initially, I get the xhci_hcd
warning, and the link is down again.  System details are also below.

root at higgins:~# dmesg -C ; ifup -a ; ip link | grep enx ; \
> dmesg -H ; dmesg -C ; sleep 70 ;                       \ 
> ip link | grep enx ; dmesg -H
3: enxd03745be5afc: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000
16: enx54af9786ab11: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000

[Sep 3 11:05] device enx54af9786ab11 entered promiscuous mode
[  +0.001236] bond0: (slave enx54af9786ab11): Enslaving as a backup interface with a down link
[  +0.006363] vmbr0: the hash_elasticity option has been deprecated and is always 16
[  +0.013972] r8152 2-4:1.0 enx54af9786ab11: Promiscuous mode enabled
[  +0.001344] r8152 2-4:1.0 enx54af9786ab11: carrier on

3: enxd03745be5afc: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000
17: enx54af9786ab11: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000

[Sep 3 11:05] bond0: (slave enx54af9786ab11): link status definitely up, 1000 Mbps full duplex
[Sep 3 11:06] usb 2-4: USB disconnect, device number 12
[  +0.001544] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[  +0.001435] bond0: (slave enx54af9786ab11): Releasing backup interface
[  +0.029081] device enx54af9786ab11 left promiscuous mode
[  +0.316190] usb 2-4: new SuperSpeed USB device number 13 using xhci_hcd
[  +0.022053] usb 2-4: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
[  +0.001297] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[  +0.001337] usb 2-4: Product: USB 10/100/1000 LAN
[  +0.001261] usb 2-4: Manufacturer: TP-Link
[  +0.001208] usb 2-4: SerialNumber: 000001
[  +0.137200] usb 2-4: reset SuperSpeed USB device number 13 using xhci_hcd
[  +0.049197] r8152 2-4:1.0: load rtl8153a-4 v2 02/07/20 successfully
[  +0.030905] r8152 2-4:1.0 eth0: v1.12.12
[  +0.007834] r8152 2-4:1.0 enx54af9786ab11: renamed from eth0
root at higgins:~#


-------
System Details
------- 


root at higgins:~# uname -a
Linux higgins 5.15.39-4-pve #1 SMP PVE 5.15.39-4 (Mon, 08 Aug 2022 15:11:15 +0200) x86_64 GNU/Linux

root at higgins:~# lspci -k -nn | grep -B2 xhci
00:14.0 USB controller [0c03]: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af]
        Subsystem: Lenovo 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [17aa:310b]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

root at higgins:~# lsusb -tv
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
        ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153]
    |__ Port 4: Dev 13, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
        ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153]
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub

root at higgins:~# modinfo r8152
filename:       /lib/modules/5.15.39-4-pve/kernel/drivers/net/usb/r8152.ko
version:        v1.12.12
license:        GPL
description:    Realtek RTL8152/RTL8153 Based USB Ethernet Adapters
author:         Realtek linux nic maintainers <nic_swsd at realtek.com>
firmware:       rtl_nic/rtl8156b-2.fw
firmware:       rtl_nic/rtl8156a-2.fw
firmware:       rtl_nic/rtl8153c-1.fw
firmware:       rtl_nic/rtl8153b-2.fw
firmware:       rtl_nic/rtl8153a-4.fw
firmware:       rtl_nic/rtl8153a-3.fw
firmware:       rtl_nic/rtl8153a-2.fw
srcversion:     9144C27A9617457A5BEE55E
alias:          usb:v2357p0601d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v2357p0601d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0955p09FFd*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0955p09FFd*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v13B1p0041d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v13B1p0041d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFpA387d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFpA387d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp721Ed*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp721Ed*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp7214d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp7214d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp720Cd*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp720Cd*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp7205d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp7205d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp3082d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp3082d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp3069d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp3069d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp3062d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp3062d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v17EFp304Fd*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v17EFp304Fd*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v04E8pA101d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v04E8pA101d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v045Ep0927d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v045Ep0927d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v045Ep07C6d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v045Ep07C6d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v045Ep07ABd*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v045Ep07ABd*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0BDAp8156d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0BDAp8156d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0BDAp8155d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0BDAp8155d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0BDAp8153d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0BDAp8153d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0BDAp8152d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0BDAp8152d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0BDAp8053d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0BDAp8053d*dc*dsc*dp*icFFisc*ip*in*
alias:          usb:v0BDAp8050d*dc*dsc*dp*ic02isc06ip00in*
alias:          usb:v0BDAp8050d*dc*dsc*dp*icFFisc*ip*in*
depends:        mii
retpoline:      Y
intree:         Y
name:           r8152
vermagic:       5.15.39-4-pve SMP mod_unload modversions

root at higgins:~# tail -1000 /var/log/messages | grep usb | grep 09:39
Sep  3 09:39:26 higgins kernel: [    1.547421] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
Sep  3 09:39:26 higgins kernel: [    1.547426] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep  3 09:39:26 higgins kernel: [    1.547429] usb usb1: Product: xHCI Host Controller
Sep  3 09:39:26 higgins kernel: [    1.547431] usb usb1: Manufacturer: Linux 5.15.39-4-pve xhci-hcd
Sep  3 09:39:26 higgins kernel: [    1.547434] usb usb1: SerialNumber: 0000:00:14.0
Sep  3 09:39:26 higgins kernel: [    1.549759] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
Sep  3 09:39:26 higgins kernel: [    1.549763] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep  3 09:39:26 higgins kernel: [    1.549766] usb usb2: Product: xHCI Host Controller
Sep  3 09:39:26 higgins kernel: [    1.549769] usb usb2: Manufacturer: Linux 5.15.39-4-pve xhci-hcd
Sep  3 09:39:26 higgins kernel: [    1.549771] usb usb2: SerialNumber: 0000:00:14.0
Sep  3 09:39:26 higgins kernel: [    1.551090] usb: port power management may be unreliable
Sep  3 09:39:26 higgins kernel: [    1.889622] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
Sep  3 09:39:26 higgins kernel: [    1.912268] usb 2-1: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
Sep  3 09:39:26 higgins kernel: [    1.912273] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Sep  3 09:39:26 higgins kernel: [    1.912276] usb 2-1: Product: USB 10/100/1000 LAN
Sep  3 09:39:26 higgins kernel: [    1.912278] usb 2-1: Manufacturer: TP-LINK
Sep  3 09:39:26 higgins kernel: [    1.912280] usb 2-1: SerialNumber: 000001000000
Sep  3 09:39:26 higgins kernel: [    2.045666] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
Sep  3 09:39:26 higgins kernel: [    2.068477] usb 2-4: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00
Sep  3 09:39:26 higgins kernel: [    2.068498] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Sep  3 09:39:26 higgins kernel: [    2.068514] usb 2-4: Product: USB 10/100/1000 LAN
Sep  3 09:39:26 higgins kernel: [    2.068525] usb 2-4: Manufacturer: TP-Link
Sep  3 09:39:26 higgins kernel: [    2.068535] usb 2-4: SerialNumber: 000001
Sep  3 09:39:26 higgins kernel: [    4.110138] usbcore: registered new interface driver r8152
Sep  3 09:39:26 higgins kernel: [    4.198806] usbcore: registered new interface driver cdc_ether
Sep  3 09:39:26 higgins kernel: [    4.282161] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Sep  3 09:39:26 higgins kernel: [    4.429911] usb 2-4: reset SuperSpeed USB device number 3 using xhci_hcd

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1940004

Title:
  xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect
  slot or ep state

Status in Linux:
  Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid

Bug description:
  Recently my external USB drive enclosure stops working after a bit of
  IO activity (copy jobs etc.). This wasn't the case not too long ago. I
  use this enclosure as an archive backup and plug it every month or so.

  Import to note that this issue is/was being tracked here: https://bugzilla.kernel.org/show_bug.cgi?id=202541 and a few patches have been suggested. I have a dell XPS 7590 laptop and according to comment
  195 patch in comment # 176 fixes the issue.

  $ uname -a
  Linux kambuntu 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

  $ dmesg -T
  [Sun Aug 15 10:47:19 2021] usb 2-2: new SuperSpeed Gen 1 USB device number 10 using xhci_hcd
  [Sun Aug 15 10:47:19 2021] usb 2-2: New USB device found, idVendor=152d, idProduct=0539, bcdDevice= 1.00
  [Sun Aug 15 10:47:19 2021] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
  [Sun Aug 15 10:47:19 2021] usb 2-2: Product: USB to ATA/ATAPI Bridge
  [Sun Aug 15 10:47:19 2021] usb 2-2: Manufacturer: JMicron
  [Sun Aug 15 10:47:19 2021] usb 2-2: SerialNumber: DCC10435415F
  [Sun Aug 15 10:47:19 2021] usb-storage 2-2:1.0: USB Mass Storage device detected
  [Sun Aug 15 10:47:19 2021] usb-storage 2-2:1.0: Quirks match for vid 152d pid 0539: 4000000
  [Sun Aug 15 10:47:19 2021] scsi host4: usb-storage 2-2:1.0
  [Sun Aug 15 10:47:20 2021] scsi 4:0:0:0: Direct-Access     WDC WD30 EFRX-68AX9N0          PQ: 0 ANSI: 5
  [Sun Aug 15 10:47:20 2021] scsi 4:0:0:1: Direct-Access     WDC WD30 EFRX-68AX9N0          PQ: 0 ANSI: 5
  [Sun Aug 15 10:47:20 2021] scsi 4:0:0:2: Direct-Access     WDC WD30 EFRX-68AX9N0          PQ: 0 ANSI: 5
  [Sun Aug 15 10:47:20 2021] scsi 4:0:0:3: Direct-Access     WDC WD30 EFRX-68AX9N0          PQ: 0 ANSI: 5
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: Attached scsi generic sg1 type 0
  [Sun Aug 15 10:47:20 2021] scsi 4:0:0:1: Attached scsi generic sg2 type 0
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: Attached scsi generic sg3 type 0
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:1: [sdc] Very big device. Trying to use READ CAPACITY(16).
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: Attached scsi generic sg4 type 0
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: [sdb] Write Protect is off
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: [sdb] Mode Sense: 28 00 00 00
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:1: [sdc] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: [sdb] No Caching mode page found
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:0: [sdb] Assuming drive cache: write through
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:1: [sdc] Write Protect is off
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:1: [sdc] Mode Sense: 28 00 00 00
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: [sdd] Very big device. Trying to use READ CAPACITY(16).
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:1: [sdc] No Caching mode page found
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:1: [sdc] Assuming drive cache: write through
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: [sde] Very big device. Trying to use READ CAPACITY(16).
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: [sde] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: [sde] Write Protect is off
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: [sde] Mode Sense: 28 00 00 00
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: [sde] No Caching mode page found
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:3: [sde] Assuming drive cache: write through
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: [sdd] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: [sdd] Write Protect is off
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: [sdd] Mode Sense: 28 00 00 00
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: [sdd] No Caching mode page found
  [Sun Aug 15 10:47:20 2021] sd 4:0:0:2: [sdd] Assuming drive cache: write through
  [Sun Aug 15 10:47:22 2021]  sdc: sdc1
  [Sun Aug 15 10:47:22 2021]  sde: sde1
  [Sun Aug 15 10:47:22 2021]  sdb: sdb1
  [Sun Aug 15 10:47:22 2021]  sdd: sdd1
  [Sun Aug 15 10:47:22 2021] sd 4:0:0:1: [sdc] Attached SCSI disk
  [Sun Aug 15 10:47:22 2021] sd 4:0:0:3: [sde] Attached SCSI disk
  [Sun Aug 15 10:47:22 2021] sd 4:0:0:0: [sdb] Attached SCSI disk
  [Sun Aug 15 10:47:22 2021] sd 4:0:0:2: [sdd] Attached SCSI disk
  [Sun Aug 15 11:00:35 2021] usb 2-2: USB disconnect, device number 10

  [Sun Aug 15 11:00:35 2021] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr
  cmd failed due to incorrect slot or ep state.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.36
  ProcVersionSignature: Ubuntu 5.11.0-25.27~20.04.1-generic 5.11.22
  Uname: Linux 5.11.0-25-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: KDE
  Date: Sun Aug 15 11:30:57 2021
  InstallationDate: Installed on 2021-03-26 (142 days ago)
  InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list