Message ID | 20200305162948.21062-1-anthony.wong@canonical.com |
---|---|
State | New |
Headers | show |
Series | [Focal,Pull,linux-firmware] update sof firmwares to v1.4.2 | expand |
On Fri, Mar 06, 2020 at 12:29:48AM +0800, anthony.wong@canonical.com wrote: > BugLink: https://bugs.launchpad.net/bugs/1860697 > > The following changes since commit cbbd5d5d14e09477548fa64a0bd505d56366a38e: > > UBUNTU: Ubuntu-1.186 (2020-01-31 09:48:22 -0600) > > are available in the Git repository at: > > https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-firmware focal-sof-1.4.2 > > for you to fetch changes up to 460149828f5f97e3405db3c671698d5f10577f50: > > UBUNTU: SAUCE: update sof firmwares to v1.4.2 (2020-03-05 23:11:03 +0800) I have a gen 7 x1 carbon, so I decided to give this firmware a try. With these files in /lib/firmware and without snd-hda-intel.dmic_detect=0 my machine hung during boot, and I see some errors in dmesg. I've pasted in everything which looks relevant below. I know there are some sof patches still on the list. Do any of those fix this issue? Thanks, Seth sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380 sof-audio-pci 0000:00:1f.3: use msi interrupt mode ... sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) ... sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5 sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now ... sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised! sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0 ... sof-audio-pci 0000:00:1f.3: Firmware info: version 1:4:2-66a5a sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:10:0 sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel sof-audio-pci 0000:00:1f.3: firmware boot complete BUG: unable to handle page fault for address: 000004e200000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] SMP NOPTI CPU: 6 PID: 182 Comm: kworker/6:1 Not tainted 5.4.0-17-generic #21-Ubuntu Hardware name: LENOVO 20R1000RUS/20R1000RUS, BIOS N2QET14W (1.08 ) 10/08/2019 Workqueue: events sof_probe_work [snd_sof] RIP: 0010:strlen+0x0/0x20 Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31 RSP: 0018:ffffb61b8038fcd8 EFLAGS: 00010206 RAX: ffff9c83a1fa7300 RBX: ffff9c83a1301018 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000000000cc0 RDI: 000004e200000000 RBP: ffffb61b8038fcf8 R08: ffff9c83b05af0e0 R09: ffff9c83ae8072c0 R10: 0000000000000dc0 R11: 0000000001320122 R12: 000004e200000000 R13: ffffffffc0b5fec0 R14: 0000000000000cc0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff9c83b0580000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000004e200000000 CR3: 0000000466a20001 CR4: 00000000003606e0 Call Trace: ? kstrdup+0x1f/0x60 soc_add_dai+0x72/0x180 [snd_soc_core] snd_soc_add_component+0x165/0x2e0 [snd_soc_core] snd_soc_register_component+0x43/0x60 [snd_soc_core] devm_snd_soc_register_component+0x52/0xa0 [snd_soc_core] sof_probe_work+0x105/0x230 [snd_sof] ? __switch_to_asm+0x40/0x70 ? __switch_to_asm+0x34/0x70 ? __schedule+0x2eb/0x740 ? _cond_resched+0x19/0x30 process_one_work+0x1eb/0x3b0 worker_thread+0x4d/0x400 kthread+0x104/0x140 ? process_one_work+0x3b0/0x3b0 ? kthread_park+0x90/0x90 ret_from_fork+0x1f/0x40 Modules linked in: mei_hdcp intel_rapl_msr x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi snd_hda_codec_realtek kvm_intel snd_hda_codec_generic kvm joydev nls_iso8859_1 snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc crct10dif_pclmul snd_sof snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi ghash_clmulni_intel snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine i915 uvcvideo snd_hda_intel snd_intel_nhlt videobuf2_vmalloc aesni_intel btusb snd_hda_codec iwlmvm videobuf2_memops crypto_simd videobuf2_v4l2 cryptd btrtl glue_helper btbcm snd_hda_core btintel intel_cstate mac80211 snd_hwdep videobuf2_common intel_rapl_perf drm_kms_helper bluetooth libarc4 videodev drm input_leds serio_raw thinkpad_acpi i2c_algo_bit nvram fb_sys_fops snd_seq_midi syscopyarea snd_pcm ledtrig_audio mc iwlwifi ecdh_generic hid_multitouch ecc mei_me wmi_bmof processor_thermal_device intel_wmi_thunderbolt snd_seq_midi_event ucsi_acpi intel_rapl_common typec_ucsi sysfillrect cfg80211 mei sysimgblt intel_soc_dts_iosf snd_rawmidi typec snd_seq snd_seq_device snd_timer snd int3403_thermal int340x_thermal_zone soundcore int3400_thermal acpi_tad acpi_pad acpi_thermal_rel mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c uas usb_storage hid_generic nvme crc32_pclmul i2c_hid psmouse hid e1000e thunderbolt intel_lpss_pci i2c_i801 intel_lpss nvme_core idma64 virt_dma wmi pinctrl_cannonlake video pinctrl_intel CR2: 000004e200000000 ---[ end trace 9e47b7e6f3c04c22 ]--- RIP: 0010:strlen+0x0/0x20 Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31 RSP: 0018:ffffb61b8038fcd8 EFLAGS: 00010206 RAX: ffff9c83a1fa7300 RBX: ffff9c83a1301018 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000000000cc0 RDI: 000004e200000000 RBP: ffffb61b8038fcf8 R08: ffff9c83b05af0e0 R09: ffff9c83ae8072c0 R10: 0000000000000dc0 R11: 0000000001320122 R12: 000004e200000000 R13: ffffffffc0b5fec0 R14: 0000000000000cc0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff9c83b0580000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000004e200000000 CR3: 0000000466a20001 CR4: 00000000003606e0
On Fri, Mar 06, 2020 at 02:45:41PM -0600, Seth Forshee wrote: > On Fri, Mar 06, 2020 at 12:29:48AM +0800, anthony.wong@canonical.com wrote: > > BugLink: https://bugs.launchpad.net/bugs/1860697 > > > > The following changes since commit cbbd5d5d14e09477548fa64a0bd505d56366a38e: > > > > UBUNTU: Ubuntu-1.186 (2020-01-31 09:48:22 -0600) > > > > are available in the Git repository at: > > > > https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-firmware focal-sof-1.4.2 > > > > for you to fetch changes up to 460149828f5f97e3405db3c671698d5f10577f50: > > > > UBUNTU: SAUCE: update sof firmwares to v1.4.2 (2020-03-05 23:11:03 +0800) > > I have a gen 7 x1 carbon, so I decided to give this firmware a try. With > these files in /lib/firmware and without snd-hda-intel.dmic_detect=0 my > machine hung during boot, and I see some errors in dmesg. I've pasted in > everything which looks relevant below. > > I know there are some sof patches still on the list. Do any of those fix > this issue? The current focal-proposed kernel (5.4.0-18.22) has all the sof patches from the list, and I don't see this issue anymore, so I guess this firmware is okay to go in once that kernel is in the release pocket. However I will note that audio still doesn't work optimally on my lapttop. The speaker volume is very low, and the internal microphone doesn't seem to be working at all. Are these known issues, or should I file a bug? Seth
On 2020/3/10 下午11:03, Seth Forshee wrote: > On Fri, Mar 06, 2020 at 02:45:41PM -0600, Seth Forshee wrote: >> On Fri, Mar 06, 2020 at 12:29:48AM +0800, anthony.wong@canonical.com wrote: >>> BugLink: https://bugs.launchpad.net/bugs/1860697 >>> >>> The following changes since commit cbbd5d5d14e09477548fa64a0bd505d56366a38e: >>> >>> UBUNTU: Ubuntu-1.186 (2020-01-31 09:48:22 -0600) >>> >>> are available in the Git repository at: >>> >>> https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-firmware focal-sof-1.4.2 >>> >>> for you to fetch changes up to 460149828f5f97e3405db3c671698d5f10577f50: >>> >>> UBUNTU: SAUCE: update sof firmwares to v1.4.2 (2020-03-05 23:11:03 +0800) >> I have a gen 7 x1 carbon, so I decided to give this firmware a try. With >> these files in /lib/firmware and without snd-hda-intel.dmic_detect=0 my >> machine hung during boot, and I see some errors in dmesg. I've pasted in >> everything which looks relevant below. >> >> I know there are some sof patches still on the list. Do any of those fix >> this issue? > The current focal-proposed kernel (5.4.0-18.22) has all the sof patches > from the list, and I don't see this issue anymore, so I guess this > firmware is okay to go in once that kernel is in the release pocket. > However I will note that audio still doesn't work optimally on my > lapttop. The speaker volume is very low, and the internal microphone > doesn't seem to be working at all. Are these known issues, or should I > file a bug? The problem of speaker volume is a known issue. And if the speaker could work, it means the the kernel + firmware works. We also need to manually install/upgrade alsa-ucm-conf and the pulseauido-13.99, then the mic will work. There is already a public bug to track integrating the alsa-ucm-conf into the 20.04 image. > Seth >
On Wed, Mar 11, 2020 at 11:41:24AM +0800, Hui Wang wrote: > > On 2020/3/10 下午11:03, Seth Forshee wrote: > > On Fri, Mar 06, 2020 at 02:45:41PM -0600, Seth Forshee wrote: > > > On Fri, Mar 06, 2020 at 12:29:48AM +0800, anthony.wong@canonical.com wrote: > > > > BugLink: https://bugs.launchpad.net/bugs/1860697 > > > > > > > > The following changes since commit cbbd5d5d14e09477548fa64a0bd505d56366a38e: > > > > > > > > UBUNTU: Ubuntu-1.186 (2020-01-31 09:48:22 -0600) > > > > > > > > are available in the Git repository at: > > > > > > > > https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-firmware focal-sof-1.4.2 > > > > > > > > for you to fetch changes up to 460149828f5f97e3405db3c671698d5f10577f50: > > > > > > > > UBUNTU: SAUCE: update sof firmwares to v1.4.2 (2020-03-05 23:11:03 +0800) > > > I have a gen 7 x1 carbon, so I decided to give this firmware a try. With > > > these files in /lib/firmware and without snd-hda-intel.dmic_detect=0 my > > > machine hung during boot, and I see some errors in dmesg. I've pasted in > > > everything which looks relevant below. > > > > > > I know there are some sof patches still on the list. Do any of those fix > > > this issue? > > The current focal-proposed kernel (5.4.0-18.22) has all the sof patches > > from the list, and I don't see this issue anymore, so I guess this > > firmware is okay to go in once that kernel is in the release pocket. > > However I will note that audio still doesn't work optimally on my > > lapttop. The speaker volume is very low, and the internal microphone > > doesn't seem to be working at all. Are these known issues, or should I > > file a bug? > > The problem of speaker volume is a known issue. And if the speaker could > work, it means the the kernel + firmware works. We also need to manually > install/upgrade alsa-ucm-conf and the pulseauido-13.99, then the mic will > work. There is already a public bug to track integrating the alsa-ucm-conf > into the 20.04 image. Thanks. I confirmed that the mic works with alsa-ucm-conf and pulseauido-13.99.
On Fri, Mar 06, 2020 at 12:29:48AM +0800, anthony.wong@canonical.com wrote: > BugLink: https://bugs.launchpad.net/bugs/1860697 > > The following changes since commit cbbd5d5d14e09477548fa64a0bd505d56366a38e: > > UBUNTU: Ubuntu-1.186 (2020-01-31 09:48:22 -0600) > > are available in the Git repository at: > > https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-firmware focal-sof-1.4.2 > > for you to fetch changes up to 460149828f5f97e3405db3c671698d5f10577f50: > > UBUNTU: SAUCE: update sof firmwares to v1.4.2 (2020-03-05 23:11:03 +0800) Applied for focal, thanks!