Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
DS-5: Install gator.ko error: unknown symbol
Jump...
Cancel
Locked
Locked
Replies
9 replies
Subscribers
118 subscribers
Views
7358 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
DS-5: Install gator.ko error: unknown symbol
Xiaowan Dong
over 12 years ago
Note: This was originally posted on 29th August 2013 at
http://forums.arm.com
Hi all,
I tried to install gator.ko compiled from the latest version of DS-5 v5.15 on galaxy tab 10.1, but it failed. My host machine runs win8 and the target device is galaxy tab 10.1 wifi with cm 10.1. (which I compiled following the instructions listed here
http://wiki.cyanogen...uild_for_p4wifi
) However, when I tried to install gator.ko on galaxy tab 10.1 using "insmod gator.ko", the following error appears:
the following error: init_module '/sdcard/gator.ko' failed (No such file or directory)
Then I entered dmesg command in the terminal and the error message is as follows:
gator: Unknown symbol perf_event_release_kernel (err 0)
gator: Unknown symbol perf_event_create_kernel_counter (err 0)
But as I read the kernel code of galaxy tab 10.1 (p4wifi), I could find the corresponding definition of these two functions and they have already been exported by macros such as EXPORT_SYMBOL_GPL. Could anyone help me? Thank you!
Parents
Drew Richardson
over 12 years ago
Note: This was originally posted on 29th August 2013 at
http://forums.arm.com
The unknown symbols perf_event_* imply that your kernel is not compiled with perf support. Older versions DS-5, like 5.5, did not use perf which is why you can run it. However gator.ko from DS-5 v5.15 uses perf on kernels 3.0 and newer (which I assume you're using). Is the kernel you're running built with CONFIG_PERF_EVENTS? To check you can run "cat /proc/kallsyms | grep perf_event_create_kernel_counter" from the adb shell. Here's what I get on my Nexus 10
root@android:/ # cat /proc/kallsyms | grep perf_event_create_kernel_counter
00000000 T perf_event_create_kernel_counter
00000000 r __ksymtab_perf_event_create_kernel_counter
00000000 r __kstrtab_perf_event_create_kernel_counter
If it's missing you will need to enable it using menuconfig and then install the resulting kernel on your Galaxy Tab 10.1.
Cancel
Vote up
0
Vote down
Cancel
Reply
Drew Richardson
over 12 years ago
Note: This was originally posted on 29th August 2013 at
http://forums.arm.com
The unknown symbols perf_event_* imply that your kernel is not compiled with perf support. Older versions DS-5, like 5.5, did not use perf which is why you can run it. However gator.ko from DS-5 v5.15 uses perf on kernels 3.0 and newer (which I assume you're using). Is the kernel you're running built with CONFIG_PERF_EVENTS? To check you can run "cat /proc/kallsyms | grep perf_event_create_kernel_counter" from the adb shell. Here's what I get on my Nexus 10
root@android:/ # cat /proc/kallsyms | grep perf_event_create_kernel_counter
00000000 T perf_event_create_kernel_counter
00000000 r __ksymtab_perf_event_create_kernel_counter
00000000 r __kstrtab_perf_event_create_kernel_counter
If it's missing you will need to enable it using menuconfig and then install the resulting kernel on your Galaxy Tab 10.1.
Cancel
Vote up
0
Vote down
Cancel
Children
No data