This is a ASRock 90-MXB870-A0UAYZ, with an Intel Celeron mounted, and 8GB of RAM
i am trying to load the some standard configuration, the log I had attached were for stepper_mm.ini <https://github.com/machinekit/machinekit/blob/master/configs/by_interface/parport/stepper/stepper_mm.ini> I haven't seen any configuration running on this machinekit instance. I tried with preempt-rt, and it worked, but latency wasn't good. I am attaching linuxcnc.log produced when I run marco@debian:~$ export DEBUG=5 marco@debian:~$ halrun msgd:0 stopped rtapi:0 stopped rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd --instance=0 -- rtmsglevel=5 --usrmsglevel=5 --halsize=524288 rtapi_app command: /usr/libexec/linuxcnc/rtapi_app_xenomai --instance=0 FATAL ERROR: OUT OF MEMORY (epoll.cpp:55) /usr/bin/realtime: line 215: 6606 Aborted halcmd ping halcmd: maybe trying with machinekit-hal and machinekit-cnc is a interesting test? mngr Il giorno sabato 23 marzo 2019 09:12:01 UTC-4, Schooner ha scritto: > > Could do with some more info please. > > What computer is this? How much RAM? > > What config are you loading? (attach please) > > Looks like software generated stepgen to steppers through parport? > Did this previously work, or have you only just tried it? > If it did previously work, what was the git sha of the packages you used? > > If you search this error, it keeps coming up with references to libzmq, > but nothing concrete. > > I don't have anything with xenomai on it, but would expect this to arise > on the BBB running Jessie too. > > In your follow up you said you got this error loading manually through > halcmd. > Do you have the log of this to show what was loaded and where the error > arose? > > > On 23/03/19 10:27, mngr wrote: > > The same happens with RIP build > If I try to load modules from halrun by hand it still throws some FATAL > ERROR, but doesn't crash unloading modules > > Il giorno giovedì 21 marzo 2019 10:47:44 UTC+1, mngr ha scritto: >> >> Hi, >> >> I am on >> Linux debian 3.8-1-xenomai.x86-amd64 #1 SMP Debian 3.8.13-12~1jessie~1da >> x86_64 GNU/Linux >> >> with machinekit installed >> marco@debian:~/log$ dpkg --list | grep machinekit >> ii machinekit 0.1.1552558261.git355496b-1~jessie >> amd64 PC based motion controller for real-time Linux >> ii machinekit-xenomai 0.1.1552558261.git355496b-1~jessie >> amd64 PC based motion controller for real-time Linux >> >> from (apt) >> deb http://deb.machinekit.io/debian jessie main >> >> So, I think the installation is good, but whatever (I tried some) >> configuration I try to run I get errors. >> I have attached in print.txt the terminal output >> >> Looking in the log I see that at some point it decides to unload the >> modules, but I can't understand the reason. >> >> Maybe it is the >> FATAL ERROR: OUT OF MEMORY (epoll.cpp:55) >> that it keeps throwing on the terminal. >> >> Is there anything I can do to better debug this? >> > -- > 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] <javascript:>. > 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.
Mar 28 04:03:07 debian msgd:0: startup pid=6598 flavor=xenomai rtlevel=5 usrlevel=5 halsize=524288 shm=Posix cc=gcc 4.9.2 version=v0.1~-detached~355496b Mar 28 04:03:07 debian msgd:0: ØMQ=4.0.5 czmq=4.0.2 protobuf=2.6.1 atomics=gcc intrinsics libwebsockets=<no version symbol> Mar 28 04:03:07 debian msgd:0: configured: sha=355496b Mar 28 04:03:07 debian msgd:0: built: Mar 14 2019 10:36:54 sha=355496b Mar 28 04:03:07 debian msgd:0: register_stuff: actual hostname as announced by avahi='debian.local' Mar 28 04:03:07 debian msgd:0: zeroconf: registering: 'Log service on debian.local pid 6598' Mar 28 04:03:07 debian rtapi:0: 2:rtapi_app:6603:user rtapi:0: cannot create core dumps - /proc/sys/fs/suid_dumpable contains 0 Mar 28 04:03:07 debian rtapi:0: 2:rtapi_app:6603:user you might have to run 'echo 1 > /proc/sys/fs/suid_dumpable' as root to enable rtapi_app core dumps Mar 28 04:03:07 debian rtapi:0: 4:rtapi_app:6603:user rtapi.so default iparms: '' Mar 28 04:03:07 debian rtapi:0: 4:rtapi_app:6603:user rtapi: loaded from rtapi.so Mar 28 04:03:07 debian rtapi:0: 4:rtapi_app:6603:user hal_lib.so default iparms: '' Mar 28 04:03:07 debian rtapi:0: 4:rtapi_app:6603:user hal_lib: loaded from hal_lib.so Mar 28 04:03:07 debian msgd:0: rtapi:6603:rt rtapi_app_main:195 HAL: initializing RT hal_lib support Mar 28 04:03:07 debian msgd:0: hal_lib:6603:rt halg_xinitfv:90 HAL: initializing component 'hal_lib' type=4 arg1=0 arg2=0/0x0 Mar 28 04:03:07 debian msgd:0: hal_lib:6603:rt hal_heap_addmem:58 HAL: extending arena by 262144 bytes Mar 28 04:03:07 debian msgd:0: hal_lib:6603:rt halg_export_xfunctfv:85 HAL: exporting function 'newinst' type 2 fp=0 owner=66 Mar 28 04:03:07 debian msgd:0: hal_lib:6603:rt halg_export_xfunctfv:85 HAL: exporting function 'delinst' type 2 fp=0 owner=66 Mar 28 04:03:07 debian msgd:0: hal_lib:6603:rt halg_xinitfv:271 HAL: singleton component 'hal_lib' id=66 initialized Mar 28 04:03:07 debian msgd:0: hal_lib:6603:rt rtapi_app_main:199 HAL: RT hal_lib support initialized rc=66 Mar 28 04:03:07 debian rtapi:0: 4:rtapi_app:6603:user accepting commands at ipc:///tmp/0.rtapi.f69ba253-69d8-44dc-acda-3c5aa3cabf45 Mar 28 04:03:07 debian rtapi:0: 3:rtapi_app:6603:user rtapi_app:0 ready flavor=xenomai gcc=4.9.2 git=v0.1~-detached~355496b Mar 28 04:03:08 debian rtapi:0: 4:rtapi_app:6603:user pid=6603 flavor=xenomai gcc=4.9.2 git=v0.1~-detached~355496b Mar 28 04:03:08 debian rtapi:0: 4:rtapi_app:6603:user pid=6603 flavor=xenomai gcc=4.9.2 git=v0.1~-detached~355496b Mar 28 04:03:08 debian msgd:0: ulapi:6606:user _ulapi_init(): ulapi xenomai v0.1~-detached~355496b loaded Mar 28 04:03:08 debian msgd:0: ulapi:6606:user halg_xinitfv:271 HAL: singleton component 'hal_lib6606' id=70 initialized Mar 28 04:03:08 debian msgd:0: hal_lib:6606:user --halcmd ping Mar 28 04:03:08 debian msgd:0: hal_lib:6606:user halg_exit:293 HAL: removing component 72 'halcmd6606' Mar 28 04:03:08 debian rtapi:0: 4:rtapi_app:6603:user pid=6603 flavor=xenomai gcc=4.9.2 git=v0.1~-detached~355496b Mar 28 04:03:08 debian msgd:0: ulapi:6609:user _ulapi_init(): ulapi xenomai v0.1~-detached~355496b loaded Mar 28 04:03:08 debian msgd:0: ulapi:6609:user halg_xinitfv:271 HAL: singleton component 'hal_lib6609' id=74 initialized Mar 28 04:03:08 debian msgd:0: hal_lib:6609:user --halcmd -kf Mar 28 04:03:08 debian msgd:0: zeroconf: registered 'Log service on debian.local pid 6598' _machinekit._tcp 0 TXT "uuid=f69ba253-69d8-44dc-acda-3c5aa3cabf45" "instance=ec28b4de-512f-11e9-8e04-7085c26af95d" "service=log" "dsn=ipc:///tmp/0.log.f69ba253-69d8-44dc-acda-3c5aa3cabf45"
