Thanks

I have found the error, the problem was that a variable was not getting set, but because it was then 0,
if you tested on a posix thread, because posix is enumerated to 0, there was no problem :-P


On 16/09/18 15:29, mngr wrote:
I installed the old machinekit version, taken from you comment, and the upgraded

Il giorno domenica 16 settembre 2018 16:28:31 UTC+2, mngr ha scritto:
Same issue here, I am on jessie, debian 8.0

Linux raspberrypi 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC 2016 armv7l GNU/Linux

here is the console output, maybe it helps

MACHINEKIT - 0.1
Machine configuration directory is '/home/pi/machinekit/configs/ARM.BeagleBone.CRAMPS'
Machine configuration file is 'CRAMPS.ini'
Starting Machinekit...
Warning - /usr/libexec/linuxcnc/rtapi_app_posix not setuid
'sudo make setuid' missing?
rtapi_msgd command:  /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=5 --usrmsglevel=5 --halsize=524288
rtapi_app command:  /usr/libexec/linuxcnc/rtapi_app_posix --instance=0
/usr/bin/realtime: line 237: /usr/libexec/linuxcnc/rtapi_app_posix: No such file or directory
rtapi_app startup failed; aborting
halcmd: cant connect to rtapi_app: -1 (uri= uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout
E: 18-09-16 14:25:25 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:281


Il giorno domenica 16 settembre 2018 15:40:13 UTC+2, Schooner ha scritto:
This is the same error as in this thread
Re: [Machinekit] Re: RT demon is not running. rtapi_app_main(rtapi): -22
Invalid argument ???

Looks like the rt-preempt is reported as being posix, at a guess.
Probably why it does not cause an issue when it IS a posix install like
mine.

Thanks, I will look at it again and see if I can find a way to install a
rt-preempt kernel for testing on arm.
Perhaps test on amd64 rt-preempt first, if it fails on that it will be
much easier to work on.


On 16/09/18 13:58, Tac Huynh wrote:
> Sep 16 12:52:23 realtimepi rtapi:0: 4:rtapi_app:1514:user RTAPI:0  
> posix v0.1~-----~e656585 init
> Sep 16 12:52:23 realtimepi rtapi:0: 1:rtapi_app:1514:user RTAPI:0 BUG:
> thread flavors dont match: global 1 rtapi 0
> Sep 16 12:52:23 realtimepi rtapi:0: rtapi_app_main(rtapi): -22 Invalid
> argumen

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