[X1 Carbon 7th ed] 5.3.0-42 loses internal audio; regression from 5.3.0-40

Bug #1868165 reported by Pete Gamache
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a Lenovo ThinkPad X1 Carbon 7th edition laptop running Ubuntu 19.10 desktop. I recently applied a software update that contained a new kernel, 5.3.0-42, and upon restarting, the internal audio interface was not found; internal speakers and the headphone output were unusable.

Upon rebooting with the previous kernel, 5.3.0-40, the problem went away again. Subsequent testing confirms this is repeatable.

Some relevant lines from `dmesg` follow.

On kernel 5.3.0-40 (working):

[ 4.386007] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.391825] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 4.392016] thermal thermal_zone5: failed to read out thermal zone (-61)
[ 4.430083] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC285: line_outs=2 (0x14/0x17/0x0/0x0/0x0) type:speaker
[ 4.430085] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.430087] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 4.430087] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 4.430088] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 4.430089] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19

On kernel 5.3.0-42 (broken):

[ 3.076809] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[ 3.088029] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.173463] snd_soc_skl 0000:00:1f.3: Direct firmware load for 9dc8-LENOVO-TP-N2H-4752-tplg.bin failed with error -2
[ 3.173465] snd_soc_skl 0000:00:1f.3: tplg fw 9dc8-LENOVO-TP-N2H-4752-tplg.bin load failed with -2, falling back to dfw_sst.bin
[ 3.173480] snd_soc_skl 0000:00:1f.3: Direct firmware load for dfw_sst.bin failed with error -2
[ 3.173481] snd_soc_skl 0000:00:1f.3: Fallback tplg fw dfw_sst.bin load failed with -2
[ 3.173484] snd_soc_skl 0000:00:1f.3: Failed to init topology!
[ 3.173486] snd_soc_skl 0000:00:1f.3: ASoC: failed to probe component -2
[ 3.173496] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -2
[ 3.173508] skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -2

I've attached `lspci -vnvn` and `dmesg` output for both the -40 and -42 kernels.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: linux-image-5.3.0-40-generic 5.3.0-40.32
ProcVersionSignature: Ubuntu 5.3.0-40.32-generic 5.3.18
Uname: Linux 5.3.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gamache 1768 F.... pulseaudio
 /dev/snd/controlC1: gamache 1768 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 19 15:08:14 2020
InstallationDate: Installed on 2019-11-21 (119 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 20QD0007US
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID=90290cff-6557-4384-b8a9-1b83f860ea01 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.3.0-40-generic N/A
 linux-backports-modules-5.3.0-40-generic N/A
 linux-firmware 1.183.4
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/21/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2HET46W (1.29 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20QD0007US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2HET46W(1.29):bd02/21/2020:svnLENOVO:pn20QD0007US:pvrThinkPadX1Carbon7th:rvnLENOVO:rn20QD0007US:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon 7th
dmi.product.name: 20QD0007US
dmi.product.sku: LENOVO_MT_20QD_BU_Think_FM_ThinkPad X1 Carbon 7th
dmi.product.version: ThinkPad X1 Carbon 7th
dmi.sys.vendor: LENOVO

Revision history for this message
Pete Gamache (gamache) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Michal (mmichalowicz) wrote :

Same here. Ubuntu 18.04, vmlinuz-5.3.0-42-generic.

Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-5.3.0-42-generic root=UUID=7e1c919e-4854-4380-8eb8-203e455c0fdf ro acpi_rev_override=1 acpi_osi=Linux acpi=strict nouveau.modeset=0 drm.vblankoffdelay=1 scsi_mod.use_blk_mq=1 nouveau.runpm=0 mem_sleep_default=deep cgroup_enable=memory swapaccount=1 i915.modeset=1 intel_pstate=enable intel_iommu=on rd.driver.blacklist=nouveau

HP Spectre x360 15-df0002na Intel(R) Core(TM) i7-8750H

Revision history for this message
Michal (mmichalowicz) wrote :

Forgot to add kernel config diff :
< # Linux/x86 5.3.0-40-generic Kernel Configuration
---
> # Linux/x86 5.3.0-42-generic Kernel Configuration
41c41
< CONFIG_VERSION_SIGNATURE="Ubuntu 5.3.0-40.32~18.04.1-generic 5.3.18"
---
> CONFIG_VERSION_SIGNATURE="Ubuntu 5.3.0-42.34~18.04.1-generic 5.3.18"
6550a6551
> CONFIG_SND_HDA_INTEL_DETECT_DMIC=y
6577a6579
> CONFIG_SND_INTEL_NHLT=m
9637d9638
< CONFIG_ALLOW_LOCKDOWN_LIFT_BY_SYSRQ=y

Revision history for this message
Hui Wang (hui.wang) wrote :

please try with 5.3.0-43 kernel.

Revision history for this message
Pete Gamache (gamache) wrote :

This issue is still broken with -43 and -45 kernels.

Revision history for this message
Ethan Lin (mainsystemadmin) wrote (last edit ):
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.