Backporting issue in compat.ko

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
aher2600
Level 1
Level 1
First like given First reply posted First question asked

Hi,

I want to port driver for CYW43455. I used this  Cypress Linux WiFi Driver Release (FMAC) [2020-06-25]  ,

Target platfrom is ST sta1275 DV12.5,

During the cross compilation of modules, I have seen the following warning.

root@sta1275-evb-mmc:~/aher_ko# insmod compat.ko
insmod: ERROR: could not insert module compat.ko: Unknown symbol in module

dmesg shows :
[ 59.569745] compat: Unknown symbol kmem_cache_alloc_trace (err 0)
[ 59.569905] compat: Unknown symbol __gnu_mcount_nc (err 0)

Could you help to fix this issue? Thanks a lot.

0 Likes
1 Solution
Vivek_gunapati
Moderator
Moderator
Moderator
250 replies posted 10 likes given 50 solutions authored

hi @aher2600 , 

Please check all dependencies of the module before loading it., usually these dependencies are enabled in the .config file of the kernel.

Please refer the section 3.3.5 Frequently encountered issues, point 2 of the following document -> https://www.infineon.com/dgdl/Infineon-AN232689_-_Wi-Fi_software_user_guide-ApplicationNotes-v01_00-...

Regards
Vivek.

View solution in original post

3 Replies
Vivek_gunapati
Moderator
Moderator
Moderator
250 replies posted 10 likes given 50 solutions authored

hi @aher2600 , 

Please check all dependencies of the module before loading it., usually these dependencies are enabled in the .config file of the kernel.

Please refer the section 3.3.5 Frequently encountered issues, point 2 of the following document -> https://www.infineon.com/dgdl/Infineon-AN232689_-_Wi-Fi_software_user_guide-ApplicationNotes-v01_00-...

Regards
Vivek.

Hi @aher2600 , Any update on the issue? were you able to solve the dependency?

0 Likes

The proble was be solved , it is dependecy issue as you mentioned.
Thanks a lot!

0 Likes