LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-29-2019, 03:13 PM   #1
helloworld2
LQ Newbie
 
Registered: Jan 2019
Posts: 1

Rep: Reputation: Disabled
Is there a way to transplant an AODV-UUU from an old kernel to a current kernel?


I'm going to run the aodv-uu on the latest kernel.

Aodv-uu uses a kernel module, which seems to be a conflict.

If I change the kernel module part code, will it work?

aodv-u works with kernel 2.6 and I want to compile from ubuntu 18.04 kernel 4.18

Please advise me if you have ever worked on transferring code from the old kernel to the latest kernel.
 
Old 01-30-2019, 03:09 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,427

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
You're in for a nightmare.

The changes that have taken place since kernel-2.6 have been considerable. IIRC, they include gcc-3.x --> gcc-8.x; different header arrangements which will really screw you over; rework & patching for several bugs and security loopholes; Whatever refinements (Like Position Independent code, stack protector, etc) that the kernel guys came up with. Many things were axed. That's not an area I follow.

You can go at the compile (patch in your vanished code), and try making it, which will fail. Correct the errors until you see sense.

Alternatively, you could look for old Red Hat or centos code. Some version recently (or perhaps still) in existence ran on a 2.6.32 kernel, heavily patched. Install that instead of your mint or ubuntu. Whatever you want may be there already. Otherwise, look for RH kernel source, and try your luck. If it's EOL, and unavailable, you might be able to torrent it.
 
  


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
Is there a way to successfully transplant a Linux system to new hardware? Red Squirrel Linux - Desktop 12 01-31-2015 09:33 PM
NS2: Need of plain plain aodv.cc and aodv.h files chenil Linux - Software 1 07-10-2013 06:17 AM
A curious problem with driver transplant hzrenjer Linux - Hardware 1 06-27-2005 09:57 PM
Linux Transplant MikeZila Linux - Hardware 2 12-15-2004 11:07 PM

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

All times are GMT -5. The time now is 09:28 PM.

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