Bug 1248270 - Kernel 6.16.x hangs when loading firmware using snd_hda_scodec_tas2781_i2c module
Summary: Kernel 6.16.x hangs when loading firmware using snd_hda_scodec_tas2781_i2c mo...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-19 11:33 UTC by Michael Gumsley
Modified: 2025-08-26 06:05 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Kernel log 6.16.1 (179.25 KB, text/plain)
2025-08-19 11:33 UTC, Michael Gumsley
Details
Kernel 6.16.1 log with KASAN (244.01 KB, text/plain)
2025-08-19 12:51 UTC, Michael Gumsley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gumsley 2025-08-19 11:33:31 UTC
Created attachment 885069 [details]
Kernel log 6.16.1

System: Lenovo Yoga 7 (14ARB7) bios K5CN48WW. Ryzen 6800U / 16GB.

System hangs during loading of tas2xxx i2c firmware under Kernel 6.16.x. On the rare occasion that the system does boot there is no sound.

This does not happen if blacklisting snd_hda_scodec_tas2781_i2c module i.e.
modprobe.blacklist=snd_hda_scodec_tas2781_i2c

However if the module is blacklisted the audio is incredibly quiet as opposed to disabled in the above case as the amp never gets its calibration data.

This behaviour does not occur on Kernel 6.15.8.

I noticed there was substantial activity on the TAS2781 driver between 6.15 and 6.16 but haven't had the time to bisect.

Log attached for a hung boot (oops at line 1681).
Comment 1 Takashi Iwai 2025-08-19 12:16:41 UTC
Thanks for the report.
There seems some memory corruption or such happening before the actual crash.

Could you try to test with the kernel in OBS home:tiwai:kernel:stable-kasan repo?
  https://download.opensuse.org/repositories/home:/tiwai:/kernel:/stable-kasan/standard/
It might catch the problem a bit earlier.
Comment 2 Michael Gumsley 2025-08-19 12:51:42 UTC
Created attachment 885072 [details]
Kernel 6.16.1 log with KASAN

Thanks, I've run the Kernel and attached the log it generated (kernel_log_kasan.txt)
Comment 3 Takashi Iwai 2025-08-19 13:42:03 UTC
Thanks!  It showed the memory corruption indeed, and I believe I found the culprit.

A test kernel with the fix patch is being built now in OBS home:tiwai:bsc1248270 repo.  Once after the build finishes (takes an hour or so), it'll appear at
  https://download.opensuse.org/repositories/home:/tiwai:/bsc1248270/standard/

Please give it a try later.  Once after confirming it works, I'll submit the fix patch to the upstream and handle there.
Comment 4 Takashi Iwai 2025-08-19 16:42:31 UTC
The kernel is ready for testing.  I built only kernel-default there.
Comment 5 Michael Gumsley 2025-08-19 21:43:18 UTC
The new kernel seems to be working, thanks! The system boots successfully and audio is behaving as expected.
Comment 6 Takashi Iwai 2025-08-20 05:30:56 UTC
Thanks for confirmation.  Now I submitted the fix (and merged):
  https://patch.msgid.link/20250820051902.4523-1-tiwai@suse.de

The PR to stable branch is sent out, too.

The fix will be included in the TW update kernel likely along with 6.16.2 update.
Comment 7 OBSbugzilla Bot 2025-08-21 05:15:07 UTC
This is an autogenerated message for OBS integration:
This bug (1248270) was mentioned in
https://build.opensuse.org/request/show/1300579 Factory / kernel-source
Comment 8 OBSbugzilla Bot 2025-08-25 06:05:17 UTC
This is an autogenerated message for OBS integration:
This bug (1248270) was mentioned in
https://build.opensuse.org/request/show/1301174 Factory / kernel-source
Comment 9 OBSbugzilla Bot 2025-08-26 06:05:10 UTC
This is an autogenerated message for OBS integration:
This bug (1248270) was mentioned in
https://build.opensuse.org/request/show/1301354 Factory / kernel-source