Debugged this issue and found it was a false alarm. The problem was init.rc was pointing to /system in nand flash while I was trying to run from SD Card and that caused insmod disagreement.
-MB On Tuesday, 6 November 2012 15:51:38 UTC+5:30, MB wrote: > > Hello, > > I have compiled a linux kernel and modules for my device and trying to > boot with this new kernel. > However I am seeing insmod failures from my init.rc script.. > > [ 16.140000] mali: disagrees about version of symbol module_layout > [ 16.150000] init: command 'insmod' r=-1 > [ 16.150000] init: command 'insmod' r=-1 > [ 16.180000] videobuf_core: disagrees about version of symbol > module_layout > [ 16.190000] init: command 'insmod' r=-1 > [ 16.210000] videobuf_dma_contig: disagrees about version of symbol > module_layout > [ 16.220000] init: command 'insmod' r=-1 > I am baffled by this as the kernel and modules have been compiled from the > same sources. > So the difference in header version is ruled out. > > I checked the module info for one of the problem module and didnt find any > dependency > issue. Also the vermagic confirmed that the compile was ok. > > filename: videobuf-core.ko > license: GPL > author: Mauro Carvalho Chehab <mche...@infradead.org> > description: helper module to manage video4linux buffers > depends: > vermagic: 3.0.42 preempt mod_unload modversions ARMv7 > parm: debug:int > > Is there any other configs or files that need to be installed when booting > android? > I would greatly appreciate any help here. > > Thanks, > MB > > > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting