It looks like there are a few potential issues contributing to the sound problem:

  1. ALSA not detecting sound cards:
    The message [ 0.461483] No soundcards found indicates that ALSA (Advanced Linux Sound Architecture) didn't detect any sound devices. This might be due to a missing or incompatible kernel module or driver.

  2. snd_hda_intel codec probe failure:
    The line [ 0.473025] snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up suggests that the Intel HD Audio driver (snd_hda_intel) is unable to properly communicate with the audio codecs. This could be due to missing firmware, an incorrect configuration, or a regression in the kernel.

  3. Malformed or invalid regulatory database:
    The message [ 0.461769] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid indicates that the wireless regulatory database is malformed or invalid. While this affects Wi-Fi, it could indirectly affect audio if there’s an interaction between the kernel modules (such as shared interrupts). This might need fixing too.

Run: ls /boot/config-*.*  it will show you a list of all config files you have. I would roll things back to a config where you know for a fact sound worked. Then once I have the sound back up and working I would use 'this sound is working config' and copy it over to build the new kernel ensuring sound will be there.  

You can also try: sudo modprobe snd_hda_intel

Happy troubleshooting :-)

On Wed, Sep 25, 2024 at 6:33 PM Manuel Quintero F <manuel@uas.edu.mx> wrote:
Hi, I compiled the mainline kernel 6.11.0, as a result the audio does
not work, I don't know if it is a kernel error. Looking at the dmesg I
notice the following:

[    0.461474] Loaded X.509 cert 'wens:
61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    0.461482] ALSA device list:
[    0.461483]   No soundcards found.
[    0.461769] cfg80211: loaded regulatory.db is malformed or
signature is missing/invalid
[    0.473025] snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up

I share the complete dmesg:

https://paste.opensuse.org/pastes/7fb27d271f64

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies