[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02573) Re: new Usagi snapshot on old linux kernel



On Mon, 13 Oct 2003 10:29:31 +0800, you said:

>     because we are doing a project about the embed system on sh4, the target
> system must be the kernel 2.4.18.

sh4 won't run a more recent kernel?

>     If we choices "Backport the patches to 2.4.18 ourself", can you tell me
> some details about this?

Basically, you take the Usagi patch, and make it work on 2.4.18.  This means
you'll have to go through each piece, apply it, and then resolve any conflicts
or compile problems.  The most likely cause of major trouble would be if the
current Usagi patch assumes the use of some code in the base 2.4.23 kernel that
was added since 2.4.18 - you'll then have to hunt through the mainline kernel
patch kits for .19 through .23, find the code, and put THAT onto your 2.4.18 as
well.

Expect a lot of headache - 2.4.18 came out in February 2002, and the code has
moved a LOT (with bugfixes, reorganizations, and the like) in almost 2 years
since then.

That's why I wonder why you "have" to use 2.4.18 - you'll be missing out on
almost 2 years of bug fixes.  Using 2.4.22 or 2.4.23-preN will lessen your work
considerably (if you're in development, you may wish to get started with 2.4.23-preN
now, and merge in the official 2.4.23 once it comes out - that will certainly be less
of a clash than trying to get Usagi plus all the other networking changes of the last
2 years stuck back onto 2.4.18:

ncftp /pub/linux/kernel/v2.4 > dir Ch*
-rw-r--r--   1 korg     korg         2792   Nov 23  2001   ChangeLog-2.4.15
-rw-r--r--   1 korg     korg          291   Nov 26  2001   ChangeLog-2.4.16
-rw-r--r--   1 korg     korg         9010   Dec 21  2001   ChangeLog-2.4.17
-rw-r--r--   1 korg     korg        10430   Feb 25  2002   ChangeLog-2.4.18
-rw-rw-r--   1 korg     korg       109934   Aug  3  2002   ChangeLog-2.4.19
-rw-rw-r--   1 korg     korg        88874   Nov 28  2002   ChangeLog-2.4.20
-rw-rw-r--   1 korg     korg        97324   Jun 13 14:53   ChangeLog-2.4.21
-rw-rw-r--   1 korg     korg        81650   Aug 25 11:48   ChangeLog-2.4.22

That's just the *changelogs*.  You'll almost guaranteed have to break out
parts of those patches and stuff them back into 2.4.18.

Good Luck, you'll need it.

Attachment: pgpLOxQfVI9f0.pgp
Description: PGP signature