64bit + linux-3.8.13/rtai-4.0 + linuxcnc-2.6.0-pre

More
05 May 2014 18:03 - 05 May 2014 18:04 #46611 by rythmnbls
The kernel patch came from the links below..

Thread discussing the patch comments.gmane.org/gmane.linux.real-time.rtai/24950
Link to the patch cvs.gna.org/cvsweb/magma/base/arch/x86/patches/?cvsroot=rtai

Kernel config attached.

Regards.

Steve.
Last edit: 05 May 2014 18:04 by rythmnbls.

Please Log in or Create an account to join the conversation.

More
05 May 2014 18:05 - 05 May 2014 18:23 #46612 by rythmnbls
2nd attempt to attach the config file.
Attachments:
Last edit: 05 May 2014 18:23 by rythmnbls. Reason: attaching the config - again :)

Please Log in or Create an account to join the conversation.

More
05 May 2014 18:19 #46613 by ArcEye
Try renaming it to config.txt

txt is about the only thing certain to work B)

Please Log in or Create an account to join the conversation.

More
05 May 2014 18:23 #46614 by ArcEye

The kernel patch came from the links below..

Thread discussing the patch comments.gmane.org/gmane.linux.real-time.rtai/24950
Link to the patch cvs.gna.org/cvsweb/magma/base/arch/x86/patches/?cvsroot=rtai


I am obviously missing something.

All the patches are named x86 and not x86_64

Are you saying that the x86 patches work on x86_64?

If so, I have been assuming that no patches existed since 2.6.34, because of the name of them :(

regards

Please Log in or Create an account to join the conversation.

More
05 May 2014 18:25 #46615 by rythmnbls
From the linked thread.

Starting with kernel 2.6.24, the sources for arch/x86_64 and arch/i386 have been unified into a single x86
directory. This is why the more recent patches can be found in base/arch/x86/patches. While the released
versions don't seem to include a 2.6.26 patch, you can get one from cvs:


Regards,

Steve

Please Log in or Create an account to join the conversation.

More
05 May 2014 18:28 #46616 by ArcEye
Great, if you can attach your config as a txt file or in a zip, 2 ways guaranteed to work, I will try building it now

cheers

Please Log in or Create an account to join the conversation.

More
05 May 2014 18:35 #46619 by rythmnbls
I edited my earlier post, its attached there.

Steve.
The following user(s) said Thank You: ArcEye

Please Log in or Create an account to join the conversation.

More
05 May 2014 19:38 #46623 by rythmnbls
Some more things I should mention..

The config file is for a vanilla kernel from kernel.org

The linuxcnc sources will complain about sse math and version.h during the realtime modules build, my fixes are below.

version.h can be fixed with a simple symlink
root:~/linux-3.8.13/include/linux# ls -al version.h
lrwxrwxrwx 1 root root 33 Apr 14 17:23 version.h -> ../generated/uapi/linux/version.h

Attached is a patch for the x86 kernel Makefile, this is probably entirely wrong, but it worked for me. :whistle:

Steve.
Attachments:

Please Log in or Create an account to join the conversation.

More
05 May 2014 22:12 #46631 by ArcEye
Thanks, I could not build on my existing x86_64 partition easily as I have nvidia drivers installed and would have to keep switching configs.

Just finished installing on a new x86_64 partition.

Your kernel config is quite similar to one I used for 3.8.0, but with newest processor instruction set and a much reduced set of modules

I will see what shakes out

regards

Please Log in or Create an account to join the conversation.

More
05 May 2014 23:02 #46634 by Bari
Are you using the RTAI 4.0 Tarball or something else?

www.rtai.org/userfiles/downloads/RTAI/

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum