Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
marc-hb opened this issue Feb 17, 2022 · 1 comment
Closed

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

marc-hb opened this issue Feb 17, 2022 · 1 comment
Labels
bug Something isn't working as expected P3 Low-impact bugs or features won't fix This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

Comments

@marc-hb
Copy link
Collaborator

marc-hb commented Feb 17, 2022

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:

@marc-hb marc-hb added the bug Something isn't working as expected label Feb 17, 2022
@marc-hb marc-hb added the P3 Low-impact bugs or features label Feb 17, 2022
@marc-hb
Copy link
Collaborator Author

marc-hb commented Mar 9, 2022

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

@plbossart plbossart added the won't fix This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc) label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected P3 Low-impact bugs or features won't fix This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
Projects
None yet
Development

No branches or pull requests

2 participants