No audio after updating from 10.0 to 10.1 - Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)

I did the mistake of allowing my AlmaLinux x86_64_v2 update from 10.0 to 10.1. I was not aware that the option “install software updates” when turning the system down would do that. After it turned on again, there is no audio anymore.

This command:

lspci | grep -i audio

returns:

Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)

This additional information may be useful too:

$ sudo dmesg | grep hda
[ 35.452433] snd_hda_intel 0000:00:1b.0: enabling device (0000 → 0002)
[ 35.452673] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
[ 35.453071] snd_hda_intel 0000:00:1b.0: number of I/O streams is 30, forcing separate stream tags
[ 35.557639] snd_hda_intel 0000:00:1b.0: CORB reset timeout#2, CORBRP = 65535
[ 35.557804] hdaudio hdaudioC0D0: no AFG or MFG node found
[ 35.557819] hdaudio hdaudioC0D1: no AFG or MFG node found
[ 35.557829] hdaudio hdaudioC0D2: no AFG or MFG node found
[ 35.557850] hdaudio hdaudioC0D3: no AFG or MFG node found
[ 35.557855] snd_hda_intel 0000:00:1b.0: no codecs initialized

I’ve chatted with Perplexity Pro and it suggested me to create, and change the following file:

  • /etc/modprobe.d/snd-hda-intel.conf

I’ve tried setting these options, then rebooting, and it did not solve my problem:

  1. options snd-hda-intel model=generic;
  2. options snd-hda-intel model=laptop;
  3. options snd-hda-intel model=auto;
  4. options snd-hda-intel model=ref.

Maybe the kernel upgrade from 6.12.0-55 to 6.12.0-124 between 10.0 and 10.1 is the culprit?

I’m not replacing this notebook. It was recently bought second hand to run GNU/Linux. Is there anything I can do to restore audio in order to be able to keep using AlmaLinux?

ChatGPT Free told me to check if the 10.0’s kernel was still in my machine, and it still was:

$ rpm -q kernel kernel-core
kernel-6.12.0-55.31.1.el10_0.x86_64_v2
kernel-6.12.0-124.20.1.el10_1.x86_64_v2
kernel-core-6.12.0-55.31.1.el10_0.x86_64_v2
kernel-core-6.12.0-124.20.1.el10_1.x86_64_v2

So it told me to set the 10.0’s kernel as default with this command, and reboot:

sudo grubby --set-default /boot/vmlinuz-6.12.0-55.31.1.el10_0.x86_64_v2

The audio resumed working, and I confirmed with uname -r that I am now using the intended version of the kernel.

To avoid the auto-update of AlmaLinux breaking my audio again, I did:

sudo nano /etc/dnf/dnf.conf

and added at the end:

exclude=kernel* kmod-kernel*

So no more kernel updates, to keep my system working.

That’s the solution. You’re welcome.