/srv/irclogs.ubuntu.com/2024/04/01/#ubuntu-kernel.txt

=== JanC is now known as Guest2589
=== JanC_ is now known as JanC
=== cascardo_ is now known as cascardo
=== NotEickmeyer is now known as Eickmeyer
=== Beret- is now known as Beret
newb_questionI have an Ubuntu 22.04.1 system running kernel 6.5.0-26-generic. I want to experiment on a kernel module that's in-tree, so I install the kernel source with this command, taken straight from the Ubuntu wiki: apt source linux-image-unsigned-$(uname -r)21:14
newb_questionLots of stuff happens, everything seems to be good, I see reassuring stuff like "applying linux-hwe-6.5_6.5.0-26.26~22.04.1.diff.gz"21:14
newb_questionBut when I actually compile a module and do a "sudo make module_install", it keeps installing my new module into /usr/lib/modules/6.5.13 instead of 6.5.0-26-generic! What am I doing wrong?21:14
newb_questionAs a demonstration of what I'm seeing:21:15
newb_questionuser@kernel-compiler:~/experiment/linux-hwe-6.5-6.5.0$ uname -r21:15
newb_question6.5.0-26-generic21:15
newb_questionuser@kernel-compiler:~/experiment/linux-hwe-6.5-6.5.0$ sudo make M=drivers/net/ethernet/intel/e1000/ modules_install21:15
newb_question  INSTALL /lib/modules/6.5.13/updates/e1000.ko21:15

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