From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1734FC6FA8E for ; Fri, 24 Feb 2023 20:43:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbjBXUnv (ORCPT ); Fri, 24 Feb 2023 15:43:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjBXUnu (ORCPT ); Fri, 24 Feb 2023 15:43:50 -0500 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E728C126FA for ; Fri, 24 Feb 2023 12:43:47 -0800 (PST) Received: by mail-ot1-x329.google.com with SMTP id e18-20020a0568301e5200b00690e6abbf3fso314012otj.13 for ; Fri, 24 Feb 2023 12:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677271427; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BeqCCFmamN/YjGQ8EDdEmCZT36JJtvtkBpaxq359rIc=; b=VKo1uuSbaSluO3MucjgjemnpqGTaov114+fov4EKdOFbZgs8iwwFm6vR9JkXP4QV4e OVDf1Zdl387RqHpolDdnTaqa4BkvYoUayPsLPV/q3ItZasX+FA1bjk4T6YkfvSDkLUW9 XveyUQ49jv12TQEIAfmjr44vLTmchXg8h3q3aBwOIkI2HeAYzdoRei6T3DnwVNWEgcwO jKjnCi9qscpO5B+I2JDg+TVOSYn05EXk5QLiOpBWRr3tq9m3Rq8jkLfKPdPrzALLM1Ke ZRoTGI8NnEny7rdGXJuMUK9OZ9816yuRpjvipA4RHuxhpLkSXplyAdRMAI2oYfzempFP Rr+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677271427; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BeqCCFmamN/YjGQ8EDdEmCZT36JJtvtkBpaxq359rIc=; b=PuDJq9sObEG5223RAGx8JxiI6vijvHjnWIf1kh03+cozfwyDDYYL+cF/Q7SXpI234r W/BUe1yO5CUoINUcoIfl1oa8UD2pgci8eNfxG9cAapontIHLDA/uzKR2emANuexT21sl szpXQt7ORanVlrx3trjt/UjeSV+sjzUJONmV7Gn0CDk9myBQunR80ayNZfMy86CWFhh/ ttpTJPITyGXIr7gAGLqp1UBRgkFxSedcNg9fGDmnoTivsRdcH3aYWAJK0vfedq5jS3gF SB0fJZyyQz5adOhZGVmC3ykUOVxFy6k9Lhicq4KAt0MrWAjTDWabkjfP8DhZvLD1UJtn BOwQ== X-Gm-Message-State: AO0yUKUlex0WmQsYDwOZ3M5FXSOe9quBjYBuK2efRiOouObUWjtThqiQ 9OM2iOEpFynr94R7gvhdq4AIcK+cYgV1OeYPEaTQAV6JjAw= X-Google-Smtp-Source: AK7set/62qBylDEldjOIpXiklV3jggx+vGy7Hoh/09rtagX9iG/qVuZhXJlgRXiXX54czevDHVHx3KZ9HoinqjvMQ70= X-Received: by 2002:a05:6830:26e3:b0:688:cfcc:ddad with SMTP id m35-20020a05683026e300b00688cfccddadmr1993642otu.1.1677271427099; Fri, 24 Feb 2023 12:43:47 -0800 (PST) MIME-Version: 1.0 References: <962dfb15-b259-b764-3085-8d6a942f5abb@leemhuis.info> In-Reply-To: From: Sasa Ostrouska Date: Fri, 24 Feb 2023 21:43:35 +0100 Message-ID: Subject: Re: Google Pixelbook EVE, no sound in kernel 6.1.x To: Linux regressions mailing list Cc: stable@vger.kernel.org, Pierre-Louis Bossart , Lukasz Majczak , Cezary Rojewski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, Feb 24, 2023 at 2:10 AM Sasa Ostrouska wrote: > > Hi again. I have today upgraded my slackware install pixelbook from > kernel 6.1.12 to 6.1.13 and this solved the issue of powering down the > notebook. Now it has no problem > to poweroff, I do not need anymore to keep the power button to switch > off. But the thing now is that I have no longer a working sound. > I see that for some reason the firmware seems is no longer loaded: > > root@goopix:~# dmesg | grep snd > [ 5.599427] snd_hda_intel 0000:00:1f.3: DSP detected with PCI > class/subclass/prog-if info 0x040100 > [ 5.907375] snd_soc_skl 0000:00:1f.3: DSP detected with PCI > class/subclass/prog-if info 0x040100 > [ 5.990054] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops > i915_audio_component_bind_ops [i915]) > [ 7.382484] snd_soc_skl 0000:00:1f.3: ASoC: no sink widget found > for AEC Capture > [ 7.382952] snd_soc_skl 0000:00:1f.3: ASoC: Failed to add route > echo_ref_out cpr 7 -> direct -> AEC Capture > [ 7.384409] snd_soc_skl 0000:00:1f.3: Direct firmware load for > intel/dsp_fw_kbl.bin failed with error -2 > [ 7.386037] snd_soc_skl 0000:00:1f.3: Request firmware failed -2 > [ 7.388099] snd_soc_skl 0000:00:1f.3: Load base fw failed : -5 > [ 7.390630] snd_soc_skl 0000:00:1f.3: Failed to boot first fw: -5 > [ 7.393598] snd_soc_skl 0000:00:1f.3: ASoC: error at > snd_soc_component_probe on 0000:00:1f.3: -5 > root@goopix:~# > > root@goopix:~# dmesg | grep kbl > [ 5.946463] i915 0000:00:02.0: [drm] Finished loading DMC firmware > i915/kbl_dmc_ver1_04.bin (v1.4) > [ 6.293440] kbl_r5514_5663_max kbl_r5514_5663_max: Failed to get > ssp1_mclk, defer probe > [ 7.383448] kbl_r5514_5663_max kbl_r5514_5663_max: ASoC: Parent > card not yet available, widget card binding deferred > [ 7.384409] snd_soc_skl 0000:00:1f.3: Direct firmware load for > intel/dsp_fw_kbl.bin failed with error -2 > [ 7.397157] kbl_r5514_5663_max kbl_r5514_5663_max: ASoC: failed to > instantiate card -5 > [ 7.399749] kbl_r5514_5663_max: probe of kbl_r5514_5663_max failed > with error -5 > root@goopix:~# > > But I have the firmware in place: > > root@goopix:~# ls -l /lib/firmware/9d71-GOOGLE-EVEMAX-0-tplg.bin > -rw-r--r-- 1 root root 37864 Jan 26 07:48 > /lib/firmware/9d71-GOOGLE-EVEMAX-0-tplg.bin > root@goopix:~# ls -l /lib/firmware/dsp* > -rw-r--r-- 1 root root 16556 Jan 26 07:49 > /lib/firmware/dsp_lib_dsm_core_spt_release.bin > > root@goopix:~# ls -l /lib/firmware/intel/dsp_fw_* > -rw-r--r-- 1 root root 73728 Jan 26 07:50 > /lib/firmware/intel/dsp_fw_C75061F3-F2B2-4DCC-8F9F-82ABB4131E66.bin > lrwxrwxrwx 1 root root 28 Feb 23 21:22 > /lib/firmware/intel/dsp_fw_bxtn.bin -> intel/avs/apl/dsp_basefw.bin > -rw-r--r-- 1 root root 505608 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_bxtn_v2219.bin > -rw-r--r-- 1 root root 505608 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_bxtn_v3366.bin > lrwxrwxrwx 1 root root 28 Feb 23 21:22 > /lib/firmware/intel/dsp_fw_cnl.bin -> intel/avs/cnl/dsp_basefw.bin > -rw-r--r-- 1 root root 583852 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_cnl_v1191.bin > -rw-r--r-- 1 root root 583852 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_cnl_v1858.bin > lrwxrwxrwx 1 root root 28 Feb 23 21:22 > /lib/firmware/intel/dsp_fw_glk.bin -> intel/avs/apl/dsp_basefw.bin > -rw-r--r-- 1 root root 505608 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_glk_v1814.bin > -rw-r--r-- 1 root root 505608 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_glk_v2768.bin > -rw-r--r-- 1 root root 505608 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_glk_v2880.bin > -rw-r--r-- 1 root root 505608 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_glk_v3366.bin > lrwxrwxrwx 1 root root 28 Feb 23 21:22 > /lib/firmware/intel/dsp_fw_kbl.bin -> intel/avs/skl/dsp_basefw.bin > -rw-r--r-- 1 root root 238920 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v1037.bin > -rw-r--r-- 1 root root 238920 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v2042.bin > -rw-r--r-- 1 root root 243016 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v2630.bin > -rw-r--r-- 1 root root 243016 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v3266.bin > -rw-r--r-- 1 root root 247112 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v3402.bin > -rw-r--r-- 1 root root 243016 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v3420.bin > -rw-r--r-- 1 root root 238920 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_kbl_v701.bin > lrwxrwxrwx 1 root root 28 Feb 23 21:22 > /lib/firmware/intel/dsp_fw_release.bin -> intel/avs/skl/dsp_basefw.bin > -rw-r--r-- 1 root root 247112 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_release_v3402.bin > -rw-r--r-- 1 root root 221184 Feb 22 22:10 > /lib/firmware/intel/dsp_fw_release_v969.bin > root@goopix:~# > > At least to me all seems in place. > Anybody can help me understand how to see why the firmware is not > loading or what could be the problem now ? > > Rgds > Sasa Sorry, please ignore this my last email as sound is working also on my slackware install with 6.1.13 , the problem was that my symlinks got broken in some way in /lib/firmware. Rgds Sasa > > On Thu, Feb 9, 2023 at 3:11 PM Sasa Ostrouska wrote: > > > > Hi, I dont know how much this is relevant but I am getting this kind > > of traces in dmesg on both, Salckware and Fedora installs. > > > > [ 16.286097] ------------[ cut here ]------------ > > [ 16.286100] memcpy: detected field-spanning write (size 100) of > > single field "cpr_mconfig->gtw_cfg.config_data" at > > sound/soc/intel/skylake/skl-messages.c:554 (size 4) > > [ 16.286128] WARNING: CPU: 1 PID: 1232 at > > sound/soc/intel/skylake/skl-messages.c:554 skl_init_module+0x757/0x770 > > [snd_soc_skl] > > [ 16.286156] Modules linked in: nf_nat_ftp nf_conntrack_ftp > > nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet > > nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 > > nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack > > nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink > > snd_soc_skl_ssp_clk snd_sof_pci_intel_skl snd_sof_intel_hda_common > > soundwire_intel soundwire_generic_allocation soundwire_cadence > > snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils > > qrtr soundwire_bus snd_soc_avs snd_soc_kbl_rt5663_rt5514_max98927 > > snd_soc_hda_codec cros_ec_light_prox cros_ec_sensors > > cros_ec_sensors_core bnep industrialio_triggered_buffer kfifo_buf > > snd_soc_hdac_hdmi snd_soc_dmic industrialio i2c_hid_acpi i2c_hid > > snd_soc_skl cros_ec_chardev snd_soc_hdac_hda cros_ec_sensorhub > > snd_hda_ext_core cros_usbpd_charger cros_ec_sysfs cros_usbpd_logger > > snd_soc_sst_ipc binfmt_misc iTCO_wdt snd_soc_sst_dsp > > snd_soc_acpi_intel_match intel_pmc_bxt > > [ 16.286215] iTCO_vendor_support intel_tcc_cooling > > x86_pkg_temp_thermal snd_soc_acpi intel_powerclamp coretemp kvm_intel > > snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi cros_ec_dev > > snd_hda_codec kvm intel_rapl_msr iwlmvm uvcvideo videobuf2_vmalloc > > irqbypass mac80211 rapl videobuf2_memops snd_hda_core videobuf2_v4l2 > > intel_cstate intel_uncore libarc4 pcspkr i2c_i801 sunrpc snd_hwdep > > videobuf2_common videodev i2c_smbus btusb btrtl spi_pxa2xx_platform > > dw_dmac btbcm iwlwifi btintel mc snd_soc_rt5663 btmtk snd_soc_rt5514 > > snd_soc_max98927 snd_soc_rt5514_spi snd_soc_rl6231 bluetooth > > snd_soc_core cfg80211 mei_me joydev snd_compress mei ac97_bus > > snd_pcm_dmaengine intel_pch_thermal rfkill idma64 snd_seq > > snd_seq_device snd_pcm snd_timer processor_thermal_device_pci_legacy > > processor_thermal_device snd cros_ec_i2c processor_thermal_rfim > > processor_thermal_mbox soundcore processor_thermal_rapl cros_ec_lpcs > > cros_ec tpm_tis_i2c_cr50 cros_usbpd_notify int3403_thermal > > intel_rapl_common > > [ 16.286285] int340x_thermal_zone intel_xhci_usb_role_switch > > int3400_thermal chromeos_pstore cros_kbd_led_backlight > > acpi_thermal_rel chromeos_acpi intel_soc_dts_iosf zram > > hid_logitech_hidpp hid_logitech_dj i915 drm_buddy video > > crct10dif_pclmul crc32_pclmul crc32c_intel wmi polyval_clmulni nvme > > polyval_generic drm_display_helper nvme_core sdhci_pci cqhci cec sdhci > > ghash_clmulni_intel hid_multitouch mmc_core sha512_ssse3 nvme_common > > serio_raw ttm pinctrl_sunrisepoint r8152 mii ip6_tables ip_tables fuse > > [last unloaded: i2c_hid] > > [ 16.286324] CPU: 1 PID: 1232 Comm: pulseaudio Not tainted > > 6.1.9-201.pixelbook.fc37.x86_64 #1 > > [ 16.286328] Hardware name: Google Eve/Eve, BIOS > > Google_Eve.9584.230.0 09/06/2021 > > [ 16.286330] RIP: 0010:skl_init_module+0x757/0x770 [snd_soc_skl] > > [ 16.286355] Code: bd fe ff ff b9 04 00 00 00 4c 89 fe 4c 89 04 24 > > 48 c7 c2 00 e7 42 c1 48 c7 c7 58 e7 42 c1 c6 05 0e 36 02 00 01 e8 3f > > 1b 95 fb <0f> 0b 4c 8b 04 24 e9 8c fe ff ff e9 96 ab 00 00 66 0f 1f 84 > > 00 00 > > [ 16.286358] RSP: 0000:ffffb3c2816c7ae0 EFLAGS: 00010296 > > [ 16.286362] RAX: 000000000000009a RBX: ffff8d7ce355e028 RCX: 0000000000000000 > > [ 16.286364] RDX: 0000000000000001 RSI: ffffffffbd74c48b RDI: 00000000ffffffff > > [ 16.286366] RBP: ffff8d7cc3854028 R08: 0000000000000000 R09: ffffb3c2816c7980 > > [ 16.286368] R10: 0000000000000003 R11: ffffffffbe1465a8 R12: 00000000000000b8 > > [ 16.286370] R13: 00000000000000b8 R14: ffff8d7d0d73c840 R15: 0000000000000064 > > [ 16.286372] FS: 00007fcb6eca02c0(0000) GS:ffff8d802ec80000(0000) > > knlGS:0000000000000000 > > [ 16.286375] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 16.286377] CR2: 00002dc17c298000 CR3: 000000016ccfa004 CR4: 00000000003706e0 > > [ 16.286379] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > > [ 16.286381] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > > [ 16.286382] Call Trace: > > [ 16.286386] > > [ 16.286391] skl_tplg_mixer_event+0x72f/0xd20 [snd_soc_skl] > > [ 16.286412] ? __schedule+0x367/0x1360 > > [ 16.286420] dapm_seq_check_event+0x108/0x1c0 [snd_soc_core] > > [ 16.286464] dapm_seq_run_coalesced+0x84/0x1c0 [snd_soc_core] > > [ 16.286501] dapm_seq_run+0x16e/0x3e0 [snd_soc_core] > > [ 16.286542] dapm_power_widgets+0x5db/0xa40 [snd_soc_core] > > [ 16.286581] snd_soc_dapm_stream_event+0xf5/0x170 [snd_soc_core] > > [ 16.286619] __soc_pcm_prepare+0x53/0xf0 [snd_soc_core] > > [ 16.286659] dpcm_fe_dai_prepare+0xac/0x150 [snd_soc_core] > > [ 16.286699] snd_pcm_do_prepare+0x26/0x40 [snd_pcm] > > [ 16.286718] snd_pcm_action_single+0x33/0x80 [snd_pcm] > > [ 16.286733] snd_pcm_action_nonatomic+0x95/0xa0 [snd_pcm] > > [ 16.286749] snd_pcm_ioctl+0x23/0x40 [snd_pcm] > > [ 16.286764] __x64_sys_ioctl+0x8d/0xd0 > > [ 16.286770] do_syscall_64+0x58/0x80 > > [ 16.286774] ? syscall_exit_to_user_mode+0x17/0x40 > > [ 16.286777] ? do_syscall_64+0x67/0x80 > > [ 16.286780] ? snd_pcm_ioctl+0x23/0x40 [snd_pcm] > > [ 16.286795] ? __x64_sys_ioctl+0x8d/0xd0 > > [ 16.286799] ? syscall_exit_to_user_mode+0x17/0x40 > > [ 16.286801] ? do_syscall_64+0x67/0x80 > > [ 16.286805] entry_SYSCALL_64_after_hwframe+0x63/0xcd > > [ 16.286809] RIP: 0033:0x7fcb6f593d6f > > [ 16.286841] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 > > 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 > > 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 > > 00 00 > > [ 16.286843] RSP: 002b:00007ffe5ea27370 EFLAGS: 00000246 ORIG_RAX: > > 0000000000000010 > > [ 16.286847] RAX: ffffffffffffffda RBX: 0000563cd8d93160 RCX: 00007fcb6f593d6f > > [ 16.286849] RDX: 0000000000000000 RSI: 0000000000004140 RDI: 0000000000000015 > > [ 16.286851] RBP: 0000000000000000 R08: 00000000000012bd R09: 00007ffe5ea27324 > > [ 16.286853] R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffe5ea27aa4 > > [ 16.286855] R13: 00007ffe5ea27680 R14: 00007ffe5ea27a90 R15: 00007fcb6ec07290 > > [ 16.286861] > > [ 16.286863] ---[ end trace 0000000000000000 ]--- > > > > Seems sound related. Also I suffer from not be able to reboot or > > powerdown on Slackware with 6.1.8,6.1.9 and 6.1.10 kernels. > > > > Rgds > > Sasa > > > > On Fri, Jan 27, 2023 at 11:06 AM Sasa Ostrouska wrote: > > > > > > Hi Lucasz, I don't know if this could be relevant, but when I > > > installed slackware64-current on the other pixelbook I have the sound > > > works with > > > kernel 6.1.8 but not all the time and seems there are some crashes of > > > the sound. Also it is very amplified. > > > I attach the dmesg here.