Fail to insert module (insmod) on Android

Discussion in 'Android' started by arfei0107, Jul 24, 2014.

  1. arfei0107

    arfei0107 New Member

    Jul 24, 2014
    Likes Received:
    Hello Everyone,
    I wrote a simple kernel module such as helloworld. After compiled to hello.ko, I got the error message as "init_module 'hello.ko' failed (Exec format error)" when I performed command as "insmod hello.ko".
    The debug message is "<4>hello: disagrees about version of symbol module_layout".
    Does someone help me to fix it ?? Thank you so much!! :)

    root@android: # insmod hello.ko
    insmod: init_module 'hello.ko' failed (Exec format error)
    root@android: # dmesg
    <4>hello: disagrees about version of symbol module_layout
    ManicLalo likes this.

Share This Page