/srv/irclogs.ubuntu.com/2021/07/07/#ubuntu-kernel.txt

Maxwell175Hello all, I am trying to build the 5.13 kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13/ but the cloned git repo doesn't have a debian folder.01:11
Maxwell175sorry for the probably stupid question01:14
JanCI assume you mean you want to build kernel packages (because to build the kernel itself you don't need a debian folder)01:28
Maxwell175yes, correct01:30
Maxwell175I'd like to build the image and header packages01:31
Maxwell175so, after some further research, I stumbled across https://wiki.ubuntu.com/KernelTeam/GitKernelBuild02:02
Maxwell175I tried to follow those instructions, but after the `make deb-pkg` command, I ended up with:02:03
Maxwell175make[2]: *** [debian/rules:7: build-arch] Error 202:03
Maxwell175dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 202:03
Maxwell175and there doesn't seem to be any more verbose error no matter how far I scroll up. and if I do try to re-run it, I get "dpkg-source: error: unrepresentable changes to source" so I can't even retry it apparently02:05
Maxwell175so, I ended up figuring out that I can run "debian/rules binary" directly and that gave me an error about not being able to find zstd, so I installed it and did a distclean, re copied the config, set SYSTEM_TRUSTED_KEYS to "" as I found on a random askubuntu thread and re-ran the `make bindeb-pkg` and so far there aren't any errors, although it has been stuck after linking a bunch of stuff. Hopefully it'll finish 03:33
Maxwell175whatever its doing soon.03:33
nibbon_question: for kernel dump coming from 5.4.0-58 can I use >=  linux-image-5.4.0-74-generic-dbgsym or I do need the specific package linux-image-5.4.0-58-generic-dbgsym?08:10
=== cpaelzer_ is now known as cpaelzer
xnoxMaxwell175:  you should do `fakeroot ./debian/rules clean` prior to trying to call `./debian/rules build` and then `fakeroot ./debian/rules binary`10:58
xnoxMaxwell175:  the clean step, actually generates lots of build files. Including for example the files that are references by SYSTEM_TRUSTED_KEYS among other things.10:58
Maxwell175xnox, Yeah, its been stuck all night at the same place with no progress11:40
Maxwell175I actually ran make bindeb-pkg which I thought does everything11:41
Maxwell175huh, I actually had to kill the innermost make process for it to stop. just Ctrl-C did nothing11:51
Maxwell175^C^Cmake[4]: *** [scripts/Makefile.modpost:156: __modpost] Killed11:51
Maxwell175`fakeroot ./debian/rules binary` got the build to finally finish! thanks!12:25
dijuremoHave LACP bonding problems on an Ubuntu 20.04 machine, is this the right channel to ask about it, given bonding it is a kernel module?12:26
Maxwell175hmm, wait, something didn't work right. I tried to install the linux-libc package but ended up with "package linux-libc-dev:amd64 5.13.0-rc6-md-1 cannot be configured because linux-libc-dev:i386 is at a different version (5.4.0-77.86)"12:27
Maxwell175how would I also build an i386 version?12:28
dijuremoWe have a new ASUS 2U server ESC4000A-E10, it uses the ASUS KRPG-U8 Server board. It comes with two 1Gbit NICS and remote management interface.13:03
dijuremoThe NICS are Intel I350-AM2 and use the igb module. When we configure them for bonding using netplan, the partner interfaces always come up as Churned. We can get it to work by unplugging another server that is already working OK in LACP in two different ports. Then moving our server nics to those ports. At that point things worked just fine.13:05
dijuremoHowever, if we reboot the server, then the bond breaks and things no longer work.13:05
dijuremoIt seems as if the initial negotiation phase for LACP to establish the bond fails. How may I be able to fix this? Running on ubuntu 20.04 with 5.4.0-77 and had tried 5.4.0-74 as well.13:11
nibbon_o/13:21
nibbon_(reposting, sorry for the duplicate) question: for kernel dump coming from 5.4.0-58 can I use >=  linux-image-5.4.0-74-generic-dbgsym or I do need the specific package linux-image-5.4.0-58-generic-dbgsym?13:21
cascardonibbon_: you should use the specific package. you need matching debug symbols for the dumped kernel13:30
nibbon_cascardo: thanks, that confirms what I was thinking14:53
dijuremoIn an attempt to try something different, we upgraded to the linux-generic-hwe-20.20 kernel which gives the 5.8.0-59 kernel, but the LACP problem persists. The interface partners are Churned on a cold boot. If I move the cables to a set of port where another server is working OK with LACP already, then the bond works until I reboot the server.15:20
dijuremoThat should had read ***linux-generic-hwe-20.04*** kernel...16:00
=== cpaelzer_ is now known as cpaelzer
TJ-dijuremo: I presume it's actually systemd-networkd handling the network config (netplan just writes config files)17:50
juerghMaxwell175, how did you end up with linux-libc-dev:i386?? And you typically don't need to install a matching linux-libc-dev with a new kernel.17:56
dijuremoYes, we have this set in config: renderer: networkd17:56
dijuremoInterestingly enough, we have gotten it to work on a different switch as a test. It does *not* work on a pair of Cisco N9K-C93108TC-EX switches, where a vpc is created in between same port numbers, i.e. vpc10 port 10 on both switches. We move the network connections to a Cisco 2960X and it worked on that one after a reboot.18:00
TJ-dijuremo: check what the actual generated config is, /run/systemd/network/ 18:29
TJ-dijuremo: there are some 'man systemd.network' options you can use to modify the bond directly - if these are static hardware I'd dump netplan and write systemd-networkd configuration statically to /etc/systemd/network/ so there is full access to all options18:31
TJ-dijuremo: here's an example of a 4-port 802.11ad 'bandwidth' bond I use https://iam.tj/projects/ubuntu/systemd-networkd-bonding.txt18:32
TJ-opos, 802.3ad even!18:32
Maxwell175juergh, no idea how I got the i386 version. i definitely didnt install it manually, but if I remove it, I end up having to also remove "libc6-dev:i386 libncurses-dev:i386 libncurses5-dev:i386 libreadline-dev:i386 linux-libc-dev:i386 zlib1g-dev:i386"23:07
Maxwell175that train doesn't look too long so maybe its worth removing and getting the new version... or should I just not install the new version for now23:08

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