Skip to content

CML: Repeatedly switching from speaker-headset-speaker... results in DSP Panic #1261

Closed

Description

@naveen-manohar

During Speaker playback, repeatedly switching to headset and back to speaker, within 10 iterations hit following dsp panic error.

Test Steps:
On v0.2 recipe

Play audio in speaker
Plug 3.5mm headset jack to observe audio routing to hs
now in UI system tray, change the end-point node selection to speaker and back to headset repeatedly..
Observation: Within 10 iteration of step#3 DSP panic is hit and no audio
LOG:
[ 968.507135] sof-audio-pci 0000:00:1f.3: error : DSP panic!
[ 968.507150] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 968.507436] sof-audio-pci 0000:00:1f.3: error: runtime exception
[ 968.507441] sof-audio-pci 0000:00:1f.3: error: trace point 00004000
[ 968.507446] sof-audio-pci 0000:00:1f.3: error: panic happen at :0
[ 968.507451] sof-audio-pci 0000:00:1f.3: error: DSP Firmware Oops
[ 968.507456] sof-audio-pci 0000:00:1f.3: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
14_headset_to-speaker_frequent_switch-dsp-panic.txt

Activity

  1. wenqingfu commented on Apr 12, 2019

    @wenqingfu

    @naveen-manohar appreciated if you can follow the template next time 👌

  2. naveen-manohar commented on Apr 16, 2019

    @naveen-manohar
    ContributorAuthor

    Apologize, yes shall follow the template for all future bugs.
    Can you please help add the issue to right owner in firmware team. Thanks

  3. lgirdwood commented on Apr 16, 2019

    @lgirdwood
    Member
  4. michalgrodzicki commented on Apr 18, 2019

    @michalgrodzicki

    @akloniex - could you take a look?

  5. added
    CML
    P1
    on Apr 24, 2019
  6. akloniex commented on Apr 24, 2019

    @akloniex
    Member

    @naveen-manohar
    I would need few things:

    1. What is "v0.2 recipe"?
    2. Do you have core dump saved / can you collect one? (/sys/kernel/debug/sof/exception file, AFAIR)
    3. Could you provide sof-logger output?

    These would be very helpful to have in order to root-cause the issue.

  7. added
    bug
    on Apr 25, 2019
  8. naveen-manohar commented on Apr 26, 2019

    @naveen-manohar
    ContributorAuthor

    Apologize for the delay, was working on to switch to a recipe where logger was enabled.
    With below recipe, I wasn't able to hit the issue. Have requested validation team to stress test the scenario & update.

    Test Recipe:
    SOF FW source
    URL: https://github.com/thesofproject/sof/tree/cml-003-drop-stable
    Commit: 4731a1a
    SOF Drivers source
    URL: https://github.com/thesofproject/linux/tree/topic/sof-v4.19-rebase
    Commit: d52233f7
    Plus commit 9d033568 and 9ffddce8 which need to be cherry picked from branch topic/sof-dev to the release branch topic/sof-v4.19-rebase.`

  9. lgirdwood commented on Apr 26, 2019

    @lgirdwood
    Member

    thanks @naveen-manohar, please close this if validation cant reproduce.

  10. naveen-manohar commented on Apr 29, 2019

    @naveen-manohar
    ContributorAuthor

    Validation team's stress script dint hit the issue with above recipe, hence closing it. Thanks

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

Metadata

Metadata

Assignees

Labels

CMLP1bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions