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

More
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

Please Log in 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 to join the conversation.

More
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

Please Log in 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 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 to join the conversation.

More
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.

Please Log in to join the conversation.

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 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 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 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 to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum