Skip to content

[CHT] suspend-resume fails due to unrelated USB error #431

Closed

Description

@plbossart

Need to filter this out to pass tests.

===========================>>
[ 7702.164446] hub 2-2:1.0: hub_ext_port_status failed (err = -71)
[ 7702.502167] usb 2-2: Failed to suspend device, error -19
<<===========================

Activity

  1. marc-hb commented on Oct 13, 2020

    @marc-hb
    Collaborator

    Thanks, can you be more specific than "CHT"?

    Also: is this a recent kernel regression?

  2. plbossart commented on Oct 13, 2020

    @plbossart
    MemberAuthor

    This is a no-name el-cheapo headless device, the only details I have are from the DMI string:
    ZOTAC-XXXXXX-XX-CherryTrailFFD
    not very useful, it it?

    I have no idea if this USB issue is recent or not, there are a series of issues with sof-test that prevented the tests to run until now. This was the last problem I found, now all tests pass.

  3. mengdonglin commented on Oct 13, 2020

    @mengdonglin
    Contributor

    @RuiqingX can you please fix this issue?

  4. marc-hb commented on Oct 14, 2020

    @marc-hb
    Collaborator

    PR #432 already submitted

  5. keqiaozhang commented on Jan 27, 2021

    @keqiaozhang
    Contributor

    This issue happened again on CML_HEL_RT5682 in case check-suspend-resume-50.sh, in CI daily test ID1828 on 2021-01-26:

    2021-01-26 23:37:15 UTC [ERROR] Caught kernel log error
    ===========================>>
    [  328.786055] kernel: hub 2-2:1.0: hub_ext_port_status failed (err = -71)
    [  328.792931] kernel: hub 2-2:1.0: hub_ext_port_status failed (err = -71)
    <<===========================
    2021-01-26 23:37:15 UTC Sub-Test: [REMOTE_ERROR] Starting func_exit_handler(), exit status=1, FUNCNAME stack:
    
  6. 3 remaining items

  7. aiChaoSONG commented on Jan 27, 2021

    @aiChaoSONG

    I think this is related to USB hub or card devices, because we never see this in PRC.

  8. marc-hb commented on Jan 28, 2021

    @marc-hb
    Collaborator

    This issue happened again on CML_HEL_RT5682 in case check-suspend-resume-50.sh, in CI daily test ID1828 on 2021-01-26:

    What happened there is actually a cascade of 3 USB errors and the one above is the second one. In general it's not worth looking past the first error.

    Before this USB error, there was another, previous USB failure two test earlier during the check-kmod-load-unload.sh audio test. I think it's already reported in another bug, maybe #567?

    kernel: [ 7296.822125] usb 1-2.4: Device not responding to setup address.
    kernel: [ 7297.030744] usb 1-2.4: device not accepting address 7, error -71
    kernel: [ 7297.031055] usb 1-2-port4: attempt power cycle
    kernel: [ 7297.658487] rt5682 i2c-10EC5682:00: Using default DAI clk names: rt5682-dai-wclk, rt5682-dai-bclk
    kernel: [ 7297.658831] usb 1-2.4: new full-speed USB device number 8 using xhci_hcd
    kernel: [ 7297.671781] usb 1-2.4: device descriptor read/8, error -32
    kernel: [ 7297.787267] usb 1-2.4: device descriptor read/all, error -32
    kernel: [ 7297.877766] usb 1-2.4: new full-speed USB device number 9 using xhci_hcd
    kernel: [ 7297.877975] usb 1-2.4: Device not responding to setup address.
    kernel: [ 7298.101181] usb 1-2.4: device descriptor read/8, error -32
    kernel: [ 7298.220439] usb 1-2.4: device descriptor read/8, error -32
    kernel: [ 7298.328195] usb 1-2-port4: unable to enumerate USB device
    

    After this one there was a 3rd error with the USB network adapter in the same, suspend-resume test:

    kernel: [  329.133194] Restarting tasks ... done.
    kernel: [  329.139537] PM: suspend exit
    kernel: [  329.495434] usb 2-2: USB disconnect, device number 2
    kernel: [  329.495443] usb 2-2.3: USB disconnect, device number 3
    kernel: [  329.495831] ax88179_178a 2-2.3:1.0 enx000ec66a7f60: unregister 'ax88179_178a' usb-0000:00:14.0-2.3, ASIX AX88179 USB 3.0 Gigabit Ethernet
    kernel: [  329.495886] ax88179_178a 2-2.3:1.0 enx000ec66a7f60: Failed to read reg index 0x0002: -19
    kernel: [  329.495891] ax88179_178a 2-2.3:1.0 enx000ec66a7f60: Failed to write reg index 0x0002: -19
    kernel: [  329.510496] ax88179_178a 2-2.3:1.0 enx000ec66a7f60 (unregistered): Failed to write reg index 0x0002: -19
    kernel: [  329.510512] ax88179_178a 2-2.3:1.0 enx000ec66a7f60 (unregistered): Failed to write reg index 0x0001: -19
    kernel: [  329.510520] ax88179_178a 2-2.3:1.0 enx000ec66a7f60 (unregistered): Failed to write reg index 0x0002: -19
    

    Using unreliable USB devices seems like a total waste of time. How many more ignore_str until we understand this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2Critical bugs or normal featuresarea:non-audio FailureFalse positives: failing when we don't want totype:bugSomething doesn't work as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions