[11:47] <garga> Hey!  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] <garga> I 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 persists
[12:40] <xnox> garga:  does  it have to be built-in? and can you not instead modify initramfs-tools configuration to include and load extra driver?
[12:41] <xnox> garga:  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] <xnox> garga:  what config option in particular?
[12:41] <xnox> garga:  if it makes sense to have something built-in, maybe we can fix that?
[12:50] <garga> xnox: 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] <garga> but I need to build a hwe kernel for focal because our product is based on focal yet
[12:51] <garga> When hwe-5.15 is released for focal it will already have this change in place an my custom kernel will be discarded
[13:03] <xnox> garga:  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] <xnox> why not do that? and switch to `linux-generic-hwe-20.04` once v5.15 is rolled to standard flavour.
[13:57] <garga> xnox: the version available on focal still don't have that change
[13:58] <garga> garga@renato-ubuntu ~ ❯❯❯ uname -a
[13:58] <garga> Linux 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/Linux
[13:58] <garga> garga@renato-ubuntu ~ ❯❯❯ grep 8250_MID /boot/config-5.15.0-33-generic
[13:58] <garga> CONFIG_SERIAL_8250_MID=m
[14:50] <xnox> sadness and despair
[17:27] <garga> xnox: I found my mistake here and managed to build a kernel that works
[17:27] <garga> Now I just need to figure out how to build a initrd with casper bits in order to build a custom ISO with this kernel
[17:27] <garga> any hints would be much appreciated
[19:11] <Courtland> Anyone 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] <Courtland> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1978865