[PlanetCCRMA] How to rebuild and test individual kernel module

Michal Šmucr msmucr at gmail.com
Tue Oct 22 16:29:14 PDT 2013

Hello Jiri,

thank you very much for hint.
I've already read this document, but somewhat can't figure it out. I
thought, Makefile like this one from example are used only for
third-party (out of tree) modules. Next thing is, in kernel source
directories are already makefiles with additional dependencies and
objects for each module. So it took me some time to modify particular
makefile to correct shape. Also insmod wasn't right choice, i ended
with copy of newly compiled module and its dependecies, to
/lib/modules/$(uname -r)/updates, then issue depmod and load it with
modprobe. It is working as expected and i can quickly test modules.

Thank you for help,


2013/10/22 Jiri Kastner <cz172638 at gmail.com>:
> https://fedoraproject.org/wiki/Building_a_custom_kernel?rd=Docs/CustomKernel#Building_Only_Kernel_Modules_.28Out_Of_Tree_Modules.29
> in this case you need kernel-rt-devel
> best regards
> jiri kastner
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma

More information about the PlanetCCRMA mailing list