Its been a while since I made a new install for machinekit and ran into a 
problem that I have not been able to resolve. I have attached a copy of the 
/var/log/linuxcnc.log and the configuration commands that I used during the 
make process. My problem appears to be related to  unable to restrict other 
access to the hm2-eth device. The attached file shows that it obtained the 
correct mac address for the card. It also shows a segmentation fault which 
may or may not be the result of the unable to restrict other access 
issue.   

I'm running on my development pc using Linux Mint 19.1.  uname -a gives:  
Linux cnc1 4.14.93-rt53 #1 SMP PREEMPT RT Tue Jan 29 01:00:10 AKST 2019 
x86_64 x86_64 x86_64 GNU/Linux. I also use this for linuxcnc development 
work.

I'm not sure if I have two problems or just one which is causing two issues.


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

Machinekit
Running RT_PREEMPT
It seems currently this is needed:

$ sudo mkdir /dev/cpuset
$ sudo mount -t cpuset cpuset /dev/cpuset

=======

cd src
./autogen.sh
./configure --with-threads=rt-preempt --with-kernel=/boot/config-4.14.93-rt53 
--enable-drivers --enable-build-documentation
make
sudo make setuid
cd ..
. ./scripts/rip-environment
machinekit /home/cnc/machinekit/configs/cnc1/cnc1.ini

=======

/var/log/linuxcnc.log

Feb 14 22:19:42 cnc1 cnc: logtest:aaa1daddf3509afc3bdd54addb708009
Feb 14 22:23:55 cnc1 msgd:0: startup pid=29330 flavor=rt-preempt rtlevel=1 
usrlevel=1 halsize=524288 shm=Posix cc=gcc 7.3.0  version=unknown
Feb 14 22:23:55 cnc1 msgd:0: ØMQ=4.2.5 czmq=4.1.0 protobuf=3.0.0 atomics=gcc 
intrinsics    libwebsockets=2.0.3
Feb 14 22:23:55 cnc1 msgd:0: configured: sha=b96c02cd2
Feb 14 22:23:55 cnc1 msgd:0: built:      Feb 14 2019 22:09:21 sha=b96c02cd2
Feb 14 22:23:55 cnc1 msgd:0: register_stuff: actual hostname as announced by 
avahi='cnc1.local'
Feb 14 22:23:55 cnc1 msgd:0: zeroconf: registering: 'Log service on cnc1.local 
pid 29330'
Feb 14 22:23:55 cnc1 msgd:0: hal_lib:29335:rt hm2: loading Mesa HostMot2 driver 
version 0.15
Feb 14 22:23:55 cnc1 msgd:0: hal_lib:29335:rt hm2_eth: loading Mesa AnyIO 
HostMot2 ethernet driver version 0.2
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user signal 11 - 'Segmentation 
fault' received, dumping core (current dir=/home/cnc/machinekit/configs/cnc1)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user  --- rtapi_app backtrace: 
---
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f285c8875a1 ?? ??:0
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f2858948cf0 
dbuf_put_string  (emc/motion/dbuf.c:117)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f28589485c5 vstashf       
   (emc/motion/stashf.c:97)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f28589480ed 
emcmotErrorPutfv (emc/motion/emcmotutil.c:50)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f2858936f44 
emc_message_hand (emc/motion/motion.c:196)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f285a683ab9 rtapi_print   
   (rtapi/rtapi_support.c:242)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f28580222b3 hm2_eth_probe 
   (hal/drivers/mesa-hostmot2/hm2_eth.c:573)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f2858022455 
rtapi_app_main   (hal/drivers/mesa-hostmot2/hm2_eth.c:615)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 56417e18b33d do_load_cmd   
   (rtapi/rt-preempt/rtapi_app.cc:654)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 56417e18de0d rtapi_request 
   (rtapi/rt-preempt/rtapi_app.cc:951)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f285daf4885 zloop_start 
??:0
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 56417e18d4d4 mainloop      
   (rtapi/rt-preempt/rtapi_app.cc:1415)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 56417e186b19 main          
   (rtapi/rt-preempt/rtapi_app.cc:1770)
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 7f285c71ab96 
__libc_start_main ??:0
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user 56417e186c29 _start ??:0
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user ffffffffffffffff ?? ??:0
Feb 14 22:23:55 cnc1 rtapi:0: 1:rtapi_app:29335:user  --------------------
Feb 14 22:23:55 cnc1 msgd:0: hal_lib:29335:rt hm2_eth: WARNING: Unable to 
restrict other access to the hm2-eth device.
Feb 14 22:23:55 cnc1 msgd:0: hal_lib:29335:rt hm2_eth: Hardware address: 
00:60:1b:11:80:23
Feb 14 22:23:55 cnc1 msgd:0: rtapi_app exit detected - scheduled shutdown
Feb 14 22:23:56 cnc1 msgd:0: zeroconf: registered 'Log service on cnc1.local 
pid 29330' _machinekit._tcp 0 TXT "uuid=574d42d8-e99a-4d15-8a21-342272d124f3" 
"instance=a6ee9a6c-30f2-11e9-b7e8-000e0c7f663f" "service=log" 
"dsn=ipc:///tmp/0.log.574d42d8-e99a-4d15-8a21-342272d124f3"
Feb 14 22:23:57 cnc1 msgd:0: msgd shutting down
Feb 14 22:23:57 cnc1 msgd:0: zeroconf: unregistering 'Log service on cnc1.local 
pid 29330'
Feb 14 22:23:57 cnc1 msgd:0: log buffer hwm: 0% (2 msgs, 327 bytes out of 
524288)
Feb 14 22:23:57 cnc1 msgd:0: normal shutdown - global segment detached

=======

Reply via email to