How build Linuxcnc with xenomai3?

More
04 Sep 2023 09:01 #279803 by andypugh
To run with Xenomai you need to install the uspace-xenomai helper package.

Which I have definitely seen, but can't currently find.
buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-amd64/
For example has the RTA version (linuxcnc-uspace-rtai_2.8.4....deb)

I think that if you compile from source and then build packages you should end up with the Xenomai helper.

Which LinuxCNC version are you using? I can try to look into this.

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

More
04 Sep 2023 09:07 #279804 by andypugh
Incidentally, I think that you want to end up with the info line saying
"Note: Using XENOMAI (posix-skin) realtime"

github.com/LinuxCNC/linuxcnc/blob/2.8/sr...pace_xenomai.cc#L171

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

More
10 Oct 2023 07:20 #282666 by shaying526
hi
I encountered the same problem as you
I found the reason by looking at the source code of LinuxCNC, but I'm not sure if you have the same problem
The source code relies on identifying the complete character '- xenomai' in the string returned by 'uname(&u)' to determine if you are using the xenomai system
'uspace_common.h' line 365: return strcasestr (u.release, "-xenomai") != 0;


and I set 'append to kernel release' to '-xeno' at the beginning
Confirm if you have such a problem
I encountered other issues later, are you Chinese? Add WeChat or my email address
wechat:shaying526
email:solo526@126.com

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

Time to create page: 0.088 seconds
Powered by Kunena Forum