Continuous reset of USB device with new USB chip "[AMD] Device 43b9" / AMD X370 chipset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

After switching to AMD X370 chipset, my USB cardreader doesn't work any more. It's continuously reseted:

...
Sep 09 19:12:10 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep 09 19:12:11 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep 09 19:12:11 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep 09 19:12:12 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep 09 19:12:12 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
...

Tested with Linux 4.9, 4.11, 4.13.


# lspci -vs 0000:03:00.0
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43b9 (rev 02) (prog-if 30 [XHCI])
        Subsystem: ASMedia Technology Inc. Device 1142
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at fe4a0000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Capabilities: [78] Power Management version 3
        Capabilities: [80] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [200] #19
        Capabilities: [300] Latency Tolerance Reporting
        Capabilities: [400] L1 PM Substates
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

This is:
03:00.0 0c03: 1022:43b9 (rev 02) (prog-if 30 [XHCI])
        Subsystem: 1b21:1142

The cardreader is:

Bus 001 Device 002: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x0151 Mass Storage Device (Multicard Reader)
  bcdDevice           51.95
  iManufacturer           1 Generic
  iProduct                2 USB2.0-CRW
  iSerial                 3 20060413092100000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 CARD READER
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              5 Bulk-In, Bulk-Out, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)


Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.13
  iManufacturer           3 Linux 4.13.0-2.1-default xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:03:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts            14
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x44 0x06
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
   Port 11: 0000.0100 power
   Port 12: 0000.0100 power
   Port 13: 0000.0100 power
   Port 14: 0000.0503 highspeed power enable connect
Device Status:     0x0001
  Self Powered


Before X370 chipset, the cardreader was detected like this during boot:

Mar  6 17:32:33 dualc kernel: usb 5-4: New USB device found, idVendor=0bda, idProduct=0151
Mar  6 17:32:33 dualc kernel: usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar  6 17:32:33 dualc kernel: usb 5-4: Product: USB2.0-CRW
Mar  6 17:32:33 dualc kernel: usb 5-4: Manufacturer: Generic
Mar  6 17:32:33 dualc kernel: usb 5-4: SerialNumber: 20060413092100000
Mar  6 17:32:33 dualc kernel: usb-storage 5-4:1.0: USB Mass Storage device detected
Mar  6 17:32:33 dualc kernel: scsi host7: usb-storage 5-4:1.0
Mar  6 17:32:34 dualc kernel: scsi 7:0:0:0: Direct-Access     Generic- Compact Flash    1.00 PQ: 0 ANSI: 0 CCS
Mar  6 17:32:34 dualc kernel: sd 7:0:0:0: Attached scsi generic sg5 type 0
Mar  6 17:32:34 dualc kernel: scsi 7:0:0:1: Direct-Access     Generic- SM/xD-Picture    1.00 PQ: 0 ANSI: 0 CCS
Mar  6 17:32:34 dualc kernel: sd 7:0:0:1: Attached scsi generic sg6 type 0
Mar  6 17:32:34 dualc kernel: scsi 7:0:0:2: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0 CCS
Mar  6 17:32:34 dualc kernel: sd 7:0:0:2: Attached scsi generic sg7 type 0
Mar  6 17:32:34 dualc kernel: scsi 7:0:0:3: Direct-Access     Generic- MS/MS-Pro        1.00 PQ: 0 ANSI: 0 CCS
Mar  6 17:32:34 dualc kernel: sd 7:0:0:3: Attached scsi generic sg8 type 0
Mar  6 17:32:34 dualc kernel: sd 7:0:0:0: [sde] Attached SCSI removable disk
Mar  6 17:32:34 dualc kernel: sd 7:0:0:1: [sdf] Attached SCSI removable disk
Mar  6 17:32:34 dualc kernel: sd 7:0:0:2: [sdg] Attached SCSI removable disk
Mar  6 17:32:34 dualc kernel: sd 7:0:0:3: [sdh] Attached SCSI removable disk


Now it's detected like this - continuously interrupted by reset messages (I removed most of them):

Sep  9 19:11:39 ryzen kernel: usb 1-14: New USB device found, idVendor=0bda, idProduct=0151
Sep  9 19:11:39 ryzen kernel: usb 1-14: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep  9 19:11:39 ryzen kernel: usb 1-14: Product: USB2.0-CRW
Sep  9 19:11:39 ryzen kernel: usb 1-14: Manufacturer: Generic
Sep  9 19:11:39 ryzen kernel: usb 1-14: SerialNumber: 20060413092100000
Sep  9 19:11:39 ryzen kernel: usb-storage 1-14:1.0: USB Mass Storage device detected
Sep  9 19:11:39 ryzen kernel: scsi host10: usb-storage 1-14:1.0
Sep  9 19:11:40 ryzen kernel: scsi 10:0:0:0: Direct-Access     Generic- Compact Flash    1.00 PQ: 0 ANSI: 0 CCS
Sep  9 19:11:40 ryzen kernel: sd 10:0:0:0: Attached scsi generic sg4 type 0
Sep  9 19:11:40 ryzen kernel: scsi 10:0:0:1: Direct-Access     Generic- SM/xD-Picture    1.00 PQ: 0 ANSI: 0 CCS
Sep  9 19:11:40 ryzen kernel: sd 10:0:0:1: Attached scsi generic sg5 type 0
Sep  9 19:11:40 ryzen kernel: scsi 10:0:0:2: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0 CCS
Sep  9 19:11:40 ryzen kernel: sd 10:0:0:2: Attached scsi generic sg6 type 0
Sep  9 19:11:40 ryzen kernel: scsi 10:0:0:3: Direct-Access     Generic- MS/MS-Pro        1.00 PQ: 0 ANSI: 0 CCS
Sep  9 19:11:40 ryzen kernel: sd 10:0:0:3: Attached scsi generic sg7 type 0
Sep  9 19:11:49 ryzen kernel: sd 10:0:0:1: [sdf] 0 512-byte logical blocks: (0 B/0 B)
Sep  9 19:11:49 ryzen kernel: sd 10:0:0:1: [sdf] 0-byte physical blocks
Sep  9 19:11:51 ryzen kernel: sd 10:0:0:1: [sdf] Test WP failed, assume Write Enabled
Sep  9 19:11:51 ryzen kernel: sd 10:0:0:1: [sdf] Asking for cache data failed
Sep  9 19:11:51 ryzen kernel: sd 10:0:0:1: [sdf] Assuming drive cache: write through
Sep  9 19:12:16 ryzen kernel: sd 10:0:0:0: [sde] Attached SCSI removable disk
Sep  9 19:12:30 ryzen kernel: sd 10:0:0:1: [sdf] Attached SCSI removable disk
Sep  9 19:12:40 ryzen systemd-udevd[475]: seq 2226 '/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-14/1-14:1.0/host10/target10:0:0/10:0:0:0/block/sde' is taking a long time
Sep  9 19:12:40 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep  9 19:12:41 ryzen systemd-udevd[475]: seq 2245 '/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-14/1-14:1.0/host10/target10:0:0/10:0:0:2/block/sdg' is taking a long time
Sep  9 19:12:41 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep  9 19:12:46 ryzen kernel[1867]: Last message 'usb 1-14: reset high' repeated 11 times, suppressed by syslog-ng on ryzen
Sep  9 19:12:46 ryzen systemd-udevd[475]: seq 2247 '/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-14/1-14:1.0/host10/target10:0:0/10:0:0:3/block/sdh' is taking a long time
Sep  9 19:12:46 ryzen kernel: usb 1-14: reset high-speed USB device number 2 using xhci_hcd
Sep  9 19:12:52 ryzen kernel[1867]: Last message 'usb 1-14: reset high' repeated 14 times, suppressed by syslog-ng on ryzen
Sep  9 19:12:52 ryzen systemd-udevd[475]: seq 2250 '/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-14/1-14:1.0/host10/target10:0:0/10:0:0:1/block/sdf' is taking a long time


I would be glad to get it working again! Any idea how to fix it?


Thanks,
kind regards,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux