-
Notifications
You must be signed in to change notification settings - Fork 132
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
could not access debugfs when DSP panic or IPC failed #233
Comments
@libinyang |
@ranj063 This issue is observed when debugging thesofproject/sof#443 on UP2. But it should be a generic issue. |
when DSP is panic, we should let reading trace debugFS entries(with old value at worst case) possible, let me try some fix to it. |
@Keyon agree with you. Let me know if you need help |
@keyonjie please check if thesofproject/sof#518 could improve the logger health for your debugging. |
@xiulipan why tplg load fail? we will not destroy the entry, so it should be still readable when resume fails. |
Summary: dmesg:
Test steps: Test env: Log: |
@ranj063 does pm_runtime work on MinnowBoard? If not, maybe we should remove this capability for now to unlock such blocking issues? |
Can we check if #237 fixes this issue? Also can I get clarity on MinnowBoard support for pm_runtime, the issue above mentions debugFS failing to resume so things are not clear to me... |
When DSP panic or IPC failed. If we use sof-logger or rmbox we will see
Or if we want to access any debugfs exculde
trace
, the dmesg shows same thing and terminal refuse to open the fileAnalysis:
trace
andetrace
used different read opsFor trace we used
sof_dfsentry_read
And the above dmesg is coming from
linux/sound/soc/sof/debug.c
Line 64 in 2af9599
So the guess is here, when DSP panic or IPC failed, how would our
pm_runtime_get_sync
pm_runtime_put
behavior?We may need some fallback handler for this case.
The debugfs is very valuable and critical for our debug when error happens. But now it could not work.
The text was updated successfully, but these errors were encountered: