신우근 wrote: > I use ATOM EVM board. And i tried to load wifi(Marvell 88w8686 device) > module. > When i did insmod, there is error. Error log is like below. > > insmod: error inserting 'sd8xxx.ko': -1 Invalid module format > So, i checked system messgae through dmesg. > > [ 1886.564024] sd8xxx: disagrees about version of symbol struct_module > > I think it because version mismatch between ATOM EVM board to target of my > image-creator. I complied driver in my target in image-creator. > Kernel version of ATOM EVM board is 2.6.24-21-lpia. > And kernel version of target of my image-creator is > 2.6.24-14-menlow-developer. > > To match kernel version, i modified CONFIG_LOCALVERSION in .config file of > target of my image-creator. (change "-13-menlow-developer" to "-21-lpia"). > I don't sure to modify .config file to match kernel local version is correct > method.
It is absolutely the wrong method; it will actually create a module that might load, but will consequently crash (best case) or subtly corrupt memory and user data (worst case). > But, i don't know how can i match exactly kernel version with ATOM EVM board. you will need to make a profile that has the right kernel in the chroot.... (but frankly, using 2.6.24 is likely not a good idea, there's been a lot of progress in security and functionality in newer kernels) _______________________________________________ Moblin dev Mailing List dev@lists.moblin.org To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists