No audio on GPD pocket 1 with Linux 5.15 / intel-sof hits UBSAN

Bug #2000843 reported by Tom Reynolds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.15 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have no audio output on internal speaker (headphones untested) with HWE kernel (5.15.0-56-generic). Audio does work on GA kernel (5.4.0-135-generic).

It appears that due to UBSAN striking against intel-sof, the codec is not loaded properly during boot - but I may be misinterpreting this.

Kernel tainted due to wl.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.15.0-56-generic 5.15.0-56.62~20.04.1
ProcVersionSignature: Ubuntu 5.15.0-56.62~20.04.1-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Jan 1 21:19:16 2023
InstallationDate: Installed on 2018-01-28 (1799 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
SourcePackage: linux-signed-hwe-5.15
UpgradeStatus: Upgraded to focal on 2021-09-07 (480 days ago)
mtime.conffile..etc.apport.crashdb.conf: 2019-10-29T13:43:56.309114

Revision history for this message
Tom Reynolds (tomreyn) wrote :
Revision history for this message
Tom Reynolds (tomreyn) wrote :
Revision history for this message
Tom Reynolds (tomreyn) wrote :
Revision history for this message
Tom Reynolds (tomreyn) wrote :
Download full text (13.5 KiB)

UBSAN excerpt from dmesg (plus a few lines before that):

[ 55.506132] wl: loading out-of-tree module taints kernel.
[ 55.506147] wl: module license 'MIXED/Proprietary' taints kernel.
[ 55.506149] Disabling lock debugging due to kernel taint
[ 55.516025] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 56.017067] sof-audio-acpi-intel-byt 808622A8:00: Firmware info: version 1:6:0-e9637
[ 56.017082] sof-audio-acpi-intel-byt 808622A8:00: Firmware: ABI 3:17:0 Kernel ABI 3:18:0
[ 56.346079] intel_rapl_common: Found RAPL domain package
[ 56.346087] intel_rapl_common: Found RAPL domain core
[ 56.443742] input: gpio-keys as /devices/platform/ACPI0011:00/gpio-keys.1.auto/input/input11
[ 56.464522] input: gpio-keys as /devices/platform/ACPI0011:00/gpio-keys.2.auto/input/input12
[ 56.817561] brcmfmac 0000:01:00.0 wlp1s0: renamed from wlan0
[ 56.897941] sof-audio-acpi-intel-byt 808622A8:00: Topology: ABI 3:17:0 Kernel ABI 3:18:0
[ 56.908253] sof-audio-acpi-intel-byt 808622A8:00: ASoC: Parent card not yet available, widget card binding deferred
[ 56.917561] ================================================================================
[ 56.920605] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-jemPrJ/linux-hwe-5.15-5.15.0/sound/soc/soc-dapm.c:815:15
[ 56.923682] shift exponent 16384 is too large for 32-bit type 'unsigned int'
[ 56.926763] CPU: 0 PID: 444 Comm: systemd-udevd Tainted: P OE 5.15.0-56-generic #62~20.04.1-Ubuntu
[ 56.926769] Hardware name: Default string Default string/Default string, BIOS 5.11 08/07/2017
[ 56.926773] Call Trace:
[ 56.926777] <TASK>
[ 56.926804] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e
[ 56.926809] ? __cond_resched+0x19/0x40
[ 56.926817] snd_soc_dapm_add_path.cold+0x87/0x135 [snd_soc_core]
[ 56.926864] snd_soc_dapm_add_route+0xfb/0x320 [snd_soc_core]
[ 56.926896] ? __snd_ctl_add_replace+0x175/0x1e0 [snd]
[ 56.926916] ? snd_ctl_add_replace+0x53/0xa0 [snd]
[ 56.926929] snd_soc_dapm_add_routes+0x50/0x90 [snd_soc_core]
[ 56.926961] soc_probe_component+0x21a/0x2a0 [snd_soc_core]
[ 56.926990] snd_soc_bind_card+0x52e/0x8b0 [snd_soc_core]
[ 56.927020] snd_soc_register_card+0x154/0x170 [snd_soc_core]
[ 56.927049] devm_snd_soc_register_card+0x48/0x90 [snd_soc_core]
[ 56.927081] snd_cht_mc_probe+0x45c/0x610 [snd_soc_sst_cht_bsw_rt5645]
[ 56.927089] ? kernfs_add_one+0xe6/0x130
[ 56.927096] ? acpi_dev_pm_attach+0x25/0xd0
[ 56.927102] platform_probe+0x49/0xd0
[ 56.927108] really_probe.part.0+0xcb/0x380
[ 56.927113] really_probe+0x40/0x80
[ 56.927117] __driver_probe_device+0x119/0x190
[ 56.927120] driver_probe_device+0x23/0xb0
[ 56.927124] __driver_attach+0xbd/0x170
[ 56.927128] ? __device_attach_driver+0x120/0x120
[ 56.927131] bus_for_each_dev+0x7e/0xd0
[ 56.927137] driver_attach+0x1e/0x30
[ 56.927140] bus_add_driver+0x178/0x220
[ 56.927144] driver_register+0x74/0xe0
[ 56.927148] ? 0xffffffffc0f05000
[ 56.927151] __platform_driver_register+0x1e/0x30
[ 56.927155] snd_cht_mc_driver_init+0x1c/0x1000 [snd_soc_sst_cht_bsw_rt5645]
[ 56.927161] do_one...

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.