Ask us anything about Ubuntu Kernels!

I came from 23.04.

You’re saying 22.04 already has 6.5 via edge kernel?

Edit: never mind

I’ve created the issue here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038685.

Let me know if more information is needed and I can add it. Thanks!

1 Like

What’s this new “linux-laptop” kernel?

That’s the new arm64 laptop kernel. Currently only supports Lenovo X13s.

See https://launchpad.net/~ubuntu-concept/+archive/ubuntu/x13s for more information. All the relevant packages from the Concept PPA will/should show up in Mantic, so there is no need to use that PPA with Mantic.

1 Like

Is Index of /mainline still being maintained? It’s usually updated within days of a kernel release, but as of today, the last update was almost a month ago.

1 Like

@timur-tabi FYI Mainline Kernel update

I hear mention of noble using kernel 6.6 currently, but then I clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble it’s still pulling 6.1 (last commit in that branch was 11 months ago).
I’d like to pull and compile the same kernel that’s currently being used in the distribution; should I be using a different repo?
Or maybe a different branch from that repo?
I thought possibly master-next, but it seems to be beyond 6.6 already.

Thanks,
–Jeff

check the tags, or ubuntu-kernel-next repository

https://canonical-kteam-docs.readthedocs-hosted.com/en/public/reference/kernels/uknext/uknext.html

on my Inspiron 3793 i still have this bug: Bug #2015670 “[r8169] Kernel loop PCIe Bus Error on RTL810xE” : Bugs : linux package : Ubuntu
Log is fooded with messages:

Jan 19 11:17:08 corrado-n7-nn-0117 kernel: pcieport 0000:00:1d.0: AER: Multiple Corrected error received: 0000:01:00.0
Jan 19 11:17:08 corrado-n7-nn-0117 kernel: r8169 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Jan 19 11:17:08 corrado-n7-nn-0117 kernel: r8169 0000:01:00.0: device [10ec:8136] error status/mask=00000001/00006000

The problem occurs with all the 6.x kernels
On Ubuntu Jammy i can still use an old kernel 5.x to bypass problem, but on Ubuntu 24.04 this may be impossible.
Please correct the problem in the kernel or suggest a bypass other than using an old kernel.
I can use my laptop with WiFi only so a suggestion how to exclude the Ethernet controller causing the problem may be ok also.
Thanks

Is pcie_aspm=off not working for you? You could also blacklist the driver if you don’t want/need it: modprobe.blacklist=r8169

Thanks, pcie_aspm=off worked, I had tried before but I must have made a mistake and hadn’t solved it
Thanks again

Desktop

What are your thoughts on having an LTS kernel as default with the point kernels offered as options?

I think it would benefit a lot of people if we maintained an LTS kernel as default – and allow the option for a newer kernel – if needed. I have had some issues with newer kernels in the past – where the LTS kernels would always work.

I have an Acer Aspire device and my internal microphone or headset does not work.

And also frequently my device freezes and raises an error and redirects me to shell/black screen which I need to force reboot.

I find here to report a bug since I’m an Ubuntu community member who runs Ubuntu 22.04.3 LTS version with Ubuntu Pro. If this is not the right place to ask my question then please give me some tip to get started kernel development and fixing Ubuntu bugs.

happy hacking !

hwpplayer1@hwpplayer1-Aspire-A315-24P:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

hwpplayer1@hwpplayer1-Aspire-A315-24P:~$ lspci | grep Audio 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1640 03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 6f) 03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller

hwpplayer1@hwpplayer1-Aspire-A315-24P:~$ grep "Codec:" /proc/asound/card*/codec* /proc/asound/card0/codec#0:Codec: ATI R6xx HDMI /proc/asound/card1/codec#0:Codec: Realtek ALC256

hwpplayer1@hwpplayer1-Aspire-A315-24P:~$ lsmod | grep '^snd' | column -t snd_hda_codec_realtek 192512 1 snd_soc_dmic 12288 0 snd_hda_codec_generic 122880 1 snd_hda_codec_realtek snd_soc_acp6x_mach 24576 0 snd_acp6x_pdm_dma 12288 0 snd_hda_codec_hdmi 94208 1 snd_sof_amd_rembrandt 16384 0 snd_sof_amd_renoir 16384 0 snd_sof_amd_acp 49152 2 snd_sof_amd_rembrandt,snd_sof_amd_renoir snd_sof_pci 24576 2 snd_sof_amd_rembrandt,snd_sof_amd_renoir snd_hda_intel 61440 6 snd_sof_xtensa_dsp 12288 1 snd_sof_amd_acp snd_sof 356352 2 snd_sof_amd_acp,snd_sof_pci snd_sof_utils 16384 1 snd_sof snd_intel_dspcfg 32768 2 snd_hda_intel,snd_sof snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg snd_hda_codec 212992 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_soc_core 446464 4 snd_soc_acp6x_mach,snd_sof,snd_acp6x_pdm_dma,snd_soc_dmic snd_compress 28672 1 snd_soc_core snd_pcm_dmaengine 16384 1 snd_soc_core snd_hwdep 20480 1 snd_hda_codec snd_seq_midi 24576 0 snd_pci_ps 24576 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rpl_pci_acp6x 16384 0 snd_acp_pci 12288 0 snd_pci_acp6x 16384 0 snd_rawmidi 57344 1 snd_seq_midi snd_pcm 196608 14 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_acp6x_pdm_dma,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine snd_seq 118784 2 snd_seq_midi,snd_seq_midi_event snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_pci_acp5x 16384 0 snd_timer 49152 2 snd_seq,snd_pcm snd_rn_pci_acp3x 16384 0 snd_acp_config 16384 7 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir snd 143360 25 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi snd_soc_acpi 12288 2 snd_sof_amd_acp,snd_acp_config snd_pci_acp3x 16384 0

hwpplayer1@hwpplayer1-Aspire-A315-24P:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0

Please report bugs by typing ubuntu-bug linux in the terminal. Thanks! :slight_smile:

1 Like

Bug #2054266 “microphone and headset does not work” : Bugs : linux-signed-hwe-6.5 package : Ubuntu I opened a bug report Thanks ! :slight_smile:

Are there mainline .deb’s of releases between 6.3.0 and 6.4.0 (exclusive)?

The .deb’s in Index of /mainline for v6.3/amd64 and v6.4/amd64 have allowed me to narrow down a regression of a BLE use-case to those releases, but the intermediate v6.3.<x> directories (e.g. v6.3.1) don’t have per-architecture subdirectories (like amd64) and don’t seem to have pre-built .deb’s.

Wondering if there are pre-built .deb’s that would allow me to avoid bisecting the entire 6.3…6.4 range (and also avoid having to find binary modules/drivers/firmwares to match).

v6.3.x are stable updates of v6.3, they are not intermediate kernels between v6.3 and v6.4. They can contain commits from kernels newer than v6.4. The only intermediate kernels that we build are the -rc kernels, i.e., v6.4-rcX in your case.

2 Likes

Thanks for the quick & informative reply!

In linux package : Ubuntu I see 6.8.0-11 most recent (2024-03-30) than 6.8.0-20 (2024-03-28) why this regression?
Thanks

3 Likes