[14:20] <dalurka> Hi does anybody know where where the initrd for the live isos are generated? I would like some kernel modules added to the installer
[14:22] <dalurka> I'm trying to pxe with a usb-c nic and it fails unless I manually modify the initrd to add the modules.
[14:23] <dalurka> if I'm asking in the wrong channel please point me to where to ask
[14:44] <xnox> dalurka:  awwww
[14:44] <xnox> dalurka:  do you have a list of modules?
[14:45] <xnox> they should be added to the "networking" set of modules in initramfs-tools; which then together with casper would be picked up by livecd-rootfs to add them into the installer initrds.
[14:45] <xnox> dalurka:  because people who do netboot / network attached rootfs, and are over usb-c nic would want those too.
[14:47] <xnox> looks like locally i need r8153_ecm and usbnet
[14:47] <xnox> and mii
[14:48] <xnox> dalurka:  if you have a list of modules, it would be best to open a bug report on launchpad against initramfs-tools
[14:48] <xnox> i.e. $ ubuntu-bug initramfs-tools
[14:48] <xnox> as it defines a list of modules which are meant to cover "networking" for booting purposes.
[14:50] <dalurka> everything in kernel/drivers/net/usb seems to be missing
[14:50] <dalurka> I've seen multiple questions about this all over the net
[14:53] <dalurka> xnox: so the thing is it works if I boot from usb as it is packaged in the root squashfs :)
[14:53] <dalurka> but it just does not work with pxe
[14:54] <dalurka> any way I'll see if I can file a bug for initramfs-tools if that is the correct place then
[14:56] <xnox> dalurka:  i can glob include all of net/usb and hope for the best.
[14:56] <dalurka> yea that would solve it
[14:56] <xnox> dalurka:  once that lands in jammy daily builds, will you be able to testboot jammy to confirm "it works", and if it does, we can figure out to SRU that to focal, to hopefully have the next 20.04 point release & dailies working.
[14:56] <xnox> dalurka:  it seems to be ever increasing demand for usbc netboot.
[14:58] <dalurka> I could probably test boot for you yes. but I'm mainly after 20.04 and 22.04 later
[15:00] <dalurka> xnox: btw those drivers are in linux-modules-extra.. maybe that's why they are missing?
[15:02] <dalurka> xnox: also most new slimmer laptps are missing ethernet phy
[15:03] <xnox> dalurka:  can you please explain "ethernet phy" bit? and those drivers in linux-modules-extra is ok.
[15:03] <dalurka> ethernet phy as in a physical ethernet nic on the motherboard
[15:03] <xnox> dalurka:  linux-modules contains things needed everywhere virtual machines & baremetal. linux-modules-extra contains things that are only needed on baremetal.
[15:04] <xnox> dalurka:  doh, yeah, most laptops do not have ethernets anymore =) just usbc docking stations or what not.
[15:04] <dalurka> aha! I thought those were just some "extra" modules and did not make the physical connection
[15:05] <dalurka> speaking of docks... how I worked around the issue at first before I patched the initrd was to connect a realtek usb-c nic which could pxe boot into the initrd.. but there it would stop and would not be able to continue to download the .iso for the installer
[15:06] <dalurka> having a thunderbolt dock connected allowed for a quick rj45 hotswap to continue as that nic had a driver in initrd
[15:07] <dalurka> very annoying yet quite fun hack
[15:40] <dalurka> xnox: when would you need me testing this?
[15:53] <xnox> dalurka:  if you have opened a bug report, you can subscribe and get an email about it.
[15:53] <xnox> dalurka:  it will be late this week, or next week.
[15:53] <xnox> dalurka:  otheriwise i can ping you here...
[15:53] <dalurka> I'm opening the bug as we speak
[15:54] <xnox> awesome! paste the bug number here, once you have it.
[15:59] <dalurka> https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1950996
[16:01] <dalurka> xnox: ^