No audio on GPD pocket 1 with Linux 5.15 / intel-sof hits UBSAN
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-
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-
ProcVersionSign
Uname: Linux 5.15.0-56-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
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-
UpgradeStatus: Upgraded to focal on 2021-09-07 (480 days ago)
mtime.conffile.
UBSAN excerpt from dmesg (plus a few lines before that):
[ 55.506132] wl: loading out-of-tree module taints kernel. acpi-intel- byt 808622A8:00: Firmware info: version 1:6:0-e9637 acpi-intel- byt 808622A8:00: Firmware: ABI 3:17:0 Kernel ABI 3:18:0 platform/ ACPI0011: 00/gpio- keys.1. auto/input/ input11 platform/ ACPI0011: 00/gpio- keys.2. auto/input/ input12 acpi-intel- byt 808622A8:00: Topology: ABI 3:17:0 Kernel ABI 3:18:0 acpi-intel- byt 808622A8:00: ASoC: Parent card not yet available, widget card binding deferred ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === linux-hwe- 5.15-jemPrJ/ linux-hwe- 5.15-5. 15.0/sound/ soc/soc- dapm.c: 815:15 handle_ shift_out_ of_bounds. cold+0x61/ 0x10e resched+ 0x19/0x40 dapm_add_ path.cold+ 0x87/0x135 [snd_soc_core] dapm_add_ route+0xfb/ 0x320 [snd_soc_core] add_replace+ 0x175/0x1e0 [snd] add_replace+ 0x53/0xa0 [snd] dapm_add_ routes+ 0x50/0x90 [snd_soc_core] component+ 0x21a/0x2a0 [snd_soc_core] bind_card+ 0x52e/0x8b0 [snd_soc_core] register_ card+0x154/ 0x170 [snd_soc_core] soc_register_ card+0x48/ 0x90 [snd_soc_core] mc_probe+ 0x45c/0x610 [snd_soc_ sst_cht_ bsw_rt5645] add_one+ 0xe6/0x130 pm_attach+ 0x25/0xd0 probe+0x49/ 0xd0 probe.part. 0+0xcb/ 0x380 probe+0x40/ 0x80 probe_device+ 0x119/0x190 probe_device+ 0x23/0xb0 attach+ 0xbd/0x170 attach_ driver+ 0x120/0x120 each_dev+ 0x7e/0xd0 attach+ 0x1e/0x30 driver+ 0x178/0x220 register+ 0x74/0xe0 driver_ register+ 0x1e/0x30 mc_driver_ init+0x1c/ 0x1000 [snd_soc_ sst_cht_ bsw_rt5645]
[ 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-
[ 56.017082] sof-audio-
[ 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/
[ 56.464522] input: gpio-keys as /devices/
[ 56.817561] brcmfmac 0000:01:00.0 wlp1s0: renamed from wlan0
[ 56.897941] sof-audio-
[ 56.908253] sof-audio-
[ 56.917561] =======
[ 56.920605] UBSAN: shift-out-of-bounds in /build/
[ 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_
[ 56.926809] ? __cond_
[ 56.926817] snd_soc_
[ 56.926864] snd_soc_
[ 56.926896] ? __snd_ctl_
[ 56.926916] ? snd_ctl_
[ 56.926929] snd_soc_
[ 56.926961] soc_probe_
[ 56.926990] snd_soc_
[ 56.927020] snd_soc_
[ 56.927049] devm_snd_
[ 56.927081] snd_cht_
[ 56.927089] ? kernfs_
[ 56.927096] ? acpi_dev_
[ 56.927102] platform_
[ 56.927108] really_
[ 56.927113] really_
[ 56.927117] __driver_
[ 56.927120] driver_
[ 56.927124] __driver_
[ 56.927128] ? __device_
[ 56.927131] bus_for_
[ 56.927137] driver_
[ 56.927140] bus_add_
[ 56.927144] driver_
[ 56.927148] ? 0xffffffffc0f05000
[ 56.927151] __platform_
[ 56.927155] snd_cht_
[ 56.927161] do_one...