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

More
6 years 2 months ago - 6 years 2 months ago #180033 by Adik A.
Hello everyone, my name is Andrew, I was interested in the LinuxCNC project but I stopped at the compilation v2.9 devel:
Code:
root@adik:~/src/linuxcnc-master# debian/configure -r your kernel '5.6.19-rt12' is not known. There might be needed dependencies which won't get set automatically.
Code:
dpkg-checkbuilddeps: error: Unmet build dependencies: rtai-modules-5.6.19-rt12 | rtai-modules-5.6.19-rt12
Code:
root@adik:~/src/linuxcnc-master# uname -a Linux adik 5.6.19-rt12 #1 SMP PREEMPT_RT Sat Aug 29 22:05:25 CEST 2020 x86_64 x86_64 x86_64 GNU/Linux
Code:
root@adik:~/src/linuxcnc-master# dpkg-buildpackage -d [.....] dh_movefiles: debian/tmp/usr/realtime-5.6.19-rt12/modules/linuxcnc/Module.symvers not found (supposed to put it in linuxcnc-dev) dh_movefiles: debian/tmp/usr/bin/pci_write not found (supposed to put it in linuxcnc) dh_movefiles: debian/tmp/usr/bin/pci_read not found (supposed to put it in linuxcnc) debian/rules:67: recipe for target 'install' failed make: *** [install] Error 1 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Last edit: 6 years 2 months ago by Adik A..

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

More
6 years 2 months ago #180039 by rodw
You need to satisfy the unmet build dependency before proceeding..

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

More
6 years 2 months ago - 6 years 2 months ago #180040 by Adik A.
Can you give more details? Before compiling the kernel, I applied the patch from here:

cdn.kernel.org/pub/linux/kernel/projects...5.6.19-rt12.patch.gz
Last edit: 6 years 2 months ago by Adik A..

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

More
6 years 2 months ago #180042 by rodw
Sorry, I can't help. Its a long time since I compiled the kernel. I just know it can take some sleuthing to sort out the dependencies but on a non standard distro it may be harder.

Why not pick it up here and try again as you are not running rtai.
linuxcnc.org/docs/devel/html/code/buildi...c.html#_introduction

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 2 months ago #180045 by BeagleBrainz
For a PREEMPT kernel
try:
Code:
debian/configure uspace noauto
Code:
debuild -us -uc

As the kernel patch you applied is an RT_PREEMPT patch not an rtai patch.

BTW I use a 4.19.106-rt44-lcnc kernel, on the Mint 19.2 ISO I published in April and on my own machine and get very good latency.
I tried the 5.x kernels and found the 4.19.106 gave the best latency.

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

More
6 years 2 months ago - 6 years 2 months ago #180052 by Adik A.

BeagleBrainz wrote: For a PREEMPT kernel
try:

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

As the kernel patch you applied is an RT_PREEMPT patch not an rtai patch.


Thank you! Now LinuxCNC was compiled flaweslly. :)

BeagleBrainz wrote: BTW I use a 4.19.106-rt44-lcnc kernel, on the Mint 19.2 ISO I published in April and on my own machine and get very good latency.
I tried the 5.x kernels and found the 4.19.106 gave the best latency.


I've testing LinuxCNC on AMD Ryzen 3400G + AsRock IMB-A1000, I plan to use Mesa 7i76E with DMM servos.
I will try your image, on Xubuntu 18.04.5 acutally Max Jitter: 65k ns.
Last edit: 6 years 2 months ago by Adik A..

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

Time to create page: 0.057 seconds
Powered by Kunena Forum