Opened 3 years ago

Closed 19 months ago

#13062 closed bug (fixed)

USB3 - device does not enumerate

Reported by: pulkomandy Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/USB/XHCI Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

No devices connected to the USB3 port of my machine works. All I get is the following in the syslog:

KERN: usb hub 2: port 1: new device connected
KERN: usb error xhci -1: unsuccessful command Context state (19)
KERN: usb error xhci -1: KERN: unable to set address
KERN: usb error xhci -1: unsuccessful command Context state (19)
KERN: usb error xhci -1: KERN: unable to set address

The single USB2 port works as expected.

USB3 hardware:

device Serial bus controller (USB controller, XHCI) [c|3|30]
  vendor 104c: Texas Instruments
  device 8241: TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller

Change History (4)

comment:1 Changed 22 months ago by pulkomandy

This USB controller apparently has some documented hardware bugs: www.ti.com/lit/er/sllz076/sllz076.pdf

I don't know if they are related.

comment:2 Changed 22 months ago by pulkomandy

Log with tracing enabled:

KERN: usb xhci -1: Event Interrupt
KERN: usb xhci -1: KERN: event[17] = 34 (0x0000000001000000 0x01000000 0x00008801)
KERN: usb xhci -1: KERN: event[17] = 34 (0x0000000001000000 0x01000000 0x00008801)
KERN: usb xhci -1: KERN: port change detected
KERN: usb xhci -1: KERN: event[18] = 0 (0x0000000000000000 0x00000000 0x00000000)
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000206e1
KERN: usb xhci roothub: request: 1
KERN: usb xhci roothub: clear feature: 16
KERN: usb xhci -1: KERN: clear port feature index 0 feature 16
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: KERN: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 3
KERN: usb xhci roothub: set feature: 4
KERN: usb xhci -1: KERN: set port feature index 0 feature 4
KERN: usb xhci -1: usb xhci roothub: request: 0
KERN: usb xhci -1: Last message repeated 1 time
KERN: usb xhci -1: KERN: usb xhci roothub: request: 1
KERN: usb xhci roothub: clear feature: 20
KERN: usb xhci -1: Last message repeated 1 time
KERN: usb xhci -1: KERN: event[19] = 0 (0x0000000000000000 0x00000000 0x00000000)
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x00000603
KERN: usb xhci -1: AllocateDevice hubAddress 1 hubPort 1 speed 3
KERN: usb xhci -1: KERN: Enable Slot
KERN: usb xhci -1: command[9] = 9 (0x0000000000000000, 0x00000000, 0x00002400)
KERN: usb xhci -1: KERN: Ding Dong! slot:0 endpoint 0
KERN: usb xhci -1: Event Interrupt
KERN: usb xhci -1: event[19] = 33 (0x000000000aa1add0 0x01000000 0x05008401)
KERN: usb xhci -1: KERN: event[19] = 33 (0x000000000aa1add0 0x01000000 0x05008401)
KERN: usb xhci -1: KERN: Received command event
KERN: usb xhci -1: Last message repeated 1 time
KERN: usb xhci -1: KERN: Storing trb 0x01000000 0x05008401
KERN: usb xhci -1: KERN: speed updated 1
KERN: usb xhci -1: KERN: slot 0x08100000 0x00010000 0x00000000 0x00000000
KERN: usb xhci -1: KERN: endpoint 0x0 0x80026 0xb05f001 0x8
KERN: usb xhci -1: KERN: Set Address
KERN: usb xhci -1: KERN: command[10] = 11 (0x000000000aed4000, 0x00000000, 0x05002c00)
KERN: usb xhci -1: KERN: Ding Dong! slot:0 endpoint 0
KERN: usb xhci -1: Event Interrupt
KERN: usb xhci -1: event[20] = 33 (0x000000000aa1ade0 0x13000000 0x05008401)
KERN: usb xhci -1: KERN: event[20] = 33 (0x000000000aa1ade0 0x13000000 0x05008401)
KERN: usb xhci -1: KERN: Received command event
KERN: usb xhci -1: usb xhci -1: KERN: event[21] = 0 (0x0000000000000000 0x00000000 0x00000000)
KERN: usb error xhci -1: KERN: unsuccessful command Context state (19)
KERN: usb xhci -1: KERN: Storing trb 0x13000000 0x05008401
KERN: usb error xhci -1: KERN: unable to set address
KERN: usb xhci roothub: request: 1
KERN: usb xhci roothub: clear feature: 1
KERN: usb xhci -1: KERN: clear port feature index 0 feature 1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: KERN: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x000006e1
KERN: usb xhci roothub: request: 3
KERN: usb xhci roothub: set feature: 4
KERN: usb xhci -1: KERN: set port feature index 0 feature 4
KERN: usb xhci -1: Event Interrupt
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: usb xhci -1: KERN: event[21] = 34 (0x0000000001000000 0x01000000 0x00008801)
KERN: usb xhci -1: event[21] = 34 (0x0000000001000000 0x01000000 0x00008801)
KERN: usb xhci -1: KERN: port change detected
KERN: usb xhci roothub: request: 1
KERN: usb xhci -1: KERN: usb xhci roothub: clear feature: 20
KERN: usb xhci -1: clear port feature index 0 feature 20
KERN: usb xhci roothub: request: 0
KERN: usb xhci -1: port 0 status=0x00000603
KERN: usb xhci -1: KERN: AllocateDevice hubAddress 1 hubPort 1 speed 3
KERN: usb xhci -1: KERN: Enable Slot
KERN: usb xhci -1: KERN: command[11] = 9 (0x0000000000000000, 0x00000000, 0x00002400)
KERN: usb xhci -1: KERN: Ding Dong! slot:0 endpoint 0
KERN: usb xhci -1: Event Interrupt
KERN: usb xhci -1: event[22] = 33 (0x000000000aa1adf0 0x01000000 0x06008401)
KERN: usb xhci -1: KERN: event[22] = 33 (0x000000000aa1adf0 0x01000000 0x06008401)
KERN: usb xhci -1: KERN: Received command event
KERN: usb xhci -1: usb xhci -1: KERN: event[23] = 0 (0x0000000000000000 0x00000000 0x00000000)
KERN: usb xhci -1: KERN: Storing trb 0x01000000 0x06008401
KERN: usb xhci -1: speed updated 1
KERN: usb xhci -1: KERN: slot 0x08100000 0x00010000 0x00000000 0x00000000
KERN: usb xhci -1: KERN: endpoint 0x0 0x80026 0xb05f001 0x8
KERN: usb xhci -1: KERN: Set Address
KERN: usb xhci -1: KERN: command[12] = 11 (0x000000000aed4000, 0x00000000, 0x06002c00)
KERN: usb xhci -1: KERN: Ding Dong! slot:0 endpoint 0
KERN: usb xhci -1: Event Interrupt
KERN: usb xhci -1: event[23] = 33 (0x000000000aa1ae00 0x13000000 0x06008401)
KERN: usb xhci -1: KERN: event[23] = 33 (0x000000000aa1ae00 0x13000000 0x06008401)
KERN: usb xhci -1: KERN: Received command event
KERN: usb xhci -1: KERN: usb xhci -1: event[24] = 0 (0x0000000000000000 0x00000000 0x00000000)
KERN: usb error xhci -1: KERN: unsuccessful command Context state (19)
KERN: usb xhci -1: KERN: Storing trb 0x13000000 0x06008401
KERN: usb error xhci -1: KERN: unable to set address
KERN: usb xhci roothub: request: 1
KERN: usb xhci roothub: clear feature: 1
KERN: usb xhci -1: KERN: clear port feature index 0 feature 1

comment:3 Changed 22 months ago by korli

You could eventually check if FreeBSD/TrueOS works correctly with this controller. The install image should try to detect the xhci controller so no need to install to see if the xhci setup works better as ours.

comment:4 Changed 19 months ago by pulkomandy

Resolution: fixed
Status: newclosed

Works as of hrev51536.

Note: See TracTickets for help on using tickets.