- Posts: 3
- Thank you received: 0
Nixos & linuxcnc
5 years 7 months ago #201989
by MarcWeber
Nixos & linuxcnc was created by MarcWeber
github.com/MarcWeber/nixpkgs/tree/e2/linuxcnc
I got far packaging linuxcnc but on the old i686 (1GB RAM) showing realtime=posix in stepconf the measure jitter like stuff did no longer show up. I patched to allow running as root because I failed/ was to lazy to think about what to setuid in what way.
The kernel is 5.4 is boot.kernelPackages = pkgs.linuxPackages-rt_5_4; (RT_REALTIME with _).
Is there anything trivial I have missed or should I be using an alternative realtime configuration ?
I compiled with --with-realtime=uspace .
Or should I retry with rtai patches eg 5.2 kernel ? www.rtai.org/userfiles/downloads/RTAI/rtai-5.2.tar.bz2
I got far packaging linuxcnc but on the old i686 (1GB RAM) showing realtime=posix in stepconf the measure jitter like stuff did no longer show up. I patched to allow running as root because I failed/ was to lazy to think about what to setuid in what way.
The kernel is 5.4 is boot.kernelPackages = pkgs.linuxPackages-rt_5_4; (RT_REALTIME with _).
Is there anything trivial I have missed or should I be using an alternative realtime configuration ?
I compiled with --with-realtime=uspace .
Or should I retry with rtai patches eg 5.2 kernel ? www.rtai.org/userfiles/downloads/RTAI/rtai-5.2.tar.bz2
Please Log in to join the conversation.
5 years 7 months ago #202039
by andypugh
Replied by andypugh on topic Nixos & linuxcnc
You could try the command-line latency test. That would give some idea if the realtime system is working.
Did it say "POSIX realtime" or "POSIX non-realtime"?
Did it say "POSIX realtime" or "POSIX non-realtime"?
Please Log in to join the conversation.
5 years 7 months ago #202061
by MarcWeber
Replied by MarcWeber on topic Nixos & linuxcnc
POSIX realtime. But as I said then it looked like the system turned so busy that it was even hard to shut it down.
Please Log in to join the conversation.
Time to create page: 0.875 seconds
