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

Broadwell: IPC errors #288

Closed
plbossart opened this issue Nov 15, 2018 · 12 comments · Fixed by thesofproject/sof#655
Closed

Broadwell: IPC errors #288

plbossart opened this issue Nov 15, 2018 · 12 comments · Fixed by thesofproject/sof#655
Assignees
Labels
BDW Applies to Broadwell platform bug Something isn't working P2 Critical bugs or normal features

Comments

@plbossart
Copy link
Member

DSP startup fails with IPC errors. Looks like the trace is broken - again 👎

[    4.708248] sof-audio-acpi INT3438:00: ACPI DSP detected
[    4.708367] sof-audio sof-audio: probing SOF DSP device....
[    4.708369] sof-audio sof-audio: using platform alias haswell-pcm-audio
[    4.708372] sof-audio sof-audio: LPE PHY base at 0xe1000000 size 0x100000
[    4.708388] sof-audio sof-audio: LPE VADDR ffff9b5a01900000
[    4.708390] sof-audio sof-audio: PCI base at 0xe121c000 size 0x1000
[    4.708398] sof-audio sof-audio: PCI VADDR ffff9b5a00135000
[    4.708400] sof-audio sof-audio: using IRQ 3
[    4.709702] gpiochip_find_base: found new base at 412
[    4.709793] gpio gpiochip1: (rt5677): added GPIO chardev (254:1)
[    4.709828] gpiochip_setup_dev: registered GPIOs 412 to 417 on device: gpiochip1 (rt5677)
[    4.729046] sof-audio sof-audio: pre-allocate 8 IPC messages
[    4.729066] sof-audio sof-audio: loading firmware
[    4.730365] sof-audio sof-audio: header size=0x13c0e modules=0x1 abi=0x1 size=16
[    4.742730] sof-audio sof-audio: new module size 0x13c02 blocks 0xf type 0x0
[    4.742733] sof-audio sof-audio: block 0 type 0x1 size 0xe4 ==>  offset 0xa0000
[    4.742742] sof-audio sof-audio: block 1 type 0x1 size 0x16a ==>  offset 0xa0400
[    4.742756] sof-audio sof-audio: block 2 type 0x1 size 0x6 ==>  offset 0xa0640
[    4.742758] sof-audio sof-audio: block 3 type 0x1 size 0x6 ==>  offset 0xa067c
[    4.742760] sof-audio sof-audio: block 4 type 0x1 size 0x6 ==>  offset 0xa06b8
[    4.742762] sof-audio sof-audio: block 5 type 0x1 size 0x6 ==>  offset 0xa06f4
[    4.742764] sof-audio sof-audio: block 6 type 0x1 size 0x3 ==>  offset 0xa076c
[    4.742766] sof-audio sof-audio: block 7 type 0x1 size 0x6 ==>  offset 0xa0584
[    4.742768] sof-audio sof-audio: block 8 type 0x1 size 0x4 ==>  offset 0xa05bc
[    4.742770] sof-audio sof-audio: block 9 type 0x1 size 0x17 ==>  offset 0xa05c0
[    4.742772] sof-audio sof-audio: block 10 type 0x1 size 0x6 ==>  offset 0xa05fc
[    4.742774] sof-audio sof-audio: block 11 type 0x1 size 0x10ffe ==>  offset 0xa0790
[    4.746962] zram: Added device: zram0
[    4.748377] sof-audio sof-audio: block 12 type 0x2 size 0x1cd8 ==>  offset 0x8
[    4.748678] sof-audio sof-audio: block 13 type 0x2 size 0xb80 ==>  offset 0x1ce0
[    4.748797] sof-audio sof-audio: block 14 type 0x2 size 0x68 ==>  offset 0x5270
[    4.748808] sof-audio sof-audio: booting DSP firmware
[    4.749067] sof-audio sof-audio: ipc rx: 0x70000000
[    4.749070] sof-audio sof-audio: ipc: DSP is ready 0x70000000 offset 647168
[    4.749163] sof-audio sof-audio:  Firmware info: version 1:1-73475 build 0 on :
[    4.749288] sof-audio sof-audio: found ext header type 1 size 0x88
[    4.749317] sof-audio sof-audio:  mailbox upstream 0x9e000 - size 0x400
[    4.749319] sof-audio sof-audio:  mailbox downstream 0x9e400 - size 0x400
[    4.749321] sof-audio sof-audio:  stream region 0x9ea00 - size 0x200
[    4.749322] sof-audio sof-audio: booting DSP firmware completed
[    4.749326] sof-audio sof-audio: ipc rx done: 0x70000000
[    4.749375] sof-audio sof-audio: firmware boot complete
[    4.749415] sof-audio sof-audio: generating page table for ffff9b5a0186a000 size 0x10000 pages 16
[    4.749417] sof-audio sof-audio: dma_trace_pages: 16
[    4.749424] sof-audio sof-audio: stream_tag: -27429
[    4.749439] sof-audio sof-audio: ipc tx: 0x90010000
[    4.814825] zram0: detected capacity change from 0 to 24507990016
[    4.840258] Adding 23933580k swap on /dev/zram0.  Priority:-2 extents:1 across:23933580k SS
[    5.055015] sof-audio sof-audio: error: ipc timed out for 0x90010000 size 0x1c
[    5.055264] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x80000000
[    5.055285] sof-audio sof-audio: error: can't set params for DMA for trace -110
[    5.055304] sof-audio sof-audio: warning: failed to initialize trace -110
[    5.055420] sof-audio sof-audio: created machine bdw-rt5677
[    5.064690] bdw-rt5677 bdw-rt5677: info: override FE DAI link Codec
[    5.069418] sof-audio sof-audio: loading topology:intel/sof-bdw-rt5677.tplg
[    5.121717] sof-audio sof-audio: tplg: ready widget id 0 pipe 1 type 23 name : PCM0P stream Low Latency Playback 0
[    5.121720] sof-audio sof-audio: loaded host PCM0P
[    5.121722] sof-audio sof-audio:  config: periods snk 2 src 0 fmt 0
[    5.423049] sof-audio sof-audio: error: ipc timed out for 0x30010000 size 0x44
[    5.423276] sof-audio sof-audio: error: unexpected fault 0x00000000 trace 0x80000000
[    5.423289] sof-audio sof-audio: error: DSP failed to add widget id 0 type 23 name : PCM0P stream Low Latency Playback 0 reply 0
[    5.423295] sof-audio sof-audio: ASoC: failed to load widget PCM0P
[    5.423298] sof-audio sof-audio: error: tplg component load failed -110
[    5.423306] sof-audio sof-audio: error: failed to load DSP topology -22
[    5.423310] sof-audio sof-audio: ASoC: failed to probe component -22
[    5.423684] bdw-rt5677 bdw-rt5677: ASoC: failed to instantiate card -22
[    5.427084] bdw-rt5677: probe of bdw-rt5677 failed with error -22
@plbossart
Copy link
Member Author

that error in itself shows legacy is likely broken.

sof-audio sof-audio: stream_tag: -27429

@keyonjie
Copy link

platforms must be broken if nobody is using it. :(
@keqiaozhang @stevyan do we have daily verification on broadwell?

@keyonjie
Copy link

that error in itself shows legacy is likely broken.

sof-audio sof-audio: stream_tag: -27429

it's somewhat confusing here, but for legacy, stream_tag is not used, so that looks fine.

@plbossart
Copy link
Member Author

Unfortunately this feels like a total failure on all legacy platforms, I also have a DSP panic on Baytrail after the trace is initialized. Am I the only one to test?

[    5.756450] sof-audio sof-audio: stream_tag: -27447
[    5.756479] sof-audio sof-audio: ipc tx: 0x90010000: GLB_TRACE_MSG
[    5.756534] sof-audio sof-audio: error : DSP panic!
[    5.756635] sof-audio sof-audio: panic: dsp_oops_offset 1329152 offset 1329152
[    5.756670] sof-audio sof-audio: error: runtime exception
[    5.756749] sof-audio sof-audio: error: trace point 90010000
[    5.756830] sof-audio sof-audio: error: panic happen at :0
[    5.756910] sof-audio sof-audio: error: DSP Firmware Oops
[    5.756987] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[    5.757158] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00070520 SAR     0x0000001d
[    5.757298] sof-audio sof-audio: EPC1     0xff2c099b EPC2     0x00000000 EPC3     0xff2c0f13 EPC4    0xff2c0f13
[    5.757435] sof-audio sof-audio: EPC5     0xff2c0f13 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[    5.757570] sof-audio sof-audio: EPS2     0x00000000 EPS3     0x00060720 EPS4     0x00060720 EPS5    0x00060720
[    5.757707] sof-audio sof-audio: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[    5.757843] sof-audio sof-audio: stack dump from 0xff327bc0
[    5.757923] sof-audio sof-audio: 0xff327bc0: 0x6000b848 0x00060130 0x0000001d 0x7c1394d2
[    5.758045] sof-audio sof-audio: 0xff327bc4: 0x00000000 0xff309188 0xff306a94 0x6000b848
[    5.758159] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d1872 0xff2d1888
[    5.758271] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0xac05439e 0x59624dad
[    5.758382] sof-audio sof-audio: 0xff327bd0: 0xddf7095e 0xc6c2ecd4 0x04fe2236 0x0211e8b2
[    5.758493] sof-audio sof-audio: 0xff327bd4: 0xd25b6227 0x093d37eb 0x8abeeabd 0x34912e62
[    5.758604] sof-audio sof-audio: 0xff327bd8: 0x54ea0b08 0x056b6b96 0x019bf128 0x6d1a8add
[    5.758716] sof-audio sof-audio: 0xff327bdc: 0xa825c23e 0x01edb7ec 0xb02f8627 0x6fbe8cea
[    6.063077] sof-audio sof-audio: error: ipc timed out for 0x90010000 size 0x1c
[    6.063235] sof-audio sof-audio: error: runtime exception
[    6.063314] sof-audio sof-audio: error: trace point 90010000
[    6.063396] sof-audio sof-audio: error: panic happen at :0
[    6.063476] sof-audio sof-audio: error: DSP Firmware Oops
[    6.063554] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[    6.063681] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00070520 SAR     0x0000001d
[    6.063818] sof-audio sof-audio: EPC1     0xff2c099b EPC2     0x00000000 EPC3     0xff2c0f13 EPC4    0xff2c0f13
[    6.063954] sof-audio sof-audio: EPC5     0xff2c0f13 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[    6.064092] sof-audio sof-audio: EPS2     0x00000000 EPS3     0x00060720 EPS4     0x00060720 EPS5    0x00060720
[    6.064228] sof-audio sof-audio: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[    6.064365] sof-audio sof-audio: stack dump from 0xff327bc0
[    6.064446] sof-audio sof-audio: 0xff327bc0: 0x6000b848 0x00060130 0x0000001d 0x7c1394d2
[    6.064558] sof-audio sof-audio: 0xff327bc4: 0x00000000 0xff309188 0xff306a94 0x6000b848
[    6.064671] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d1872 0xff2d1888
[    6.064783] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0xac05439e 0x59624dad
[    6.064896] sof-audio sof-audio: 0xff327bd0: 0xddf7095e 0xc6c2ecd4 0x04fe2236 0x0211e8b2
[    6.065008] sof-audio sof-audio: 0xff327bd4: 0xd25b6227 0x093d37eb 0x8abeeabd 0x34912e62
[    6.065121] sof-audio sof-audio: 0xff327bd8: 0x54ea0b08 0x056b6b96 0x019bf128 0x6d1a8add
[    6.065233] sof-audio sof-audio: 0xff327bdc: 0xa825c23e 0x01edb7ec 0xb02f8627 0x6fbe8cea
[    6.065377] sof-audio sof-audio: error: can't set params for DMA for trace -110
[    6.069396] sof-audio sof-audio: warning: failed to initialize trace -110
[    6.069511] sof-audio sof-audio: created machine bytcht_da7213
[    6.757893] bytcht_da7213 bytcht_da7213: info: override FE DAI link SSP2-Codec
[    6.757974] sof-audio sof-audio: loading topology:intel/sof-byt-da7213.tplg
[    6.789507] sof-audio sof-audio: tplg: ready widget id 0 pipe 1 type 23 name : PCM0P stream Low Latency Playback 0
[    6.789514] sof-audio sof-audio: loaded host PCM0P
[    6.789517] sof-audio sof-audio:  config: periods snk 2 src 0 fmt 0
[    7.095101] sof-audio sof-audio: error: ipc timed out for 0x30010000 size 0x44
[    7.104582] sof-audio sof-audio: error: runtime exception
[    7.114035] sof-audio sof-audio: error: trace point 90010000
[    7.123562] sof-audio sof-audio: error: panic happen at :0
[    7.133160] sof-audio sof-audio: error: DSP Firmware Oops
[    7.142824] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[    7.152831] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00070520 SAR     0x0000001d
[    7.163097] sof-audio sof-audio: EPC1     0xff2c099b EPC2     0x00000000 EPC3     0xff2c0f13 EPC4    0xff2c0f13
[    7.173505] sof-audio sof-audio: EPC5     0xff2c0f13 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[    7.184018] sof-audio sof-audio: EPS2     0x00000000 EPS3     0x00060720 EPS4     0x00060720 EPS5    0x00060720
[    7.194459] sof-audio sof-audio: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[    7.204724] sof-audio sof-audio: stack dump from 0xff327bc0
[    7.214787] sof-audio sof-audio: 0xff327bc0: 0x6000b848 0x00060130 0x0000001d 0x7c1394d2
[    7.224929] sof-audio sof-audio: 0xff327bc4: 0x00000000 0xff309188 0xff306a94 0x6000b848
[    7.234984] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d1872 0xff2d1888
[    7.244992] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0xac05439e 0x59624dad
[    7.254935] sof-audio sof-audio: 0xff327bd0: 0xddf7095e 0xc6c2ecd4 0x04fe2236 0x0211e8b2
[    7.264889] sof-audio sof-audio: 0xff327bd4: 0xd25b6227 0x093d37eb 0x8abeeabd 0x34912e62
[    7.274894] sof-audio sof-audio: 0xff327bd8: 0x54ea0b08 0x056b6b96 0x019bf128 0x6d1a8add
[    7.284957] sof-audio sof-audio: 0xff327bdc: 0xa825c23e 0x01edb7ec 0xb02f8627 0x6fbe8cea
[    7.295081] sof-audio sof-audio: error: DSP failed to add widget id 0 type 23 name : PCM0P stream Low Latency Playback 0 reply 0
[    7.298966] sof-audio sof-audio: ASoC: failed to load widget PCM0P
[    7.302807] sof-audio sof-audio: error: tplg component load failed -110
[    7.306723] sof-audio sof-audio: error: failed to load DSP topology -22
[    7.310589] sof-audio sof-audio: ASoC: failed to probe component -22
[    7.314482] bytcht_da7213 bytcht_da7213: ASoC: failed to instantiate card -22
[    7.318448] bytcht_da7213 bytcht_da7213: snd_soc_register_card failed -22
[    7.322396] bytcht_da7213: probe of bytcht_da7213 failed with error -22

@keqiaozhang
Copy link
Collaborator

@keyonjie
We don't run regular verification on broadwell, if I remember correctly, I got the same result one month ago on broadwell.
I will try to reproduce this issue on my DELL XPS.
@markyang please help to confirm if we can reproduce this issue on BYT.

@markyang
Copy link

@keqiaozhang There is a a DSP panic on Baytrail. see also issues #443 for more details.

dmesg:

[   14.573432] sof-audio sof-audio: booting DSP firmware
[   14.575153] sof-audio sof-audio: ipc rx: 0x70000000: FW_READY
[   14.575158] sof-audio sof-audio: ipc: DSP is ready 0x70000000 offset 0x144000
[   14.575175] sof-audio sof-audio:  Firmware info: version 1:1-43120 build 32 on Nov 15 2018:06:24:55
[   14.575290] sof-audio sof-audio: found ext header type 1 size 0x88
[   14.575325] sof-audio sof-audio:  mailbox upstream 0x144000 - size 0x400
[   14.575328] sof-audio sof-audio:  mailbox downstream 0x144400 - size 0x400
[   14.575331] sof-audio sof-audio:  stream region 0x144a00 - size 0x200
[   14.575333] sof-audio sof-audio: booting DSP firmware completed
[   14.575339] sof-audio sof-audio: ipc rx done: 0x70000000: FW_READY
[   14.575483] sof-audio sof-audio: firmware boot complete
[   14.575521] sof-audio sof-audio: generating page table for 00000000da0d1db8 size 0x10000 pages 16
[   14.575524] sof-audio sof-audio: dma_trace_pages: 16
[   14.575539] sof-audio sof-audio: stream_tag: -28796
[   14.575561] sof-audio sof-audio: ipc tx: 0x90010000: GLB_TRACE_MSG
[   14.575604] sof-audio sof-audio: error : DSP panic!
[   14.575617] sof-audio sof-audio: panic: dsp_oops_offset 1329152 offset 1329152
[   14.575650] sof-audio sof-audio: error: runtime exception
[   14.575657] sof-audio sof-audio: error: trace point 90010000
[   14.575663] sof-audio sof-audio: error: panic happen at :0
[   14.575669] sof-audio sof-audio: error: DSP Firmware Oops
[   14.575675] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[   14.575684] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00070520 SAR     0x0000001d
[   14.575692] sof-audio sof-audio: EPC1     0xff2c0983 EPC2     0x00000000 EPC3     0xff2c0f03 EPC4    0xff2c0f03
[   14.575701] sof-audio sof-audio: EPC5     0xff2c0f03 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[   14.575709] sof-audio sof-audio: EPS2     0x00000000 EPS3     0x00060720 EPS4     0x00060720 EPS5    0x00060720
[   14.575718] sof-audio sof-audio: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[   14.575726] sof-audio sof-audio: stack dump from 0xff327bc0
[   14.575733] sof-audio sof-audio: 0xff327bc0: 0x6000b848 0x00060130 0x0000001d 0xe764b7cf
[   14.575741] sof-audio sof-audio: 0xff327bc4: 0x6000b848 0xff309188 0xff306a94 0x00000000
[   14.575749] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d1b3e 0xff2d1b54
[   14.575757] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0x2400a500 0x660f4029
[   14.575765] sof-audio sof-audio: 0xff327bd0: 0xa773dbef 0xfeffecff 0xffea71ef 0x6bae3dff
[   14.575773] sof-audio sof-audio: 0xff327bd4: 0x03571381 0x40103208 0x5402a434 0x305a99ca
[   14.575781] sof-audio sof-audio: 0xff327bd8: 0xeb5fffb7 0x45b7aeff 0xa87d0de9 0x4efd6ffd
[   14.575789] sof-audio sof-audio: 0xff327bdc: 0x4c000822 0x00085253 0x22263040 0x484c0e51
[   14.881201] sof-audio sof-audio: error: ipc timed out for 0x90010000 size 0x1c
[   14.881247] sof-audio sof-audio: error: runtime exception
[   14.881254] sof-audio sof-audio: error: trace point 90010000
[   14.881260] sof-audio sof-audio: error: panic happen at :0
[   14.881266] sof-audio sof-audio: error: DSP Firmware Oops
[   14.881272] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[   14.881281] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00070520 SAR     0x0000001d
[   14.881289] sof-audio sof-audio: EPC1     0xff2c0983 EPC2     0x00000000 EPC3     0xff2c0f03 EPC4    0xff2c0f03
[   14.881298] sof-audio sof-audio: EPC5     0xff2c0f03 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[   14.881306] sof-audio sof-audio: EPS2     0x00000000 EPS3     0x00060720 EPS4     0x00060720 EPS5    0x00060720
[   14.881315] sof-audio sof-audio: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[   14.881322] sof-audio sof-audio: stack dump from 0xff327bc0
[   14.881329] sof-audio sof-audio: 0xff327bc0: 0x6000b848 0x00060130 0x0000001d 0xe764b7cf
[   14.881338] sof-audio sof-audio: 0xff327bc4: 0x6000b848 0xff309188 0xff306a94 0x00000000
[   14.881346] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d1b3e 0xff2d1b54
[   14.881354] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0x2400a500 0x660f4029
[   14.881362] sof-audio sof-audio: 0xff327bd0: 0xa773dbef 0xfeffecff 0xffea71ef 0x6bae3dff
[   14.881370] sof-audio sof-audio: 0xff327bd4: 0x03571381 0x40103208 0x5402a434 0x305a99ca
[   14.881378] sof-audio sof-audio: 0xff327bd8: 0xeb5fffb7 0x45b7aeff 0xa87d0de9 0x4efd6ffd
[   14.881386] sof-audio sof-audio: 0xff327bdc: 0x4c000822 0x00085253 0x22263040 0x484c0e51
[   14.881401] sof-audio sof-audio: error: can't set params for DMA for trace -110
[   14.881418] sof-audio sof-audio: warning: failed to initialize trace -110
[   14.881510] sof-audio sof-audio: created machine bytcr_rt5651
[   14.917803] bytcr_rt5651 bytcr_rt5651: quirk IN1_MAP enabled
[   14.917808] bytcr_rt5651 bytcr_rt5651: quirk MCLK_EN enabled
[   14.917825] bytcr_rt5651 bytcr_rt5651: info: override FE DAI link SSP2-Codec
[   14.917910] sof-audio sof-audio: loading topology:intel/sof-byt-rt5651.tplg
[   14.974950] sof-audio sof-audio: tplg: ready widget id 0 pipe 1 type 23 name : PCM0P stream Low Latency Playback 0
[   14.974956] sof-audio sof-audio: loaded host PCM0P
[   14.974959] sof-audio sof-audio:  config: periods snk 2 src 0 fmt 0
[   15.281206] sof-audio sof-audio: error: ipc timed out for 0x30010000 size 0x44
[   15.281252] sof-audio sof-audio: error: runtime exception
[   15.281258] sof-audio sof-audio: error: trace point 90010000
[   15.281265] sof-audio sof-audio: error: panic happen at :0
[   15.281271] sof-audio sof-audio: error: DSP Firmware Oops
[   15.281277] sof-audio sof-audio: error: Exception Cause: IllegalInstructionCause, Illegal instruction
[   15.281286] sof-audio sof-audio: EXCCAUSE 0x00000000 EXCVADDR 0x00000000 PS       0x00070520 SAR     0x0000001d
[   15.281294] sof-audio sof-audio: EPC1     0xff2c0983 EPC2     0x00000000 EPC3     0xff2c0f03 EPC4    0xff2c0f03
[   15.281302] sof-audio sof-audio: EPC5     0xff2c0f03 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
[   15.281311] sof-audio sof-audio: EPS2     0x00000000 EPS3     0x00060720 EPS4     0x00060720 EPS5    0x00060720
[   15.281319] sof-audio sof-audio: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00078f40 INTERRU 0x000000a2
[   15.281327] sof-audio sof-audio: stack dump from 0xff327bc0
[   15.281334] sof-audio sof-audio: 0xff327bc0: 0x6000b848 0x00060130 0x0000001d 0xe764b7cf
[   15.281342] sof-audio sof-audio: 0xff327bc4: 0x6000b848 0xff309188 0xff306a94 0x00000000
[   15.281350] sof-audio sof-audio: 0xff327bc8: 0x00000000 0x00000000 0xff2d1b3e 0xff2d1b54
[   15.281358] sof-audio sof-audio: 0xff327bcc: 0x00000000 0x00000000 0x2400a500 0x660f4029
[   15.281366] sof-audio sof-audio: 0xff327bd0: 0xa773dbef 0xfeffecff 0xffea71ef 0x6bae3dff
[   15.281374] sof-audio sof-audio: 0xff327bd4: 0x03571381 0x40103208 0x5402a434 0x305a99ca
[   15.281382] sof-audio sof-audio: 0xff327bd8: 0xeb5fffb7 0x45b7aeff 0xa87d0de9 0x4efd6ffd
[   15.281391] sof-audio sof-audio: 0xff327bdc: 0x4c000822 0x00085253 0x22263040 0x484c0e51
[   15.281410] sof-audio sof-audio: error: DSP failed to add widget id 0 type 23 name : PCM0P stream Low Latency Playback 0 reply 0
[   15.281422] sof-audio sof-audio: ASoC: failed to load widget PCM0P
[   15.281430] sof-audio sof-audio: error: tplg component load failed -110
[   15.281444] sof-audio sof-audio: error: failed to load DSP topology -22
[   15.281451] sof-audio sof-audio: ASoC: failed to probe component -22
[   15.281475] bytcr_rt5651 bytcr_rt5651: ASoC: failed to instantiate card -22
[   15.281512] bytcr_rt5651 bytcr_rt5651: devm_snd_soc_register_card failed -22
[   15.281531] bytcr_rt5651: probe of bytcr_rt5651 failed with error -22
[   15.535165] systemd-udevd (1433) used greatest stack depth: 12248 bytes left
[   15.537674] systemd-udevd (1429) used greatest stack depth: 11368 bytes left
[   19.205835] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   19.231888] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   22.074483] igb 0000:03:00.0 enp3s0: igb: enp3s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[   22.074772] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[   53.641291] systemd-journald[1378]: File /var/log/journal/eadbe628db86481c8fbc460378113bb6/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.

@plbossart
Copy link
Member Author

plbossart commented Nov 15, 2018

Looking at thesofproject/sof#443, do I understand correctly that Baytrail has not booted since September 29? If yes, does anyone have a test report of a working configuration? I am not sure how anyone can fix this without this information - or it'll be just debugging in complete darkness.

@xiulipan
Copy link

@plbossart
Yes, BYT is in unstable status since September. First due to some generic FW change, most legacy platform is broken since then. So it not only something of the linux kernel can fix BYT.
It would be like some re-enable SOF on BYT now.

@plbossart
Copy link
Member Author

@xiulipan ok, but that doesn't answer to my second question... What is the most recent configuration of (kernel, sof, soft) where legacy platforms worked?

@xiulipan
Copy link

@plbossart
I think sof-1.2 should work fine with BYT. The master is broken for BYT as we are working on the 1.2 release.

@mengdonglin mengdonglin added bug Something isn't working P3 Low-impact bugs or features labels Nov 22, 2018
@mengdonglin
Copy link
Collaborator

mengdonglin commented Nov 22, 2018

I think we can make APL and BYT health at first, then check the BDW.

@mengdonglin mengdonglin added P2 Critical bugs or normal features BDW Applies to Broadwell platform and removed P3 Low-impact bugs or features labels Nov 26, 2018
@markyang
Copy link

markyang commented Jan 7, 2019

@stevyan

bardliao pushed a commit that referenced this issue Dec 5, 2024
Offset into the page should also be considered while calculating a physical
address for struct dma_debug_entry. page_to_phys() just shifts the value
PAGE_SHIFT bits to the left so offset part is zero-filled.

An example (wrong) debug assertion failure with CONFIG_DMA_API_DEBUG
enabled which is observed during systemd boot process after recent
dma-debug changes:

DMA-API: e1000 0000:00:03.0: cacheline tracking EEXIST, overlapping mappings aren't supported
WARNING: CPU: 4 PID: 941 at kernel/dma/debug.c:596 add_dma_entry
CPU: 4 UID: 0 PID: 941 Comm: ip Not tainted 6.12.0+ #288
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:add_dma_entry kernel/dma/debug.c:596
Call Trace:
 <TASK>
debug_dma_map_page kernel/dma/debug.c:1236
dma_map_page_attrs kernel/dma/mapping.c:179
e1000_alloc_rx_buffers drivers/net/ethernet/intel/e1000/e1000_main.c:4616
...

Found by Linux Verification Center (linuxtesting.org).

Fixes: 9d4f645 ("dma-debug: store a phys_addr_t in struct dma_debug_entry")
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
[hch: added a little helper to clean up the code]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BDW Applies to Broadwell platform bug Something isn't working P2 Critical bugs or normal features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants