Results 1 to 3 of 3
hi
What are the considerable differences between linux kernel 2.4 and kernel 2.6
how one should migrated from application comiled on kenel 2.4 to kernel 2.6 ?
nitiket...
- 04-04-2010 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 6
differences
hi
What are the considerable differences between linux kernel 2.4 and kernel 2.6
how one should migrated from application comiled on kenel 2.4 to kernel 2.6 ?
nitiket
- 04-04-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
The substantial differences between the 2.4 and 2.6 kernels are extensive. The smaller differences are vast. This is a subject that cannot reasonably be addressed in these forums. In fact, I have nowhere seen a "concise" description of the changes. Here is a page that gets into the differences between the 2.4 and 2.6 kernel that must be taken into account when porting device drivers from 2.4 to 2.6. You might find it useful.
Porting device drivers to the 2.6 kernel [LWN.net]Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-04-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
As for your question
, that is another issue. Usually, you only need to recompile your application. Sometimes, not even that if it was statically linked. When testing an application built for 2.4 on a 2.6 kernel, first see if it runs (regression test thoroughly). If it passes, great! If not, then try a simple rebuild from source, and again regression test. If you find that some of the library headers (data structures) have changed substantially enough to cause build errors, then you will have to fix them in the source code. Those changes may or may not be trivial, but usually more on the trivial side (caveat developer!).how one should migrated from application comiled on kenel 2.4 to kernel 2.6 ?Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
