Repository navigation
Closed
Description
Describe the bug
CI observed an ipc error for msg 0x45010004|0x10006 (MOD_BIND) when capture on TGL/MTL nocodec platforms with IPC4 Tester. @bardliao said it should be related to #6329.
To Reproduce
arecord -Dhw:0,0 -r 48000 -c 2 -f S16_LE -d 100 /dev/null -v -q
Reproduction Rate
80%
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: topic/sof-dev | thesofproject/linux@551c11c310ac
- Firmware: IPC4 Tester
- SOF (topology): main | 0857ed68b903
- Name of the topology file
- Topology: cavs-tgl-nocodec.tplg, sof-mtl-nocodec.tplg
- Name of the platform(s) on which the bug is observed.
- Platforms: TGLU_RVP_NOCODEC_CAVSIPC4, MTLP_RVP_NOCODEC
Screenshots or console output
TGL dmesg
[ 354.048273] kernel: snd_sof:sof_ipc4_route_setup: sof-audio-pci-intel-tgl 0000:00:1f.3: bind copier.module.8.2:0 -> gain.7.1:0
[ 354.048276] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx : 0x45010004|0x10006: MOD_BIND
[ 354.048526] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx reply: 0x65000071|0x10006: MOD_BIND
[ 354.048531] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: FW reported error: 113 - Invalid destination queue (pin) ID provided
[ 354.048563] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc error for msg 0x45010004|0x10006
[ 354.048581] kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: failed to bind modules copier.module.8.2:0 -> gain.7.1:0
[ 354.048588] kernel: snd_sof:sof_widget_free: sof-audio-pci-intel-tgl 0000:00:1f.3: widget copier.SSP.8.1 freed
[ 354.048591] kernel: snd_sof:sof_widget_free: sof-audio-pci-intel-tgl 0000:00:1f.3: widget gain.8.1 freed
MTL dmesg
[ 288.316833] kernel: snd_sof:sof_ipc4_route_setup: sof-audio-pci-intel-mtl 0000:00:1f.3: bind copier.module.8.2:0 -> gain.7.1:0
[ 288.316837] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc tx : 0x45010004|0x10006: MOD_BIND
[ 288.318129] kernel: snd_sof:sof_ipc4_log_header: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc tx reply: 0x65000006|0x10006: MOD_BIND
[ 288.318133] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: FW reported error: 6 - Unknown error while processing the request
[ 288.318313] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc error for msg 0x45010004|0x10006
[ 288.318338] kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to bind modules copier.module.8.2:0 -> gain.7.1:0
[ 288.318364] kernel: snd_sof:sof_widget_free: sof-audio-pci-intel-mtl 0000:00:1f.3: widget copier.SSP.8.1 freed
[ 288.318369] kernel: snd_sof:sof_widget_free: sof-audio-pci-intel-mtl 0000:00:1f.3: widget gain.8.1 freed
Activity
bardliao commentedon Nov 10, 2022
@ranj063 Provided a commit and #6572 should fix it. But you will meet the firmware crash issue after this issue is fixed. I will submit a kernel PR to fix the firmware crash issue soon.
[-][BUG] ipc error for msg 0x45010004|0x10006 (MOD_BIND) when capture on TGL/MTL nocodec platforms[/-][+][BUG][IPC4 Tester] ipc error for msg 0x45010004|0x10006 (MOD_BIND) when capture on TGL/MTL nocodec platforms[/+]