LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 03-05-2012, 03:47 AM   #1
olexandr.klymenko
LQ Newbie
 
Registered: Jun 2011
Posts: 18

Rep: Reputation: Disabled
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.
 
Old 03-06-2012, 05:48 AM   #2
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 33
Can you show the output of

Quote:
modinfo <your_prop_driver.ko>
 
Old 03-06-2012, 05:53 AM   #3
olexandr.klymenko
LQ Newbie
 
Registered: Jun 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
# 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
 
Old 03-06-2012, 06:19 AM   #4
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 33
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?
 
Old 03-06-2012, 06:31 AM   #5
olexandr.klymenko
LQ Newbie
 
Registered: Jun 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
1. The matter is I haven't got sources of kernel module of needed driver

2. Yes, CONFIG_MODVERSIONS=y
 
  


Reply

Tags
kernel 3, module load error


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time gmad22 Debian 2 05-24-2012 04:00 PM
"disagrees about version of symbol struct_module" despite same vermagic pbmddt Linux - Kernel 2 05-09-2011 06:29 AM
Installer nvidia: disagrees about version of symbol module_layout? lugoteehalt Linux - Software 1 01-02-2010 04:59 PM
WARNING: Symbol version dump /usr/src/linux-2.6.25/Module.symvers is missing gauravholey Linux - Kernel 2 06-21-2009 12:28 AM
undefined symbol, compiler version? shared library troubles? thewtex Programming 6 02-25-2007 04:32 PM


All times are GMT -5. The time now is 05:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration