Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
30 Aug 2020 07:48 - 30 Aug 2020 07:56 #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:
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.
dpkg-checkbuilddeps: error: Unmet build dependencies: rtai-modules-5.6.19-rt12 | rtai-modules-5.6.19-rt12
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
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: 30 Aug 2020 07:56 by Adik A..
Please Log in or Create an account to join the conversation.
30 Aug 2020 08:14 #180039
by rodw
Replied by rodw on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
You need to satisfy the unmet build dependency before proceeding..
Please Log in or Create an account to join the conversation.
30 Aug 2020 08:24 - 30 Aug 2020 08:29 #180040
by Adik A.
Replied by Adik A. on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
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
cdn.kernel.org/pub/linux/kernel/projects...5.6.19-rt12.patch.gz
Last edit: 30 Aug 2020 08:29 by Adik A..
Please Log in or Create an account to join the conversation.
30 Aug 2020 08:31 #180042
by rodw
Replied by rodw on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
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
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
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
30 Aug 2020 09:25 #180045
by BeagleBrainz
Replied by BeagleBrainz on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
For a PREEMPT kernel
try:
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.
try:
debian/configure uspace noauto
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.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
30 Aug 2020 10:52 - 30 Aug 2020 10:53 #180052
by Adik A.
Thank you! Now LinuxCNC was compiled flaweslly.
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.
Replied by Adik A. on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
For a PREEMPT kernel
try:debian/configure uspace noautodebuild -us -uc
As the kernel patch you applied is an RT_PREEMPT patch not an rtai patch.
Thank you! Now LinuxCNC was compiled flaweslly.
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: 30 Aug 2020 10:53 by Adik A..
Please Log in or Create an account to join the conversation.
30 Aug 2020 11:00 #180053
by andypugh
You don't need to build Debian packages.
The run-in-place alternative is:
(I turned off docs as that saves a lot of time)
Replied by andypugh on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
For a PREEMPT kernel
try:debian/configure uspace noautodebuild -us -uc
You don't need to build Debian packages.
The run-in-place alternative is:
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
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
30 Aug 2020 11:24 #180054
by BeagleBrainz
Replied by BeagleBrainz on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
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.
30 Aug 2020 11:35 #180056
by andypugh
Replied by andypugh on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
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
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
30 Aug 2020 13:26 #180068
by BeagleBrainz
Replied by BeagleBrainz on topic Xubuntu 18.04.5 + kernel 5.6.19-rt12 | rtai-modules-5.6.19-rt12 missed
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.
Time to create page: 0.141 seconds