Re: [android-kernel] Re: NO such file or directory error when doing insmod in Android Kernel

2012-03-07 Thread Apurva Jaiswal
Hello, @Ashish Thanks for the info. I was able to run the module after removing the floating arithmetic. Do you think there is a work around if I want to have some floating point calculations in my module. Thanks and Regards, Apurva Jaiswal On Mon, Mar 5, 2012 at 12:03 PM, Ashish Daga wrote: >

Re: [android-kernel] Re: NO such file or directory error when doing insmod in Android Kernel

2012-03-07 Thread Ashish Daga
Yes Kernel does not allow for floating point calculations since the virtual memory footprint is different as compared to the User space. In addition, one needs to be careful as to the style of module writing in case of Kernel space as compared to the user space. Infact keep in mind to use more dyn

[android-kernel] Re: NO such file or directory error when doing insmod in Android Kernel

2012-03-05 Thread rong
sorry it should read " The first two errors suggest you didn't declared that your module is GPL compatible, i.e. missing the following line or similar in your source code: MODULE_LICENSE("GPL v2"); " On Mar 5, 8:24 pm, rong wrote: > The first two errors suggest you didn't declared that your mod

[android-kernel] Re: NO such file or directory error when doing insmod in Android Kernel

2012-03-05 Thread rong
The first two errors suggest you didn't declared that your module is GPL compatible, i.e. missing the following line or similar in your source code. The rest suggest you have used floating point calculations in your module. Kernel doesn't do floating point calculations. Find yourself some workarou

Re: [android-kernel] Re: NO such file or directory error when doing insmod in Android Kernel

2012-03-04 Thread Apurva Jaiswal
Hello, The dmesg error is as follows <4>[56941.357788] ec: Unknown symbol tcp_get_info (err 0) <4>[56941.360656] ec: Unknown symbol debugfs_remove (err 0) <4>[56941.362548] ec: Unknown symbol __aeabi_fdiv (err 0) <4>[56941.364440] ec: Unknown symbol __aeabi_ui2f (err 0) <4>[56941.366546] ec: Unkn

[android-kernel] Re: NO such file or directory error when doing insmod in Android Kernel

2012-03-04 Thread rong
Okay, this is a easy one. But first of all, I found a lot of questions posted on this group are actually fairly basic and not specifically related to Android kernel, you may find better chance to get those questions answered and more instantly on other Linux kernel development forum. Back to the q