Opened 2 years ago

Last modified 3 months ago

#17749 new bug

[USB tethering] Nokia 8 / Android 9

Reported by: jessicah Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/USB/XHCI Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

It's not quite the same as #17747 or #17746. Partial log (attached image has more):

usb hub 2: port 0: new device connected
usb error hub 2: new device on a port that is already in use
usb xhci 0: cancel queued transfers (0) for pipe ... (0)
usb xhci 0: transfer error on slot 12 endpoint 3: Length invalid
TRB ... was not found in the endpoint!

Attachments (1)

IMG_20220520_130619.jpg (2.1 MB ) - added by jessicah 2 years ago.
grep syslog for usb

Change History (6)

by jessicah, 2 years ago

Attachment: IMG_20220520_130619.jpg added

grep syslog for usb

comment:1 by waddlesplash, 2 years ago

This is more probably an XHCI bug somehow. Please post a full syslog. Although, when I've run into this problem in the past, I don't recall having much luck solving it ... I might be able to walk you through some potential changes I suppose.

comment:2 by waddlesplash, 2 years ago

Errors should be resolved in hrev56123.

comment:3 by jessicah, 23 months ago

Component: Drivers/Network/usb_rndisDrivers/USB/XHCI
Owner: changed from pulkomandy to waddlesplash
Version: R1/beta3R1/Development

Reclassifying as XHCI for now, as the only errors are from XHCI in syslog.

Current logs as of hrev56177:

KERN: hda: widgets: KERN: 2 KERN: 3 KERN: 4 KERN: 5 
KERN: hda: sample size 4, num channels 2, buffer length 6144
KERN: hda: hda_stream_setup_buffers: setup stream 2: SR=96000, SF=32 F=0x841 (0x1000)
KERN: hda: hda_stream_setup_buffers(Recording): Allocated 98304 bytes for 2 buffers
KERN: hda: hda_stream_setup_buffers(Recording): Allocated 4096 bytes for 2 BDLEs
KERN: hda: stream: 2 fifo size: 768 num_io_widgets: 2
KERN: hda: widgets: KERN: 7 KERN: 9 
KERN: hda_stream_start() offset 80
KERN: hda_stream_start() offset 0
KERN: acpi_als: als_notify_handler event 0x80
Last message repeated 2 times
KERN: Last message repeated 4 times.
KERN: Last message repeated 2 times.
KERN: Last message repeated 3 times.
KERN: usb hub 2: port 9: new device connected
KERN: usb hub 2: port 9 was warm reset
KERN: usb_disk: device reports a lun count of 1
KERN: usb_disk: vendor_identification    "Linux   "
KERN: usb_disk: product_identification   "File-CD Gadget  "
KERN: usb_disk: product_revision_level   "0404"
KERN: usb_disk: got device name "Linux File-CD Gadget 0404": No error
KERN: usb hub 2: port 9: new device connected
KERN: usb error hub 2: new device on a port that is already in use
KERN: usb hub 2: port 9 link state changed
KERN: usb_disk: device reports a lun count of 1
KERN: usb_disk: vendor_identification    "Linux   "
KERN: usb_disk: product_identification   "File-CD Gadget  "
KERN: usb_disk: product_revision_level   "0404"
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f069b80 (0)
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f4f09d8 (1)
KERN: usb xhci 0: transfer error on slot 7 endpoint 3: Length invalid
KERN: usb error xhci 0: TRB 0x2702f220 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f4f0988 (1)
KERN: usb xhci 0: transfer error on slot 7 endpoint 2: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x2702f110 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9ed9f008 (2)
KERN: usb xhci 0: transfer error on slot 7 endpoint 5: Length invalid
KERN: usb error xhci 0: TRB 0x2702f440 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f49ae80 (3)
KERN: usb xhci 0: transfer error on slot 7 endpoint 7: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x2702f720 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f4951a8 (2)
KERN: usb xhci 0: transfer error on slot 7 endpoint 4: Length invalid
KERN: usb error xhci 0: TRB 0x2702f350 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f069b80 (0)
Last message repeated 1 time
KERN: usb_disk: got device name "Linux File-CD Gadget 0404": No error
KERN: usb hub 2: port 9: device removed
KERN: usb hub 2: port 9 link state changed
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f067380 (0)
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f062740 (1)
KERN: usb xhci 0: transfer error on slot 8 endpoint 3: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x29751220 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f062830 (1)
KERN: usb xhci 0: transfer error on slot 8 endpoint 2: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x29751110 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f062880 (2)
KERN: usb xhci 0: transfer error on slot 8 endpoint 5: Length invalid
KERN: usb error xhci 0: TRB 0x29751440 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f495bf8 (3)
KERN: usb xhci 0: transfer error on slot 8 endpoint 7: Length invalid
KERN: usb error xhci 0: TRB 0x29751720 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f49ae30 (2)
KERN: usb xhci 0: transfer error on slot 8 endpoint 4: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x29751350 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f067380 (0)
KERN: usb xhci 0: KERN: cancel queued transfers (0) for pipe 0xffffffff9f067380 (0)
KERN: usb hub 2: port 9: new device connected
KERN: usb hub 2: port 9 link state changed
KERN: usb hub 2: port 9: new device connected
KERN: usb_disk: device reports a lun count of 1
KERN: usb_disk: vendor_identification    "Linux   "
KERN: usb_disk: product_identification   "File-CD Gadget  "
KERN: usb_disk: product_revision_level   "0404"
KERN: usb_disk: got device name "Linux File-CD Gadget 0404": No error
KERN: usb xhci 0: transfer error on slot 9 endpoint 4: USB transaction
KERN: usb_disk: sending the command block wrapper failed: Device check-sum error
KERN: usb xhci 0: transfer error on slot 9 endpoint 1: USB transaction
KERN: usb hub 2: port 9: new device connected
KERN: usb error hub 2: new device on a port that is already in use
KERN: usb hub 2: port 9 link state changed
KERN: usb xhci 0: cancel queued transfers (1) for pipe 0xffffffff9f06a080 (0)
KERN: usb error xhci 0: KERN: cancel queued transfers: halted endpoint, reset!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f4f0bb8 (1)
KERN: usb xhci 0: transfer error on slot 9 endpoint 3: Length invalid
KERN: usb error xhci 0: TRB 0x2702f220 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f062740 (1)
KERN: usb xhci 0: transfer error on slot 9 endpoint 2: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x2702f110 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f4f09d8 (2)
KERN: usb xhci 0: transfer error on slot 9 endpoint 5: Length invalid
KERN: usb error xhci 0: TRB 0x2702f440 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f4f0ca8 (3)
KERN: usb xhci 0: transfer error on slot 9 endpoint 7: Length invalid
KERN: usb error xhci 0: KERN: TRB 0x2702f740 was not found in the endpoint!
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f49a2f0 (2)
KERN: usb xhci 0: cancel queued transfers (0) for pipe 0xffffffff9f06a080 (0)

comment:4 by waddlesplash, 12 months ago

Can you please run listusb -v with this device in tethering mode, and attach the output (for the device in question, no need to copy all the other devices' information) as .txt to this ticket?

comment:5 by waddlesplash, 3 months ago

Please retest after hrev57519.

Note: See TracTickets for help on using tickets.