LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2008, 03:35 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
Transferring *.ko in linux2.6.9


I have 2 linux machine.

They have the same "main" kernel version. 2.6.9.
But different extraversion. e.g. -66, -99.

I want to get ipx in both of them.
I manage to do it in one of them, the lower version linux, -66. I recompile the kernel to achieve it.

I copied the ipx.ko to machine-99 and do a
Code:
insmod ipx.ko
insmod: error inserting ipx.ko: -1 Invalid module format
I did this because I don't want to recompile machine-99

Is it caused by the differnent kernel version? or the kernel-devel version?
Is there a way to resolve this?
 
Old 07-01-2008, 07:01 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
Is there a way to resolve this?
That depends on your ability to make patches and to read code.

Make a diff of the -66 kernel before and after compiling the module.

Compare the affected sections of kernel code in both the -66 and -99 kernels. If the affected sections of code are the same, then apply the diff to the -99 kernel. If there is any difference between the affected sections of code in the two kernels, the patch will not work in the -99 kernel.

In that case, you have no choice but to compile the module in the -99 kernel.
 
  


Reply



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
About Linux2.6 rasho Linux - Distributions 5 12-15-2006 11:02 AM
Porting linux2.6 on sa1110 cpvjagadeesh Linux - Software 0 11-05-2004 07:32 AM
linux2.6.6 and tv2000 EXPERT cratos Slackware 1 06-05-2004 09:07 AM
Cannot boot into Linux2.4.10 mpls_linux Red Hat 1 04-14-2004 02:35 AM
linux2.6.0-test10 - Is it right for me? graywind Slackware 13 11-29-2003 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration