Ok, another halrun test after trying to run that CRAMPS config:
machinekit@beaglebone:~/CRAMPS$ halrun
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8)
msgd:0 stopped
rtapi:0 stopped
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8)
halcmd:
halcmd:
halcmd: loadrt hal_bb_gpio
halcmd: show pin
Component Pins:
Comp Inst Type Dir Value Name
Epsilon Flags linked to:
78 s32 OUT 0 bb_gpio.read.time
----
78 s32 I/O 0 bb_gpio.read.tmax
----
78 bit OUT FALSE bb_gpio.read.tmax-inc
----
78 s32 OUT 0 bb_gpio.write.time
----
78 s32 I/O 0 bb_gpio.write.tmax
----
78 bit OUT FALSE bb_gpio.write.tmax-inc
----
halcmd: unloadrt hal_bb_gpio
halcmd: show pin
Component Pins:
Comp Inst Type Dir Value Name
Epsilon Flags linked to:
halcmd: loadrt hal_bb_gpio output_pins=816 input_pins=807
E: 18-02-18 12:08:15 dangling 'ROUTER' socket created at
rtapi/rt-preempt/rtapi_app.cc:1301
<stdin>:7: insmod failed, returned -1:
rtapi_rpc(): reply timeout
See /var/log/linuxcnc.log for more information.
halcmd: exit
halcmd: cant connect to rtapi_app: -1 (uri=
uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate
/var/log/linuxcnc.log
E: 18-02-18 12:08:30 dangling 'DEALER' socket created at
hal/utils/halcmd_rtapiapp.cc:281
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8)
^C
machinekit@beaglebone:~/CRAMPS$ ^C
machinekit@beaglebone:~/CRAMPS$ realtime stop
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8)
machinekit@beaglebone:~/CRAMPS$
machinekit@beaglebone:~/CRAMPS$ cat /var/log/linuxcnc.log
Feb 18 12:08:41 beaglebone msgd:0: msgd:0: got signal 15 - sending SIGTERM
to rtapi (pid 4355)
Feb 18 12:08:41 beaglebone msgd:0: msgd:0: Terminated - shutting down
Feb 18 12:08:41 beaglebone msgd:0: zeroconf: unregistering 'Log service on
beaglebone.local pid 4350'
Feb 18 12:08:41 beaglebone msgd:0: log buffer hwm: 0% (0 msgs, 0 bytes out
of 524288)
Feb 18 12:08:41 beaglebone msgd:0: sent SIGTERM to rtapi (pid 4355)
Feb 18 12:08:41 beaglebone msgd:0: normal shutdown - global segment detached
2018 m. vasaris 18 d., sekmadienis 14:01:18 UTC+2, Marius Alksnys rašė:
>
> Line 28:
> loadrt hal_bb_gpio output_pins=816,822,823,824,825,826,914,923,925
> input_pins=807,808,809,810,817,911,913
>
> 2018 m. vasaris 18 d., sekmadienis 13:56:18 UTC+2, Schooner rašė:
>>
>>
>> On 18/02/18 11:37, Marius Alksnys wrote:
>> >
>> > CRAMPS.hal:28: insmod failed, returned -1:
>>
>> Whatever you are trying to load at line 28 of your hal file is what is
>> producing the error
>>
>> >
>> >
>> > That dangling 'DEALER' socket error sometimes shows up even in BB
>> Black.
>>
>> Don't worry about that.
>> Since we switched to the new zmq API, that comes up when machinekit does
>> not shut down cleanly.
>>
>> Something that used to be deleted automatically is not now.
>>
>
--
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.