On Mon, Jul 19, 2010 at 6:09 PM, Alan Battersby <[email protected]> wrote: > On 19/07/10 16:36, Andy Pugh wrote: >> On 19 July 2010 16:17, alan battersby >> <alan.battersby-XZoyATsUNX5Wk0Htik3J/[email protected]> wrote: >> >>> I am attempting to hopefully place emc onto opensuse 11.3. I have >>> downloaded and compiled it as a simularor but want to run the real >>> system. So have downloaded 11.3 kernel and compiled and created it. I >>> now have a problem with rtai I downloaded RTAI 3.8 source run make and >>> filled in the configuration values but get an error message >>> >>> configure: error: HAL patch not applied/enabled in /usr/src/linux >> >> You need to patch the kernel for RTAI and recompile it. >> >> If you look in your RTAI source under base/arch/x86/patches you should >> find a patch file that you can apply to the kernel sources. >> >> You might also find a patching script in a "scripts" directory of the >> RTAI download, I am not sure what that does, or how it works. When I >> tried it it just told me that it didn't have a valid patch for my >> kernel version, but applying the latest of the patches in the RTAI >> 3.8.1 download to the latest ubuntu kernel download worked with no >> rejections. >> > > Sorry, > But I am on a steep learning curve here and struggling. I can see the > patches in rtai-3.8/base/arch/x86_64/patches there is not one for my > kernel which is 2.6.34 but there is a > hal-linux-2.6.23-x86_64-1.4-03.patch.
You pretty much have to match the RTAI patch version to the kernel version. The chance that the patches for version N will apply to kernel N+k very rapidly decrease with k. > Do I have to use rpm as I read somewhere that rpm can > apply patches during an install. No, no--this is true but not relevant in this case. RPM applies specific patches to specific base software distribution to create a specific version of the RPM. Not what you need to do here. Find the latest RTAI patch, and apply it to the appropriate kernel version even if it isn't the latest/greatest, and use that---it should work. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
