64bit + linux-3.8.13/rtai-4.0 + linuxcnc-2.6.0-pre
Steve.
Please Log in or Create an account to join the conversation.
The kernel config you posted produced a kernel with just a handful of modules, which failed to boot because initramfs-3.8.13-rtai did not contain modules required
I amended my x86 config for x86_64 and produced a working 3.8.13-rtai kernel with RTAI from a fresh pull on cvs giving /usr/realtime built against it
The problems came with linuxcnc, the posemath library was not being built properly, giving either errors before completion trying to link with other code requiring functions in posemath
or at the end when linuxcnc was launched, with insmod error for rtai_math giving 'unknown symbol sincos', which is a function which should be in posemath.
Which version of linuxcnc did you use?
I was using Machinekit, which is essentially 2.7 (or 2.6 plus ubc-3 and TP) and builds perfectly with a 3.4.55-rtai and a 3.5.7-rtai x86 kernel
regards
Please Log in or Create an account to join the conversation.
The kernel config you posted produced a kernel with just a handful of modules, which failed to boot because initramfs-3.8.13-rtai did not contain modules required
I don't use a initrd boot system, my kernel builds usually contain all the drivers needed for boot. FYI I'm not using Ubuntu
The problems came with linuxcnc, the posemath library was not being built properly, giving either errors before completion trying to link with other code requiring functions in posemath
or at the end when linuxcnc was launched, with insmod error for rtai_math giving 'unknown symbol sincos', which is a function which should be in posemath.
Which version of linuxcnc did you use?
I had the same unresolved sincos symbol problem, there is an option in the rtai config to enable Mathfuns support in the kernel, when I enabled it solved that problem.
The version of linuxcnc was from git. Last commit was ...
git log -C --stat
commit e66e5c954ba6dca72b035b0591447eaaeb144a1d
Merge: 388e8ae 00f2ea4
Author: Chris Radek <chris@xxxxxx.xxx> (email redacted)
Date: Sat Apr 5 19:37:11 2014 -0500
Merge branch '2.6'
Regards.
Steve.
Please Log in or Create an account to join the conversation.
I don't use a initrd boot system, my kernel builds usually contain all the drivers needed for boot.
That explains it, but I need a flexible build not limited to a narrow range of hardware.
Anyway the kernel now builds and runs with my adapted x86 config
FYI I'm not using Ubuntu
Nor am I (Debian 7.5)
I had the same unresolved sincos symbol problem, there is an option in the rtai config to enable Mathfuns support in the kernel, when I enabled it solved that problem.
I always enable that and the C99 options, otherwise Linuxcnc will not build
There is something screwy going on with the maths functions, they were what caused the most problems with ubc-x previously
The configure script with linuxcnc is different and may be pulling in maths functions from elsewhere
I will have another play when I have time
regards
Please Log in or Create an account to join the conversation.
I always enable that and the C99 options, otherwise Linuxcnc will not build
Try it without the C99 options, I had issues with it enabled, also I build the entire kernel with the sse patch applied.
Regards.
Steve.
Please Log in or Create an account to join the conversation.
github.com/NTULINUX/RTAI
Only tested and confirmed working on AMD64 platforms.
Please Log in or Create an account to join the conversation.
Forked and cloned.
I mostly use amd_64 too, but I have some i386 partitions which I will test a build on later in the week
regards
Please Log in or Create an account to join the conversation.