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

More
6 years 2 months ago #180053 by andypugh

BeagleBrainz wrote: For a PREEMPT kernel
try:

Code:
debian/configure uspace noauto
Code:
debuild -us -uc


You don't need to build Debian packages.

The run-in-place alternative is:
Code:
cd src ./configure --with-realtime=uspace --enable-build-documentation=no make . ../scripts/rip-environment

(I turned off docs as that saves a lot of time)

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 2 months ago #180054 by BeagleBrainz
How much time can you save in a 6 minute build by turning the docs off ?

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

More
6 years 2 months ago #180056 by andypugh
It depends on what you have changed, and how many files need to be regenerated. But for dev work you can get a new build on 10 seconds or so if not many files got touched.

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 2 months ago #180068 by BeagleBrainz
I’m no dev, well above and beyond my simple mind. I just pull once a week and do a package build for the Mint repo.

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

More
6 years 1 month ago - 6 years 1 month ago #181215 by Adik A.
Hello again,

I decided to compare jitter under kernel 5.6.19-rt12, v4.14.175 and v4.19.114. I wanted v4.19.14, because supports Intel UHD 630 graphics (Intel i5-9500).

I'm stuck at the stage of compiling rtai-modules:
Code:
cat /etc/linuxmint/info RELEASE=19.3 CODENAME=tricia EDITION="Xfce" DESCRIPTION="Linux Mint 19.3 Tricia" DESKTOP=Gnome TOOLKIT=GTK NEW_FEATURES_URL=https://www.linuxmint.com/rel_tricia_xfce_whatsnew.php RELEASE_NOTES_URL=https://www.linuxmint.com/rel_tricia_xfce.php USER_GUIDE_URL=https://www.linuxmint.com/documentation.php GRUB_TITLE=Linux Mint 19.3 Xfce
Code:
root@mint-linuxcnc:~/RTAI-master/ksrc# uname -a Linux mint-linuxcnc 4.19.114-rtai-amd64 #1 SMP Tue Sep 8 09:07:06 CEST 2020 x86_64 x86_64 x86_64 GNU/Linux
Code:
cd ~/RTAI-master ./autogen.sh ./configure debian/configure 4.19.114 rtai amd64 dpkg-buildpackage

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?

Under the v4.14.175 rtai-modules compiles w/o problems, jitter is great, but graphics acceleration does not work for my i5-9500 CPU. I also can't set the resolution to 1920x1080px.

Graphics card UHD 630 under kernel v.4.19.14 works OK, unfortunately I can't compile the RTAI modules.
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 #181219 by BeagleBrainz
Are you wanting the RTAI kernel or the RT_PREEMPT kernel ?

And as far as I know Andy & others have done a lot of work on getting a RTAI kernel to work with Linuxcnc.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum