[Q] module_layout error? help

Been trying for a few days to compile my own module for Geniatech ATV120 (same kernel as ATV1200), I've gotten as far as compile the modules and first I got Exec Error, but after making the changes to get the exact kernel version I now get “disagrees about version of symbol module_layout” so I wanted to know how the hid-sony.ko made by @ (on this thread ) since it works perfectly on my atv120, so I did this:

modinfo hid-sony.ko and I got this

filename: hid-sony.ko
license: GPL
alias: hid:b0003v0000054Cp0000024B
alias: hid:b0005v0000054Cp00000268
alias: hid:b0003v0000054Cp0000042F
alias: hid:b0003v0000054Cp00000268
depends:
vermagic: 3.0.8-g525c782 SMP preempt mod_unload modversions ARMv7


I did the same for my module

filename: joydev.ko
license: GPL
description: Joystick device interfaces
author: Vojtech Pavlik <>
alias: input:b*v*p*e*-e*1,*k*2C0,*r*a*m*l*s*f*w*
alias: input:b*v*p*e*-e*1,*k*130,*r*a*m*l*s*f*w*
alias: input:b*v*p*e*-e*1,*k*120,*r*a*m*l*s*f*w*
alias: input:b*v*p*e*-e*3,*k*r*a*6,*m*l*s*f*w*
alias: input:b*v*p*e*-e*3,*k*r*a*8,*m*l*s*f*w*
alias: input:b*v*p*e*-e*3,*k*r*a*0,*m*l*s*f*w*
depends:
vermagic: 3.0.8-g525c782 SMP preempt mod_unload modversions ARMv7

so everything seem correct, when to load it with insmod on my ATV120 and I got the “disagrees about version of symbol module_layout” error

ok, back to ubuntu. ran this:

modprobe --dump-modversions hid-sony.ko
0x4e362f07 module_layout

I noticed the module layout so I ran the same on my module
modprobe --dump-modversions joydev.ko
0x82bedd05 module_layout

that seems to be my problem, I know nothing about module layouts, but doing some google research I found I need the same Module.symvers but for the life of me I just cannot get the same one, seeing as @ you are the only one that has been able to compile a module with this kernel, do you still have thie Module.symvers? or can you tell me what kernel you used? or anybody else have any info I could use?

Thanks!

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by vframi
2 hours ago
Last post by qsporer
1 hour ago
Last post by vandervort.dusty
4 hours ago
Last post by austen.leuschke
3 hours ago
Last post by brooks12
1 hour ago
Last post by kyle52
1 hour ago
Last post by frederick35
3 hours ago
Last post by arvid.lehner
3 hours ago
Last post by maryam.labadie
4 hours ago
Last post by malvina22
4 hours ago
Last post by lhodkiewicz
3 hours ago
Last post by brady56
20 minutes ago