Hi,

I'm working on ADC driver development. Basically, it's a module driver that 
I can use insmod to install. My platform is BeagleBone black and the kernel 
version is 3.8.13-bone72.

I encountered a strange problem. I added a new function, and in this 
function I added printk for message printing. But after compiling it, it 
cannot be installed correctly. I also called modinfo to check its info 
below:

    root@beaglebone:~#insmod ad1299.ko
    Error: could not insert module ad1299.ko: Invalid module format

    root@beaglebone:~# modinfo ad1299.ko
    filename:       /root/ad1299.ko
    modinfo: ../libkmod/libkmod-elf.c:207: elf_get_mem: Assertion `offset < 
elf->size' failed.
    Aborted
    root@beaglebone:~#

Is there anyone who can tell me why is this happened? 

Any suggestions are appreciated.

Thanks.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to