/srv/irclogs.ubuntu.com/2021/11/15/#ubuntu-kernel.txt

=== cpaelzer_ is now known as cpaelzer
dalurkaHi does anybody know where where the initrd for the live isos are generated? I would like some kernel modules added to the installer14:20
dalurkaI'm trying to pxe with a usb-c nic and it fails unless I manually modify the initrd to add the modules.14:22
dalurkaif I'm asking in the wrong channel please point me to where to ask14:23
xnoxdalurka:  awwww14:44
xnoxdalurka:  do you have a list of modules?14:44
xnoxthey 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
xnoxdalurka:  because people who do netboot / network attached rootfs, and are over usb-c nic would want those too.14:45
xnoxlooks like locally i need r8153_ecm and usbnet14:47
xnoxand mii14:47
xnoxdalurka:  if you have a list of modules, it would be best to open a bug report on launchpad against initramfs-tools14:48
xnoxi.e. $ ubuntu-bug initramfs-tools14:48
xnoxas it defines a list of modules which are meant to cover "networking" for booting purposes.14:48
dalurkaeverything in kernel/drivers/net/usb seems to be missing14:50
dalurkaI've seen multiple questions about this all over the net14:50
dalurkaxnox: so the thing is it works if I boot from usb as it is packaged in the root squashfs :)14:53
dalurkabut it just does not work with pxe14:53
dalurkaany way I'll see if I can file a bug for initramfs-tools if that is the correct place then14:54
xnoxdalurka:  i can glob include all of net/usb and hope for the best.14:56
dalurkayea that would solve it14:56
xnoxdalurka:  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
xnoxdalurka:  it seems to be ever increasing demand for usbc netboot.14:56
dalurkaI could probably test boot for you yes. but I'm mainly after 20.04 and 22.04 later14:58
dalurkaxnox: btw those drivers are in linux-modules-extra.. maybe that's why they are missing?15:00
dalurkaxnox: also most new slimmer laptps are missing ethernet phy15:02
xnoxdalurka:  can you please explain "ethernet phy" bit? and those drivers in linux-modules-extra is ok.15:03
dalurkaethernet phy as in a physical ethernet nic on the motherboard15:03
xnoxdalurka:  linux-modules contains things needed everywhere virtual machines & baremetal. linux-modules-extra contains things that are only needed on baremetal.15:03
xnoxdalurka:  doh, yeah, most laptops do not have ethernets anymore =) just usbc docking stations or what not.15:04
dalurkaaha! I thought those were just some "extra" modules and did not make the physical connection15:04
dalurkaspeaking 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 installer15:05
dalurkahaving a thunderbolt dock connected allowed for a quick rj45 hotswap to continue as that nic had a driver in initrd15:06
dalurkavery annoying yet quite fun hack15:07
dalurkaxnox: when would you need me testing this?15:40
xnoxdalurka:  if you have opened a bug report, you can subscribe and get an email about it.15:53
xnoxdalurka:  it will be late this week, or next week.15:53
xnoxdalurka:  otheriwise i can ping you here...15:53
dalurkaI'm opening the bug as we speak15:53
xnoxawesome! paste the bug number here, once you have it.15:54
dalurkahttps://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/195099615:59
ubottuLaunchpad bug 1950996 in initramfs-tools (Ubuntu) "Missing all modules for usb nics in initrd which makes PXE boot impossible" [Undecided, New]15:59
dalurkaxnox: ^16:01
=== sforshee_ is now known as sforshee

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