KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm able to compile kernel module for Galaxy S4 Kernel 3.4.xx but I get following errors during module insertion. could someone please shed some light on what's missing here. The kernel module is a plain helloworld module with basic init and cleanup functions. insmod error: insmod /data/local/tmp/testHello.ko insmod: init_module '/data/local/tmp/testHello.ko' failed (Exec format error) Dmesg logs <4>[ 2127.554107] TIMA: lkmauth--launch the tzapp to check kernel module; module len is 71334 <4>[ 2127.554168] TIMA: lkmauth -- hdr before kreq is : e337b000 <4>[ 2127.554199] TIMA: lkmauth--send cmd (lkmauth) cmdlen(304:320), rsplen(264:320) id 0x00050000, req (0xE352A000), rsp(0xE352A140), module_start_addr(0xE337B000) module_len 71334 <3>[ 2127.581909] TIMA: lkmauth--verification failed -1 <4>[ 2127.582183] TIMA: MSG=lkm_modified; result (TIMA_RESULT=MSG=lkm_modified;) <6>[2129.417541] [debug_wake_locks]active wake lock msm_otg
Tags (comma-separated)
Save Edits
Cancel