/srv/irclogs.ubuntu.com/2022/02/05/#ubuntu-kernel.txt

thunderhey. I had to update to the mainline 5.15.2 kernel to support the intel AX210 wifi chip working on my laptop per manufacturer recommendation. how do I get the source code for this kernel version so I can build packages that require it? fyi, I grabbed the amd64 from here --> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15.2/00:48
thunderalso, when I try to install initramfs-tools, it gives me grief about missing cpu firmware for a version earlier than what I have installed on my machine (again per manufacturer recommendations). not sure how to work around that, and hoping you can help give some guidance.00:49
thunderps. I'm using focal00:51
sarnoldthunder: it's probably worth trying the HWE kernel first, that'd take afew minutes, rather than trying to build your own kernels, which'll take way more than a few minutes: https://wiki.ubuntu.com/Kernel/LTSEnablementStack00:56
thunderoh. I don't need/want to build my own kernel. I already have all the appropriate kernel debs installed and working rn for v15.5.2. but some modules require source packages to build, so I wouldn't mind having the equivalent of that whether I need to build and install it myself or not. I'm not entirely a n00b at this, though it's been about 15 years or so since I've done that on a routine basis (albeit for openbsd back in those days)00:59
sarnoldah! if you just want to build new modules against it, then the linux-modules-* packages should be enough01:00
thunderI'm just not familiar with the steps for doing it on ubuntu01:00
thunderspecifically I usually run lkrg, and it requires kernel sources to compile01:01
thunderI already have linux-modules-* installed fyi. still need sources apparently, since lkrg won't make without them01:03
sarnoldthunder: normally it's just something like: make -C /lib/modules/`uname -r`/build M=$PWD   -- copy-n-pasted from https://www.kernel.org/doc/Documentation/kbuild/modules.txt01:03
thunderokay. thanks. I'll see if that works. if not, you might hear back from me tomorrow if you don't mind01:04
sarnoldit's not like this channel is ever *busy* but weekends are probably more idle than usual :)01:05
thunderno worries. it's not urgent. fyi though, I just looked and seems there's no /build dir in that directory01:08
sarnoldargh, sorry, I see I made a mistake earlier01:09
sarnoldit's the linux-headers-* packages you'd want installed01:09
sarnoldstupid fingers, they type whatever is convenient01:09
thunderno worries m8. I appreciate the help01:10
sarnoldsure thing, good luck :)01:10
thunderturns out I didn't have that installed for the kernel I have currently booted. derp!01:11
sarnoldit's easy to overlook :) I got the name wrong just ten minutes ago, hehe01:11
thunderhmm. now I have to figure out how to upgrade libc6 >= 2.3401:12
thunderguess there's probably a ppa01:13
sarnoldthunder: yikes no ;) if you head down that path you're in *weird* territory. it's better to just upgrade to impish01:16
thundermmm. I was just about to grab this... https://stockfishchess.org/files/stockfish_14.1_linux_x64_avx2.zip01:17
sarnoldoh wow01:18
thunderwhat's the kernel version that ships with impish?01:18
sarnoldthat's a 5.1301:19
sarnoldhttps://launchpad.net/ubuntu/+source/linux01:19
sarnoldand I don't think the 5.15 HWE kernels come from there :/ https://launchpad.net/ubuntu/+source/linux-hwe-5.15/01:20
thunderdang. I jumped the gun on that stockfish thing. mistook it for the libc6 dev's website/package. sheesh! it's a chess engine. <cringes>01:21
* thunder nods01:22
thunderthe oldest kernel version that has working/stable wifi support for my laptop is 5.15.201:22
thunderso I could install impish, but I'd just end up in the same boat01:22
thunderperhaps I should just be patient and not sweat it until that kernel is supported01:23
sarnoldplus impish is occasionally exciting: https://lists.ubuntu.com/archives/ubuntu-devel/2022-February/041824.html01:23
thunderI'll definitely try it out in a vm01:23
thunderthanks for your help sarnold 01:29
sarnoldthunder: sure thing :) have fun01:29
thunderhey. one last question sarnold. where do I get the signing key(s) for impish? the .gpg says there's no user ID and won't import a key to verify it.01:41
thunderfyi, using `gpg --auto-key-locate keyserver --verify SHA256SUMS.sig` after renaming SHA256SUMS.gpg SHA256SUMS.sig01:44
thundergiven gpg only recognizes the .sig extension not the .gpg01:44
sarnoldthunder: try using --keyserver keyserver.ubuntu.com  01:44
thunderk01:45
sarnoldthunder: after the whole mess with the sks key servers, the community moved to a different model of keyserver, that did some email authentication, but each email address can have one key, or something like that, and that probably won't work great with the keys we're using now..01:45
thunderunderstood. PKI is a hot mess01:46
sarnoldamen01:47
thunderthanks again. that did the trick01:48
sarnoldnice01:48

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