Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: ARM DS-5 with imx28 EVK gator driver module load failed - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ARM DS-5 with imx28 EVK gator driver module load failed Rate Topic: -----

#1 User is offline   Hari Prasath 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 15-May 12

Posted 15 May 2012 - 01:49 PM

Hello all,

We are currently evaluating the ARM DS-5 tool for performance analysis requirements for our application/driver software.
Our target system is a freescale imx28 Evaluation board.

We have installed the trial version of the DS-5 tool and downloaded & build the gator driver module and the gator daemon.
When we try and load the gator driver module in our target board, we are facing this following issue.

root@freescale /lib/modules/2.6.35.3-571-gcca29a0/kernel/drivers$ insmod gator.ko
gator: disagrees about version of symbol module_layout
insmod: can't insert 'gator.ko': invalid module format


We have cross-checked that the driver module is build against the kernel version that we are running in the target board which the 2.6.35 Linux kernel.

Also, we are able to connect to the target board using the 'Remote systems explorer' view of the DS-5 tool and able to see the remote file system.
But since the gator driver module and the daemon is needed for profiling the applications, we couldn't proceed further.

Any help would be highly appreciated.
0

#2 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 205
  • Joined: 05-October 06

Posted 16 May 2012 - 09:22 AM

View PostHari Prasath, on 15 May 2012 - 01:49 PM, said:

We have cross-checked that the driver module is build against the kernel version that we are running in the target board which the 2.6.35 Linux kernel.


Nonetheless, I think it's most likely that there is some target-build mismatch either of the kernel or the gator.ko.

Try comparing the output of 'uname -r' on the target to the contents of include/config/kernel.release in the sources.

Try comparing the length and md5sum of gator.ko on the target and the one you built.
1

#3 User is offline   wadethefred 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 24-March 11

Posted 30 June 2012 - 01:15 AM

To add to scott's message, it is not sufficient simply to build a module against a kernel of the same version. The only guarantee is to build the module against the exact kernel running.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic