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

Regression: sof-logger doesn't work with -t parameter #551

Closed
keqiaozhang opened this issue Nov 8, 2018 · 10 comments
Closed

Regression: sof-logger doesn't work with -t parameter #551

keqiaozhang opened this issue Nov 8, 2018 · 10 comments
Assignees
Labels
bug Something isn't working as expected GLK Applies to Gemini Lake platform P1 Blocker bugs or important features

Comments

@keqiaozhang
Copy link
Collaborator

keqiaozhang commented Nov 8, 2018

This is a firmware regression and it's caused by commit: 9af90ce
PR #530

error message:

chronos@localhost /root $ sudo ./sof-logger -l sof-apl.ldc -t
Password:
 CORE  LEVEL  COMP_ID        TIMESTAMP            DELTA                FILE_NAME        CONTENT
Error: Invalid filename length.
@keqiaozhang keqiaozhang added bug Something isn't working as expected APL Applies to Apollolake platform P1 Blocker bugs or important features br-master GLK Applies to Gemini Lake platform labels Nov 8, 2018
@keqiaozhang keqiaozhang changed the title sof-logger doesn sof-logger doesn't work with -t parameter Nov 8, 2018
@keqiaozhang keqiaozhang changed the title sof-logger doesn't work with -t parameter Regression: sof-logger doesn't work with -t parameter Nov 8, 2018
@akloniex akloniex assigned bkokoszx and unassigned akloniex Nov 8, 2018
@akloniex
Copy link
Member

akloniex commented Nov 8, 2018

@lgirdwood @bkokoszx @keqiaozhang
Issue is caused by misalignment between FW and sof-logger.
Expected to be solved as soon as thesofproject/soft#118 is merged and sof-logger rebuilt.

@mengdonglin
Copy link
Collaborator

@akloniex @lrgirdwo May we request any PR/commit with ABI change add keyword "ABI" in the subject to highlight the risk? And this PR should mention the soft PR in the body. Ideally, the SOFT update should be backward compatible and be merged at first before the SOF PR.

@ZhendanYang
Copy link

sof-logger doesn't work even without -t on CNL:

test@test-CannonLake:~$ sudo ./sof-logger -l sof-cnl.ldc-11.9
 CORE  LEVEL  COMP_ID        TIMESTAMP            DELTA                FILE_NAME	CONTENT
Error: Invalid filename length. 
test@test-CannonLake:~$ sudo ./sof-logger -l sof-cnl.ldc-11.9 -t
 CORE  LEVEL  COMP_ID        TIMESTAMP            DELTA                FILE_NAME	CONTENT
Error: Invalid filename length. 

@mengdonglin
Copy link
Collaborator

@bkokoszx Are all the PR low necessary to fix this issue? Anything missing?

SOFT: thesofproject/soft#118
FW part: #530
Linux part: thesofproject/linux#222

@bkokoszx
Copy link
Collaborator

bkokoszx commented Nov 9, 2018

@mengdonglin
Also FW PR I've made yesterday: #548

@bkokoszx
Copy link
Collaborator

bkokoszx commented Nov 9, 2018

@keqiaozhang
Could you verify if issue still reproduces?

@keqiaozhang
Copy link
Collaborator Author

@bkokoszx
Confirmed that this issue is fixed on UP^2.
For Yorp, there's one blocker issue with top sof-master :thesofproject/linux#277
so there's no trace log available, but the "Error: Invalid filename length." is gone.
@markyang
please help to confirm this issue on other platform. Thanks~

@markyang
Copy link

@bkokoszx @keqiaozhang
This issue has been fixed on BYT, APL and CNL.

@markyang markyang removed the APL Applies to Apollolake platform label Nov 13, 2018
@markyang
Copy link

There's no trace log available on BYT because of a blocker issue thesofproject/linux#233

@keqiaozhang
Copy link
Collaborator Author

Thanks @markyang for your confirmation, this issue can be closed now.

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 GLK Applies to Gemini Lake platform P1 Blocker bugs or important features
Projects
None yet
Development

No branches or pull requests

6 participants