Opened 17 months ago
Closed 10 months ago
#18497 closed bug (fixed)
usb_audio results in confused XHCI driver
Reported by: | pulkomandy | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | Drivers/Audio/USB | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #10521 | |
Platform: | All |
Description
Trying to use usb_audio with my docking station USB audio device results in high CPU usage, lots of syslog data, and no sound:
kern: usb error xhci 0: KERN: TRB 0x1568790 was not found in the endpoint! KERN: usb xhci 0: transfer error on slot 9 endpoint 3: Missed service KERN: usb xhci 0: KERN: transfer error on slot 9 endpoint 3: Ring overrun KERN: usb error xhci 0: KERN: TRB 0x1568300 was not found in the endpoint! KERN: usb xhci 0: transfer error on slot 9 endpoint 3: Missed service KERN: usb xhci 0: KERN: transfer error on slot 9 endpoint 3: Ring overrun KERN: usb error xhci 0: KERN: TRB 0x1568320 was not found in the endpoint! KERN: usb xhci 0: KERN: transfer error on slot 9 endpoint 8: Missed service KERN: usb xhci 0: KERN: transfer error on slot 9 endpoint 8: Ring underrun KERN: usb error xhci 0: KERN: TRB 0x15687b0 was not found in the endpoint!
This seems to repeat over and over, with high spikes of CPU usage from xhci and syslog threads every few seconds.
Change History (4)
comment:1 by , 17 months ago
Blocking: | 10521 added |
---|
comment:2 by , 17 months ago
comment:3 by , 17 months ago
listusb for the device:
[Device /dev/bus/usb/0/3/1] Class .................. 0x00 (Defined at Interface level) () Subclass ............... 0x00 (Defined at Interface level) () Protocol ............... 0x00 (Defined at Interface level) () Max Endpoint 0 Packet .. 64 USB Version ............ 2.0 Vendor ID .............. 0x04c5 (Fujitsu, Ltd) Product ID ............. 0x1570 Product Version ........ 0x0007 Manufacturer String .... "Generic" Product String ......... "USB Audio" Serial Number .......... "201405280001" [Configuration 0] Configuration String . "USB Audio" [Interface 0] [Alternate 0 active] Class .............. 0x01 Audio () Subclass ........... 0x01 Audio (Control Device) Protocol ........... 0x00 Audio (Control Device) Interface String ... "Realtek USB2.0 Audio" [Endpoint 0] MaxPacketSize .... 16 Interval ......... 8 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type .............. 0x24 Subtype ........... 0x01 (Header) ADC Release ....... 1.0 Total Length ...... 93 Interfaces ........ 1, 2, [Descriptor 1] Type .............. 0x24 Subtype ........... 0x02 (Input Terminal) Terminal ID ....... 1 Terminal Type ..... 0x0201 (Microphone) Associated Terminal 0 Nr Channels ....... 2 Channel Config .... 0x3 Front .......... Left Right Channel Names ..... 0 Terminal .......... 0 [Descriptor 2] Type .............. 0x24 Subtype ........... 0x06 (Feature Unit) Unit ID ........... 3 Source ID ......... 1 Control Size ...... 2 Master Channel . Mute Channel 1 ...... Volume Channel 2 ...... Volume Feature ........... 0 [Descriptor 3] Type .............. 0x24 Subtype ........... 0x03 (Output Terminal) Terminal ID ....... 2 Terminal Type ..... 0x0101 (USB Streaming) Associated Terminal 1 Source ID ......... 4 Terminal .......... 0 [Descriptor 4] Type .............. 0x24 Subtype ........... 0x08 (Associate Interface) Interface ......... 4 Data .............. 08 04 da 0b 01 03 02 03 00 00 01 01 00 [Descriptor 5] Type .............. 0x24 Subtype ........... 0x02 (Input Terminal) Terminal ID ....... 14 Terminal Type ..... 0x0101 (USB Streaming) Associated Terminal 0 Nr Channels ....... 2 Channel Config .... 0x3 Front .......... Left Right Channel Names ..... 0 Terminal .......... 0 [Descriptor 6] Type .............. 0x24 Subtype ........... 0x03 (Output Terminal) Terminal ID ....... 15 Terminal Type ..... 0x0302 (Headphones) Associated Terminal 14 Source ID ......... 16 Terminal .......... 0 [Descriptor 7] Type .............. 0x24 Subtype ........... 0x06 (Feature Unit) Unit ID ........... 16 Source ID ......... 14 Control Size ...... 2 Master Channel . Mute Channel 1 ...... Volume Channel 2 ...... Volume Feature ........... 0 [Interface 1] [Alternate 0 active] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "Microphone" [Alternate 1] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 228 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 44100, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 2] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 342 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 44100, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 3] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 248 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 48000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 4] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 372 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 48000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 5] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 496 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 96000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 6] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 744 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 96000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 7] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 996 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 192000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 8] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 2792 Interval ......... 4 Type ............. Isochronous Direction ........ Input [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 2 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 192000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Interface 2] [Alternate 0 active] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "Headphone" [Alternate 1] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 228 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 44100, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 2] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 342 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 44100, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 3] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 248 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 48000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 4] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 372 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 48000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 5] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 496 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 96000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 6] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 744 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 96000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 7] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 996 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 2 Bit resolution .... 16 Sampling Freq ..... 192000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Alternate 8] Class .............. 0x01 Audio () Subclass ........... 0x02 Audio (Streaming) Protocol ........... 0x00 Audio (Streaming) Interface String ... "" [Endpoint 0] MaxPacketSize .... 2792 Interval ......... 4 Type ............. Isochronous Direction ........ Output [Descriptor 0] Subtype ........... 1 (AS_GENERAL) Terminal link ..... 14 Delay ............. 1 Format tag ........ 1 [Descriptor 1] Subtype ........... 2 (FORMAT_TYPE) Format Type ....... 1 (FORMAT_TYPE_I) Channels .......... 2 Subframe size ..... 3 Bit resolution .... 24 Sampling Freq ..... 192000, [Descriptor 2] Type .............. 0x25 (CS_ENDPOINT) Subtype ........... 0x01 (EP_GENERAL) Attributes ........ 0x01 Sampling Frequency Lock Delay Units .. 0 (Undefined) Lock Delay ........ 0 [Interface 3] [Alternate 0 active] Class .............. 0x03 Human Interface Device (No Subclass, None) Subclass ........... 0x00 Human Interface Device (No Subclass, None) Protocol ........... 0x00 Human Interface Device (No Subclass, None) Interface String ... "" [Endpoint 0] MaxPacketSize .... 16 Interval ......... 4 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type ............. 0x21 Data ............. 11 01 00 01 22 30 00
comment:4 by , 10 months ago
Milestone: | Unscheduled → R1/beta5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
These errors no longer cause syslog/CPU spikes or other problems, but are properly reported to the driver as of hrev57556.
Note:
See TracTickets
for help on using tickets.
Missed service / Ring underrun means not enough isochronous data was supplied, I am pretty sure.