Skip to content

[BUG] etrace sometimes empty on BDW and BYT #5385

Closed

Description

@marc-hb

The shared memory "etrace" is sometimes empty on BDW and BYT

This makes the sof-logger test fails like this:

[REMOTE_ERROR] Initial FW ABI banner not found in sof-test/logs/check-sof-logger/2021-___/logger.etrace.txt

Initializing the DMA trace earlier reproduces this 100% of the time: #4334. Plenty of examples there.

In theory the DMA trace and etrace should be independent from each other. But in practice, theory and practice are different.

While much much rarer, it can also happen WITHOUT the #4334 code change, examples:

https://sof-ci.01.org/sofpr/PR5019/build11260/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4808/build10525/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4787/build10401/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4777/build10384/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger
https://sof-ci.01.org/sofpr/PR4724/build10447/devicetest/?model=BDW_WSB_RT286&testcase=check-sof-logger

In daily run 7315?model=BDW_WSB_RT286&testcase=check-sof-logger

From vague memories of the code the DMA hardware seems very different on BDW and BYT.

References:

Activity

  1. added
    bugSomething isn't working as expected
    P3Low-impact bugs or features
    on Feb 17, 2022
  2. marc-hb commented on Mar 9, 2022

    @marc-hb
    CollaboratorAuthor

    etrace empty on CML this time! Daily test 10714?model=CML_SKU0955_HDA_ZEPHYR&testcase=check-sof-logger

    Start Time: 2022-03-03 22:27:30 UTC
    End Time: 2022-03-04 02:34:58 UTC
    Kernel Branch: topic/sof-dev
    Kernel Commit: 2528d9538dfd
    SOF Branch: main
    SOF Commit: 9709ef81dcb8
    Zephyr Commit: 7e9e99379679

  3. added
    won't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
    on Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-impact bugs or featuresbugSomething isn't working as expectedwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions