Thomas.G.Lockhart at jpl.nasa.gov
Tue Aug 20 21:10:27 CEST 2002
> An attempt was made to install RTAI using RTAI 24.1.9. We are using Redhat
> 7.3 and kernel 2.4.18-3. An error occured when we typed "patch -p1
> 2.4.18-rthal5g". It found the file but gave us HUNK error. The
> patches/README stated that the optimum kernel and patch is 2.4.17. Please
> advise on which patch to use.
You will find that the docs and mailing lists suggest using a "plain
vanilla" kernel for building RTAI. The RH RPMs are *definitely* not in
that category, and patches will not apply cleanly. Look at the .rej
files to determine what did not apply, then hand-modify the offending
files. You can generate your own patch set with those changes.
I've recently done this with a plain vanilla kernel with Mandrake
patches to implement XFS and a few other features. It was definitely
more trouble than trying an unpatched/unmodified kernel, and trying a
full distro kernel is definitely more trouble still.
Supervisor, Realtime Software Group
Interferometry and Large Optical Systems
More information about the Rtai