![]() |
Compiling External Kernel Modules
Hello.
I want to build my own external kernel module. I try to use this Guide Maemo kernel guide In section "Compiling External Kernel Modules " on step 2 is command: Code:
[sbox-MaemoKernel: ~/maemo_kernel] > fakeroot apt-get install kernel-headers Code:
[sbox-MaemoKernel: ~/maemo_kernel] > fakeroot apt-get install linux-kernel-headers Code:
[sbox-MaemoKernel: ~/maemo_kernel/kernel-2.6.28] > fakeroot apt-get install linux-kernel-headers |
Re: Compiling External Kernel Modules
So, I resolved this problem by switching to standart FREMANTLE_ARMEL target, not in created by me maemo_kernel target. Moreover, my kernel module compile! But....but, unfortunately, I got an error while trying to load this module inside the scratchbox.
Code:
insmod: QM_MODULES: Function not implemented Code:
insmod: error inserting 'my_module.ko': -1 Unknown symbol in module |
Re: Compiling External Kernel Modules
make sure that you are running the same version that you are compiling to.
if you are overclocking, you surely are using kernel-power by titan |
Re: Compiling External Kernel Modules
I think scratchbox not support external kernel modules, so forget about it.
Moreover, now module is loaded on device without errors, after when I start to load module not from home dir on device but from /tmp dir over ssh. Hmmm, I think thread may be closed. Next problem is in other field. |
All times are GMT. The time now is 11:12. |
vBulletin® Version 3.8.8