Skip to content

[BUG][v1.4.2] no sound kernel 5.6.10. sof-cnl-ri #2911

Closed

Description

@syrofoam

Describe the bug
Hardware: HP EliteBook 830 G6.
Comes only up with dummy output in Pulsemixer and a fake soundcard in Alsamixer.

To Reproduce
Boot kernel
5.6.10-zen & 5.6.10 normal same problem in both kernels.

Reproduction Rate
100%.

Expected behavior
Working sound when i boot my laptop.

Impact
I like music & sound.
none, I can boot LTS kernel 5.4.38-LTS and everything works as normal.

Environment
Same problem with Suse Thumbleweed & Archlinux.

Screenshots or console output
image
`
[ 3.787978] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 3.788518] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.788533] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.788859] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 3.790768] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.795052] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 3.854180] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 3.854185] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 3.854970] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-cnl.ri failed with error -2
[ 3.854975] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-cnl.ri failed err: -2
[ 3.854977] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 3.855571] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2
`
Did try to pass some kernel parameters before installing LTS.
I have also installed alsa-firmware package. If there is any other logs i can provide tell me.

Activity

  1. added
    bugSomething isn't working as expected
    on May 6, 2020
  2. plbossart commented on May 6, 2020

    @plbossart
    Member

    @syrofoam the 'official' firmware release can be found at https://github.com/thesofproject/sof-bin/tree/stable-v1.4.2
    copy this and use the go.sh script to install all the simlinks.

    alternatively create a symlink from sof-cnl.ri to sof-cfl.ri

  3. syrofoam commented on May 6, 2020

    @syrofoam
    Author

    Downloaded the firmware release:
    New dmesg output:

    /' 3.789915] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
    [ 3.791502] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
    [ 3.791555] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
    [ 3.792396] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
    [ 3.795574] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    [ 3.800079] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
    [ 3.868359] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
    [ 3.868367] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
    [ 3.877737] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
    [ 3.877740] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
    [ 4.177948] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
    [ 4.177962] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
    [ 4.180685] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
    [ 4.180688] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
    [ 4.480961] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
    [ 4.480968] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
    [ 4.481472] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
    [ 4.481476] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
    [ 4.781441] sof-audio-pci 0000:00:1f.3: error: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
    [ 4.781454] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00000000
    [ 4.781473] sof-audio-pci 0000:00:1f.3: error: dsp init failed after 3 attempts with err: -110
    [ 4.781506] sof-audio-pci 0000:00:1f.3: error: status = 0xffffffff panic = 0xffffffff
    [ 4.781513] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
    [ 4.781515] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
    [ 4.832482] sof-audio-pci 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
    [ 4.832487] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f
    [ 4.832697] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -110'/

    The firmware files inside intel/sof
    sof-apl.ri -> v1.4.2/intel-signed/sof-apl-v1.4.2.ri
    sof-bdw.ri -> v1.4.2/sof-bdw-v1.4.2.ri
    of-byt.ri -> v1.4.2/sof-byt-v1.4.2.ri
    sof-cfl.ri -> v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
    sof-cht.ri -> v1.4.2/sof-cht-v1.4.2.ri
    sof-cml.ri -> v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
    sof-cnl.ri -> v1.4.2/intel-signed/sof-cnl-v1.4.2.ri
    sof-glk.ri -> v1.4.2/intel-signed/sof-apl-v1.4.2.ri
    sof-icl.ri -> v1.4.2/intel-signed/sof-icl-v1.4.2.ri

  4. plbossart commented on May 6, 2020

    @plbossart
    Member

    @syrofoam this seems to be a nasty issue with firmware authentication.
    In the past we had a different binary for CFL but I can't find it.
    @lgirdwood @jajanusz can you me find the 1.3.1 binary for CFL, i'd like to test a theory that this is a problem with the PV bits.

  5. lgirdwood commented on May 7, 2020

    @lgirdwood
    Member

    @mengdonglin do you have the 1.3.1 binary for CFL ?

  6. mengdonglin commented on May 12, 2020

    @mengdonglin
    Collaborator

    @mengdonglin do you have the 1.3.1 binary for CFL ?

    @lgirdwood @plbossart 1.3.1 is not for public release. I can share with you offline

  7. changed the title [-][BUG] no sound kernel 5.6.10. sof-cnl-ri[/-] [+][BUG][v1.4.2] no sound kernel 5.6.10. sof-cnl-ri[/+] on May 12, 2020
  8. mengdonglin commented on May 12, 2020

    @mengdonglin
    Collaborator

    @olividir Can you please share the output of lspci -v?
    This error was previously reported on another HP laptop. We compared its lspci output with another working device, it seems its BIOS doesn't initialize the audio PCI device properly and so the PCI memory is disabled. Please find more info in #2842 (comment)

    @plbossart @lgirdwood, @jajanusz doesn't think PV bits can cause status = 0x00000000. If this is an PV bits issue, the status should be 0x0000002c

  9. lgirdwood commented on May 25, 2020

    @lgirdwood
    Member

    @olividir ok thanks, we can close now.

  10. syrofoam commented on May 25, 2020

    @syrofoam
    Author

    I did blacklist snd_hda_intel, blacklist snd_soc_skl. Rebooted. Disabled microphone in bios. Rebooted again, now it works here too.

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

    BootFirmware boot or code signing related.CNLApplies to Cannonlake platformbugSomething isn't working as expectedstatus = 0x00000000boot status

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions