c - Failed to load kernel modules on Raspberry -
i have big problem, hope can me because i've finished "bullet"...
i'm working linux-rpi-3.6.y kernel on raspberrypi
let's explain problem: created new syscall called sys_defclose closes files of given process's pid, putted source file in
linux-rpi-3.6.y/arch/arm/kernel;
then modified following files:
linux-rpi-3.6.y/include/linux/syscalls.h linux-rpi-3.6.y/arch/arm/include/asm/unistd.h linux-rpi-3.6.y/arch/arm/kernel/calls.s
for correctly install new system call.
after cross-compiled following
http://elinux.org/rpi_kernel_compilation
guide , arrived problem: if transfer via ssh new kernel image "kernel.img" /boot raspberry's directory , reboot unless load module syscall works properly; naturally no modules installed ( lsmod empty )..., if follow steps have load compiled modules, generated
make arch=arm cross_compile=${ccprefix} modules export modules_temp=~/modules make arch=arm cross_compile=${ccprefix} install_mod_path=${modules_temp}modules_install
and unpacking them in / directory on raspberry , result in error on loading init. so, how can load correctly modules? i've followed possible guide find online none seems works.
i hope can me. thanks
Comments
Post a Comment