I have just done a fresh clone of machinekit, built on a rt-preempt kernel (with a posix) one also installed and I get

Sep 21 14:52:00 INTEL-i7 msgd:0: startup pid=14733 flavor=rt-preempt rtlevel=5 usrlevel=5 halsize=524288 shm=Posix cc=gcc 8.2.0  version=unknown
Sep 21 14:52:00 INTEL-i7 msgd:0: ØMQ=4.2.5 czmq=4.1.1 protobuf=3.0.0 atomics=gcc intrinsics    libwebsockets=2.0.3.
Sep 21 14:52:00 INTEL-i7 msgd:0: configured: sha=f63b8a215
Sep 21 14:52:00 INTEL-i7 msgd:0: built:      Sep 21 2018 14:50:29 sha=f63b8a215

uname -a

Linux INTEL-i7 4.18.0-1-rt-amd64 #1 SMP PREEMPT RT Debian 4.18.8-1 (2018-09-18) x86_64 GNU/Linux

If your kernel does not say it is RT and PREEMPT, then it probably isn't.

On 21/09/18 14:40, mngr wrote:
I compiled from source, using
./ configure --with-platform-raspberry
and machinekit works.


I randomly gave a look in the /var/log/linuxcnc.log file and I found that
Sep 21 13:24:10 realtimepi msgd:0: startup pid=4467 flavor=posix rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 6.3.0 20170516  version=unknown
even if
pi@realtimepi:~ $ uname -a
Linux realtimepi 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 armv7l GNU/Linux

should'nt flavor be preempt-rt?

did I missed something while compiling?


Il giorno martedì 18 settembre 2018 14:40:20 UTC+2, mngr ha scritto:
Thanks Tac!!
i was just about to ask how did you make a debian stretch real-time image for the Pi, thank you very much!

Il giorno lunedì 17 settembre 2018 19:54:18 UTC+2, Tac Huynh ha scritto:
Thanks Schooner.
Latest update worked.

For other people using the raspberry pi. I used the ready made image from RealtimePi.


saving a lot of time for patching the preEmpt realtime kernel
Tac.

On Friday, September 14, 2018 at 7:41:29 AM UTC-7, Tac Huynh wrote:
Please help:
How do I fix this installation error?
Thanks,
Tac.

I tried to install Machinekit on Raspberry Pi 3, Raspian Stretch, got following errors:

sudo apt-get install machinekit-rt-preempt

....
Setting up xdot (0.7-2) ...
Setting up machinekit-rt-preempt (0.1.1536747208.git041712d-1~stretch) ...
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_generic.bin': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_generic.dbg': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_decamux.bin': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_decamux.dbg': No such file or directory
dpkg: error processing package machinekit-rt-preempt (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of machinekit:
 machinekit depends on machinekit-rt-threads; however:
  Package machinekit-rt-threads is not installed.
  Package machinekit-rt-preempt which provides machinekit-rt-threads is not configured yet.

dpkg: error processing package machinekit (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u2) ...
Errors were encountered while processing:
 machinekit-rt-preempt
 machinekit
E: Sub-process /usr/bin/dpkg returned an error code (1)

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to