LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   zinFrameDriver: disagrees about version of symbol module_layout (http://www.linuxquestions.org/questions/linux-kernel-70/zinframedriver-disagrees-about-version-of-symbol-module_layout-932770/)

olexandr.klymenko 03-05-2012 03:47 AM

zinFrameDriver: disagrees about version of symbol module_layout
 
Hi guys,
I have a task:
Build kernel based on 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686 GNU/Linux
(make some minor but necessary changes). At the same time I have proprietary binary drivers (zinFrameDriver, VirtualInputDeviceDriver), so I have to keep compatibility of new kernel with mentioned drivers.
I have built new kernel using manual (http://blog.avirtualhome.com/2011/10...neiric-kernel/)
Finally I got kernel with uname -a:
3.0.0-14-generic #23 SMP Sat Mar 3 02:40:19 EST 2012 i686 GNU/Linux
But when I try to load proprietary drivers I got:
zinFrameDriver: disagrees about version of symbol module_layout
So, how should I build kernel with keeping compatibility?
Thanks in advance.

hi2arun 03-06-2012 05:48 AM

Can you show the output of

Quote:

modinfo <your_prop_driver.ko>

olexandr.klymenko 03-06-2012 05:53 AM

# modinfo /lib/modules/3.0.0-14-generic/kernel/drivers/touch/zinFrameDriver.ko
filename: /lib/modules/3.0.0-14-generic/kernel/drivers/touch/zinFrameDriver.ko
license: GPL
srcversion: 3A1999E34060BAD8700F81A
alias: usb:vAAECpB0D0d*dc*dsc*dp*ic*isc*ip*
depends:
vermagic: 3.0.0-14-generic SMP mod_unload modversions 686

hi2arun 03-06-2012 06:19 AM

Did you compile your driver for the newly compiled kernel?

Quote:

vermagic: 3.0.0-14-generic SMP mod_unload modversions 686
looks different from

Quote:

3.0.0-14-generic #23
.

Did you enabled "Module versioning support" while compiling the kernel?

olexandr.klymenko 03-06-2012 06:31 AM

1. The matter is I haven't got sources of kernel module of needed driver

2. Yes, CONFIG_MODVERSIONS=y


All times are GMT -5. The time now is 02:33 PM.