Testing 6.11.0 - No audio
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
On Wed, Sep 25, 2024 at 03:33:00PM -0700, Manuel Quintero F 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.
Looks like you don't have any sound devices :) Try using 'git bisect' to find the offending commit and let the developers on the linux sound mailing list know what happened. good luck! greg k-h
Hi Greg, the same thing happens with 6.10.11. Note: works fine with the latest debian testing kernel. El jue, 26 sept 2024 a las 1:47, Greg KH (<greg@kroah.com>) escribió:
On Wed, Sep 25, 2024 at 03:33:00PM -0700, Manuel Quintero F 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.
Looks like you don't have any sound devices :)
Try using 'git bisect' to find the offending commit and let the developers on the linux sound mailing list know what happened.
good luck!
greg k-h
I compiled version 6.10.9, which is the debian kernel version, to see if it worked, but it gave me the same audio problem. Is there something in debian kernel 6.10.9 that makes the audio work? What could it be? El jue, 26 sept 2024 a las 14:09, Manuel Quintero F (<manuel@uas.edu.mx>) escribió:
Hi Greg, the same thing happens with 6.10.11. Note: works fine with the latest debian testing kernel.
El jue, 26 sept 2024 a las 1:47, Greg KH (<greg@kroah.com>) escribió:
On Wed, Sep 25, 2024 at 03:33:00PM -0700, Manuel Quintero F 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.
Looks like you don't have any sound devices :)
Try using 'git bisect' to find the offending commit and let the developers on the linux sound mailing list know what happened.
good luck!
greg k-h
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote:
I compiled version 6.10.9, which is the debian kernel version, to see if it worked, but it gave me the same audio problem.
Is there something in debian kernel 6.10.9 that makes the audio work? What could it be?
Odds are that kernel has a driver built into it that your kernel config that you used to build your custom kernel does not. Make sure the configurations match properly and see if that solves the issue. good luck! greg k-h
Did you use the config file from Debian to build your kernel? Are the loaded modules are the same between the two? -James On Thu, Sep 26, 2024 at 11:13 PM Greg KH <greg@kroah.com> wrote:
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote:
I compiled version 6.10.9, which is the debian kernel version, to see if it worked, but it gave me the same audio problem.
Is there something in debian kernel 6.10.9 that makes the audio work? What could it be?
Odds are that kernel has a driver built into it that your kernel config that you used to build your custom kernel does not. Make sure the configurations match properly and see if that solves the issue.
good luck!
greg k-h
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi. i used $make defconfig El vie, 27 sept 2024 a las 2:16, james young (<pronoiac+kn@gmail.com>) escribió:
Did you use the config file from Debian to build your kernel?
Are the loaded modules are the same between the two?
-James
On Thu, Sep 26, 2024 at 11:13 PM Greg KH <greg@kroah.com> wrote:
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote:
I compiled version 6.10.9, which is the debian kernel version, to see if it worked, but it gave me the same audio problem.
Is there something in debian kernel 6.10.9 that makes the audio work? What could it be?
Odds are that kernel has a driver built into it that your kernel config that you used to build your custom kernel does not. Make sure the configurations match properly and see if that solves the issue.
good luck!
greg k-h
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I admit, I don't have a lot of context here, but I'd suggest, If it works with the Debian testing kernel: * check out the same vanilla / baseline version as that - 6.10.9, I think you said * get the config from the Debian kernel. Boot to it: sudo modprobe configs gzip -d < /proc/config.gz > .config * there could be different options included in the Debian patches, so: make olddefconfig # use defaults * build and try that kernel, and let us know if it works -James On Fri, Sep 27, 2024 at 2:47 PM Ezra Buehler <ezra@easyb.ch> wrote:
Hi Manuel,
On 27 Sep 2024, at 22:47, Manuel Quintero F <manuel@uas.edu.mx> wrote:
Hi.
i used $make defconfig
On Debian, you should be able to find the config for your kernel in the /boot directory.
Anyway, if it is just about re-building your kernel, you might want to refer to resources like:
Debian Linux Kernel Handbook kernel-team.pages.debian.net
Cheers, Ezra
El vie, 27 sept 2024 a las 2:16, james young (<pronoiac+kn@gmail.com>) escribió:
Did you use the config file from Debian to build your kernel?
Are the loaded modules are the same between the two?
-James
On Thu, Sep 26, 2024 at 11:13 PM Greg KH <greg@kroah.com> wrote:
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote:
I compiled version 6.10.9, which is the debian kernel version, to see
if it worked, but it gave me the same audio problem.
Is there something in debian kernel 6.10.9 that makes the audio work?
What could it be?
Odds are that kernel has a driver built into it that your kernel config
that you used to build your custom kernel does not. Make sure the
configurations match properly and see if that solves the issue.
good luck!
greg k-h
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I already have audio with the compiled kernel. I copied the configuration /boot/config-6.10.9-amd64 I had to do it by hand, copy it and rename it to .config because the command shown in https://kernelnewbies.org/KernelBuild, does not work: cp /boot/config-`uname -r`* .config it shows me the error that the ".config" directory does not exist. with this the audio works now. Note: Note that I install many modules, I think I install them all, it takes a long time. Thanks to everyone for your answers. How can I continue doing deeper tests in the kernel? :D El vie, 27 sept 2024 a las 14:55, james young (<pronoiac+kn@gmail.com>) escribió:
I admit, I don't have a lot of context here, but I'd suggest, If it works with the Debian testing kernel: * check out the same vanilla / baseline version as that - 6.10.9, I think you said * get the config from the Debian kernel. Boot to it: sudo modprobe configs gzip -d < /proc/config.gz > .config * there could be different options included in the Debian patches, so: make olddefconfig # use defaults * build and try that kernel, and let us know if it works
-James
On Fri, Sep 27, 2024 at 2:47 PM Ezra Buehler <ezra@easyb.ch> wrote:
Hi Manuel,
On 27 Sep 2024, at 22:47, Manuel Quintero F <manuel@uas.edu.mx> wrote:
Hi.
i used $make defconfig
On Debian, you should be able to find the config for your kernel in the /boot directory.
Anyway, if it is just about re-building your kernel, you might want to refer to resources like:
Debian Linux Kernel Handbook kernel-team.pages.debian.net
Cheers, Ezra
El vie, 27 sept 2024 a las 2:16, james young (<pronoiac+kn@gmail.com>) escribió:
Did you use the config file from Debian to build your kernel?
Are the loaded modules are the same between the two?
-James
On Thu, Sep 26, 2024 at 11:13 PM Greg KH <greg@kroah.com> wrote:
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote:
I compiled version 6.10.9, which is the debian kernel version, to see
if it worked, but it gave me the same audio problem.
Is there something in debian kernel 6.10.9 that makes the audio work?
What could it be?
Odds are that kernel has a driver built into it that your kernel config
that you used to build your custom kernel does not. Make sure the
configurations match properly and see if that solves the issue.
good luck!
greg k-h
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, 27 Sep 2024 17:22:41 -0700, Manuel Quintero F said:
I already have audio with the compiled kernel. I copied the configuration /boot/config-6.10.9-amd64
I had to do it by hand, copy it and rename it to .config because the command shown in https://kernelnewbies.org/KernelBuild, does not work:
cp /boot/config-`uname -r`* .config
it shows me the error that the ".config" directory does not exist.
I'm willing to bet that you have a /boot/config-6.10.9-amd64 and also a /boot/config-6.10.9-i686 or similar, so when you did the cp command, the * expanded to 2 filenames. And if there's 3 or more filenames total, the last one needs to be the target directory to copy the 2+ preceding files into. Moral of the story - beware of shell metacharacter expansions. If you're unsure of what's going on, try sticking an 'echo' in front of the command: $ echo cp /boot/config-`uname -r`* .config Having said that, I'm not sure what changes to make to the webpage to avoid this issue....
On Fri, Sep 27, 2024 at 01:47:01PM -0700, Manuel Quintero F wrote:
Hi.
i used $make defconfig
As you have found out, defconfig works for almost no one, please don't do that. There's lots of documentation out there for building a new kernel image, I suggest using the one on the kernelnewbies.org site, that will help solve this type of issue. thanks, greg k-h
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
Thanks for the tip! El sáb, 28 sept 2024 a las 9:34, Aruna Hewapathirane (<aruna.hewapathirane@gmail.com>) escribió:
It looks like there are a few potential issues contributing to the sound problem:
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.
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.
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
On Sat, Sep 28, 2024 at 7:33 PM Manuel Quintero F <manuel@uas.edu.mx> wrote: Thanks for the tip!
Hi Manuel, once you get the kernel working the way you want you may want to explore 'make localmodconfig' This is particularly useful when you: - Want to reduce the kernel size by stripping out unused modules and drivers. - Need a kernel tailored for specific hardware. - Are recompiling a kernel for embedded systems or custom environments. '
participants (6)
-
Aruna Hewapathirane -
Ezra Buehler -
Greg KH -
james young -
Manuel Quintero F -
Valdis Klētnieks