Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed

More
6 years 1 month ago #181220 by Adik A.

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 1 month ago #181222 by BeagleBrainz
What hardware are you going to be using to control your machine ?
I think it may be helpful if you state your goal and the hardware you hope to use with Linuxcnc ie: Mesa or Parallel port. As you have been jumping back & forth between RTAI & RT_PREEMPT.

As far as I know there is only one rtai version that will work with Linuxcnc, as I said before there as been a lot of work into getting Linuxcnc & the rtai kernel to work.

As it stands the current rtai kernel that is known to work with linuxcnc can have limited graphics.

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

More
6 years 1 month ago - 6 years 1 month ago #181224 by Adik A.
Hardware: Mesa 7i76e card.

I'm waiting for the delivery of DYN4 servo drives from DMM.

For my config (Core i5-9500, M.2 SSD, mini-itx mainboard) RTAI with kernel 4.x offers lower jitter (13us), RT_PREEMPT with kernel 5.6.19 jitter jumps to 80-100us.
Last edit: 6 years 1 month ago by Adik A..

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 1 month ago - 6 years 1 month ago #181225 by BeagleBrainz
You want RT_PREEMPT for Mesa ethernet. Your latency is fine.

YOU NEED TO USE RT_PREEMPT

DO NOT YOU USE RTAI FOR MESA ETHERNET

On my Lenovo T530 using my Mint 19.2 install.
running
Code:
latency-histogram --nobase
gives the follwoing
Last edit: 6 years 1 month ago by BeagleBrainz.

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

More
6 years 1 month ago #181226 by Adik A.
ok, so the conclusion: with Mesa Ethernet cards jitter is not as important as with a parallel connection right?

I tried your Linux Mint 19 repository but unfortunately there is a download error. I posted a log in the appropriate topic.

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

More
5 years 10 months ago #191943 by mirkap

Adik A. wrote: Hello again,
...

Error:

Code:
In file included from ./include/linux/compat.h:16:0, from ./arch/x86/include/asm/fpu/internal.h:14, from /root/src/RTAI-master/include/asm/rtai_fpu.h:191, from /root/src/RTAI-master/include/asm/rtai_hal.h:61, from /root/src/RTAI-master/include/asm/rtai.h:23, from /root/src/RTAI-master/include/rtai.h:27, from /root/src/RTAI-master/src/sched/rtai_hal.c:75: ./include/linux/if.h:28:10: fatal error: sys/socket.h: There is no such file or directory #include <sys/socket.h> /* for struct sockaddr. */ ^~~~~~~~~~~~~~

a bit earlier:
Code:
libtool: link: gcc -o calibrate calibrate-calibrate.o -lpthread test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false)

Has anyone successfully compiled the rtai-modules for v.4.19.14 and knows how to correct this error?
.[/b]


Hi,

I have exactly the same problem.

I try to compile RTAI 5.2.3. on Debian distro kernel 4.19.152.
I want to use RTAI with parallel port.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum