2014-04-08 14:19 GMT-04:00 Michael Haberler <[email protected]>: > [I posted this to the machinekit list, but since there is interest in both > features I share it here too. -m] > > > There was significant interest in the basic HAL-based Jog-while-paused > support I did a while ago; that too was never merged mainline though. > > I've dusted this off and brought it forward into a combined feature > branch: https://github.com/mhaberler/linuxcnc/commits/mk-jwp-newtp-rc1 > > Instead of just testing the Ellenberg planner branch I posted recently, I > would encourage to exercise this one - it works fine so far, and testing > this would cover changes for both features in one go. > > The demo config for Robs planner is unchanged: configs/sim/axis/rob.ini > The demo config for Jog-while-paused is: > configs/sim/axis/jog-while-pause9.ini >
I did following things in terminal: git clone https://github.com/mhaberler/linuxcnc.git linuxcnc-dev-new cd /home/viesturs/linuxcnc-dev-new git checkout mk-jwp-newtp-rc1 cd src ./autogen.sh ./configure --with-threads=rtai make clean make sudo make setuid The last one give me this: viesturs@ubuntu:~/linuxcnc-dev-new/src$ sudo make setuid [sudo] password for viesturs: make: Entering directory `/home/viesturs/linuxcnc-dev-new/src' test -f ../libexec/linuxcnc_module_helper && chown root ../libexec/linuxcnc_module_helper && chmod 4750 ../libexec/linuxcnc_module_helper || true test -f ../libexec/pci_read && chown root ../libexec/pci_read && chmod 4750 ../libexec/pci_read || true test -f ../libexec/pci_write && chown root ../libexec/pci_write && chmod 4750 ../libexec/pci_write || true test -f ../libexec/rtapi_app_posix && chown root ../libexec/rtapi_app_posix && chmod 4750 ../libexec/rtapi_app_posix || true; test -f ../libexec/rtapi_app_rt-preempt && chown root ../libexec/rtapi_app_rt-preempt && chmod 4750 ../libexec/rtapi_app_rt-preempt || true; Warning: Logfile '/var/log/linuxcnc.log' does not exist. Hint: Be sure the (possibly empty) logfile exists; and restart rsyslogd; rsyslogd will not create missing files. Warning: No rate limit in rsyslogd is set. The rsyslogd drops logs when incoming at higher than the rate configured by 'SystemLogRateLimitBurst'. The default rate is lower than LinuxCNC requires when running in debug mode. Hint: Put src/rtapi/rsyslogd-linuxcnc.conf into /etc/rsyslog.d/linuxcnc.conf for a reasonable default, and restart rsyslogd. awk: cmd. line:1: fatal: cannot open file `/etc/security/limits.d/*.conf' for reading (No such file or directory) Warning: /etc/security/limits.d/linuxcnc.conf does not exist, and a reasonable 'memlock' value not found in configuration. Please check the system configuration and correct. Hint: src/rtapi/shmdrv/limits.d-linuxcnc.conf may be a reasonable example to install in /etc/security/limits.d/linuxcnc.conf. Warning: No udev configuration for shmdrv was found. The user running LinuxCNC must have write access to /dev/shmdrv when running kernel threads. This may be configured in /etc/udev/rules.d. Hint: see src/rtapi/shmdrv/shmdrv.rules for a reasonable default. make: [setuid] Error 1 (ignored) make: Leaving directory `/home/viesturs/linuxcnc-dev-new/src' viesturs@ubuntu:~/linuxcnc-dev-new/src$ Then I tried to run LinuxCNC: cd /home/viesturs/linuxcnc-dev-new . scripts/rip-environment linuxcnc It displays that window, where I have to select config. I tried several times also with provided sample configs, I always get this: viesturs@ubuntu:~/linuxcnc-dev-new$ linuxcnc LINUXCNC - 2.6.0~pre Machine configuration directory is '/home/viesturs/linuxcnc-dev-mhaberler/configs/sim/axis' Machine configuration file is 'rob.ini' Starting LinuxCNC... Realtime system did not load Shutting down and cleaning up LinuxCNC... shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules not installed? halcmd: hal_init() failed: -22 NOTE: 'rtapi' module must be loaded Cleanup done LinuxCNC terminated with an error. You can find more information in the log: /home/viesturs/linuxcnc_debug.txt and /home/viesturs/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal viesturs@ubuntu:~/linuxcnc-dev-new$ "Normally" installed LinuxCNC starts up just fine on this PC. I am sure that it must be some stupid mistake of not specifying something in ./configure line or something like that. Viesturs ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
