Skip to content

[BUG][GLK][sound/for -next]"DSP panic" when do module load/unload test #2121

Closed

Description

@sinahuang

Describe the bug
"DSP panic" when do module load/unload test,Seems only a error message,has no imapct on function
After error occured,all the pipeline can work normally

To Reproduce
1.sudo reboot
2. cd sof-test
3.cd test-case
4.export TPLG=/lib/firmware/intel/sof-glk-da7219.tplg
5../check-kmod-load-unload.sh(https://github.com/thesofproject/sof-test/blob/master/test-case/check-kmod-load-unload.sh)

Reproduction Rate
10/10

Expected behavior
There is no DSP panic when do module load/unload

Impact
"DSP panic" showed in kernel log

Capture

Environment
* Kernel:https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?h=for-next
(commit:07f77dd)
* SOF:https://github.com/thesofproject/sof/commits/master (commit:83cecc95 )
2) Name of the topology file
* Topology: {sof-glk-da7219.tplg}
3) Name of the platform(s) on which the bug is observed.
* Platform: {GLK Chrome with onboard codec DA7219 in I2S mode}

dmesg_error.log
[   92.559577] sof-audio-pci 0000:00:0e.0: periods:1
[   92.560193] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x3030303 successful
[   92.560221] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x3030302 successful
[   92.560223] sof-audio-pci 0000:00:0e.0: unstall/run core: core_mask = 1
[   92.560226] sof-audio-pci 0000:00:0e.0: DSP core(s) enabled? 1 : core_mask 1
[   92.562330] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x40000000 successful
[   92.562347] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x3010202 successful
[   92.591822] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x5000001 successful
[   92.608163] sof-audio-pci 0000:00:0e.0: error : DSP panic!
[   92.608170] sof-audio-pci 0000:00:0e.0: unknown ROM status value 00000000
[   92.608172] sof-audio-pci 0000:00:0e.0: error: status = 0x0dead000 panic = 0x00000220
[   92.608192] sof-audio-pci 0000:00:0e.0: unknown ROM status value 00000000
[   92.608815] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x5 successful
[   92.609313] sof-audio-pci 0000:00:0e.0: FW Poll Status: reg=0x140000 successful
[   92.609316] sof-audio-pci 0000:00:0e.0: Firmware download successful, booting...
[   92.612338] sof-audio-pci 0000:00:0e.0: ipc rx: 0x70000000: FW_READY
[   92.612341] sof-audio-pci 0000:00:0e.0: ipc: DSP is ready 0x70000000 offset 0x81000
[   92.612358] sof-audio-pci 0000:00:0e.0: Firmware info: version 1:4:1-9b1b6
[   92.612360] sof-audio-pci 0000:00:0e.0: Firmware: ABI 3:14:0 Kernel ABI 3:13:0
[   92.612361] sof-audio-pci 0000:00:0e.0: warn: FW ABI is more recent than kernel
[   92.612362] sof-audio-pci 0000:00:0e.0: Firmware debug build 1 on Mar 27 2020-05:17:14 - options:
                GDB: disabled
                lock debug: disabled
                lock vdebug: disabled
[   92.612390] sof-audio-pci 0000:00:0e.0: found ext header type 1 size 0xb8
[   92.612403] sof-audio-pci 0000:00:0e.0: found ext header type 2 size 0x50
[   92.612405] sof-audio-pci 0000:00:0e.0: Firmware info: used compiler XCC 12:0:8 RG-2017.8-linux� used optimization flags O2
[   92.612420] sof-audio-pci 0000:00:0e.0: found ext header type 3 size 0x1c
[   92.612422] sof-audio-pci 0000:00:0e.0: warning: unknown ext header type 3 size 0x1c
[   92.612426] sof-audio-pci 0000:00:0e.0: found ext header type 4 size 0x10
[   92.612427] sof-audio-pci 0000:00:0e.0: warning: unknown ext header type 4 size 0x10
[   92.612457] sof-audio-pci 0000:00:0e.0:  mailbox upstream 0x81000 - size 0x1000
[   92.612459] sof-audio-pci 0000:00:0e.0:  mailbox downstream 0xa0000 - size 0x2000
[   92.612460] sof-audio-pci 0000:00:0e.0:  stream region 0xc1000 - size 0x1000
[   92.612464] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x70000000: FW_READY
[   92.612469] sof-audio-pci 0000:00:0e.0: firmware boot complete
[   92.612475] sof-audio-pci 0000:00:0e.0: Debug PCIR: 00000000 at  00000048

Activity

  1. sinahuang commented on May 15, 2020

    @sinahuang
    Author

    Issue is same as thesofproject/sof#2646, waiting for kernel PR #2044 and FW PR thesofproject/sof#2837 merged to intel for-next branch.

  2. changed the title [-][BUG][GLK]"DSP panic" when do module load/unload test[/-] [+][BUG][GLK][sound/for -next]"DSP panic" when do module load/unload test[/+] on May 15, 2020
  3. added
    GLKApplies to Gemini Lake
    bugSomething isn't working
    NOT on topic/sof-devissue that does not happen on branch topic/sof-dev
    on May 15, 2020
  4. sinahuang commented on May 15, 2020

    @sinahuang
    Author

    Issue is same as thesofproject/sof#2646, waiting for kernel PR #2044 and FW PR thesofproject/sof#2837 merged to intel for-next branch.

  5. plbossart commented on May 27, 2020

    @plbossart
    Member

    @sinahuang PR #2044 is merged, do we actually need FW PR thesofproject/sof#2837 merged?
    @mrajwa FYI.

  6. sinahuang commented on May 29, 2020

    @sinahuang
    Author

    Error not seen with RR #2044, seems not need sof PR thesofproject/sof#2837. Still wait for PR #2044 upstream into sound for next.

  7. plbossart commented on Jun 9, 2020

    @plbossart
    Member

    PR #2044 is merged

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

    GLKApplies to Gemini LakeNOT on topic/sof-devissue that does not happen on branch topic/sof-devbugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions