/srv/irclogs.ubuntu.com/2022/06/16/#ubuntu-kernel.txt

=== gpiccoli_ is now known as gpiccoli
gargaHey!  I need to create a custom kernel based on focal hwe-5.13 adding one extra builtin item to support a new hardware and I'm failing to get it done.  IS there any documentation with needed steps to get it done?11:47
gargaI managed to create the new release and build it but I'm getting a "disagrees about version of symbol module_layout" error when I try to load modules.  I already updated debian.netgate-5.13/abi/amd64/generic file with new ABI information but error persists11:47
xnoxgarga:  does  it have to be built-in? and can you not instead modify initramfs-tools configuration to include and load extra driver?12:40
xnoxgarga:  you can build with skipmodule=true skipabi=true options to skip abi checks, or commit .ignore files to skip those. but this may lead to other problems.12:41
xnoxgarga:  what config option in particular?12:41
xnoxgarga:  if it makes sense to have something built-in, maybe we can fix that?12:41
gargaxnox: it's mandatory to be builtin to have console working on new Phantom Lake hardware.  This change was accepted on jammy mainline kernel (CONFIG_SERIAL_8250_MID=y)12:50
gargabut I need to build a hwe kernel for focal because our product is based on focal yet12:50
gargaWhen hwe-5.15 is released for focal it will already have this change in place an my custom kernel will be discarded12:51
xnoxgarga:  linux-hwe-5.15 is already available for focal, as an edge kernel. You can already install it with `sudo apt install linux-generic-hwe-20.04-edge` 13:03
xnoxwhy not do that? and switch to `linux-generic-hwe-20.04` once v5.15 is rolled to standard flavour.13:03
gargaxnox: the version available on focal still don't have that change13:57
gargagarga@renato-ubuntu ~ ❯❯❯ uname -a13:58
gargaLinux renato-ubuntu 5.15.0-33-generic #34~20.04.1-Ubuntu SMP Thu May 19 15:51:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux13:58
gargagarga@renato-ubuntu ~ ❯❯❯ grep 8250_MID /boot/config-5.15.0-33-generic13:58
gargaCONFIG_SERIAL_8250_MID=m13:58
xnoxsadness and despair14:50
gargaxnox: I found my mistake here and managed to build a kernel that works17:27
gargaNow I just need to figure out how to build a initrd with casper bits in order to build a custom ISO with this kernel17:27
gargaany hints would be much appreciated17:27
CourtlandAnyone have thoughts on this kernel bug in 22.04 LTS? Since it was fixed in mainline 5.15.36, I am trying to understand if it "should" already be fixed in `5.15.0-39` or if not, when to expect it to appear in any of the jammy master-* branches. Sorry if this is a stupid question, I'm still learning about the ubuntu kernel maintenance process.19:11
Courtlandhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/197886519:11
ubottuLaunchpad bug 1978865 in linux (Ubuntu) "openvswitch: nf_ct_put is called with null pointer" [Undecided, Confirmed]19:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!