Alex Joni pravi:
> http://article.gmane.org/gmane.linux.distributions.emc.user/17898/match=
>
>   
.. Just little different name but I got it.
Just can't run it. I get error and can't proceed. Seems that NML_FILE 
cause problem.
For now I happily run my cnc without NML_FILE. When I change I got error 
and here is error log:

;*************************************************************************************
;*************************************************************************************
;*************************************************************************************
Print file information:
RUN_IN_PLACE=yes
EMC2_DIR=
EMC2_BIN_DIR=/home/slavko/emc2-dev/bin
EMC2_TCL_DIR=/home/slavko/emc2-dev/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/home/slavko/emc2-dev/rtlib
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/home/slavko/emc2-dev/src/objects
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.5.0~pre
Machine configuration directory is '/home/slavko/emc2/configs/IronCnc'
Machine configuration file is 'Caa3Axis.ini'
INIFILE=/home/slavko/emc2/configs/IronCnc/Caa3Axis.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=22219
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec EMC -var NML_FILE -num 1
Caa3Axis.hal:78: execv(hal_manualtoolchange): No such file or directory
Caa3Axis.hal:78: hal_manualtoolchange exited without becoming ready
22219
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 5913.427231] I-pipe: Domain RTAI registered.
[ 5913.427248] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 5913.427250] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 
4.2.4-1ubuntu3).
[ 5913.427256] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL 
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 5913.427259] PIPELINE layers:
[ 5913.427261] dcc36000 9ac15d93 RTAI 200
[ 5913.427264] c0383180 0 Linux 100
[ 5913.443477] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 5913.444130] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: 
<with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 5913.444136] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); 
default timing: periodic; linear timed lists.
[ 5913.444140] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 
2120175000 hz.
[ 5913.444143] RTAI[sched]: timer setup = 2010 ns, resched latency = 
2688 ns.
[ 5913.601619] RTAI[math]: loaded.
[ 5913.620333] RTAPI: Init
[ 5913.620386] RTAPI: Init complete
[ 5913.643895] HAL_LIB: loading kernel lib
[ 5913.643907] RTAPI: initing module HAL_LIB
[ 5913.643913] RTAPI: module 'HAL_LIB' loaded, ID: 1
[ 5913.644344] RTAPI: shmem 01 created by module 01, key: 1212238898, 
size: 262000
[ 5913.644356] HAL_LIB: kernel lib installed successfully
[ 5913.719826] config string '0x0378'
[ 5914.150823] RTAI[math]: unloaded.
[ 5914.216470] SCHED releases registered named ALIEN RTGLBH
[ 5914.231915] RTAI[malloc]: unloaded.
[ 5914.330977] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[ 5914.334626] I-pipe: Domain RTAI unregistered.
[ 5914.334638] RTAI[hal]: unmounted.

;*************************************************************************************
;*************************************************************************************
;*************************************************************************************


So I try to setup some NML_FILE. As I don't have clue what here should 
be (manual explain that in one line ?!? -nothing-) I just run stepconf 
and I get emc.nml file. The problem is that with this file assigned I'm 
can't run machine any more.  Here is log of attempt to run machine with 
old toolchanger routine and NML_FILE = emc.nml assigned in inifile.

;*************************************************************************************
;*************************************************************************************
;*************************************************************************************
Print file information:
RUN_IN_PLACE=yes
EMC2_DIR=
EMC2_BIN_DIR=/home/slavko/emc2-dev/bin
EMC2_TCL_DIR=/home/slavko/emc2-dev/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/home/slavko/emc2-dev/rtlib
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/home/slavko/emc2-dev/src/objects
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.5.0~pre
Machine configuration directory is '/home/slavko/emc2/configs/IronCnc'
Machine configuration file is 'Caa3Axis.ini'
INIFILE=/home/slavko/emc2/configs/IronCnc/Caa3Axis.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)

**********************************************************
* Current Directory = /home/slavko/emc2/configs/IronCnc
*
**********************************************************
* BufferName = emcStatus
* BufferType = 0
* ProcessName = emc
* Configuration File = emc.nml
* CMS Status = -3 (CMS_INTERNAL_ACCESS_ERROR: An error occured during an 
internal access function. )
* Recent errors repeated:

PHYSMEM_HANDLE: Can't write 10748 bytes at offset 60 from buffer of size 
10208.

CMS:(emcStatus) Error writing 10748 bytes to global memory at offset 81F9CD8
 (See  libnml/cms/cms_

* BufferLine: B emcStatus             SHMEM   localhost       10240   
0       0       2       16 1002 TCP=5005 xdr
* ProcessLine: P emc           emcStatus       LOCAL   localhost       
W       0       1.0     0       0
* error_type = 5 (NML_INTERNAL_CMS_ERROR)
************************************************************

libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.
libnml/cms/cms_in.cc 1383: CMS:(emcStatus) Error writing 10748 bytes to 
global memory at offset 81F9CD8
 (See  libnml/cms/cms_in.cc line 1386.)
libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 10748 bytes at 
offset 60 from buffer of size 10208.

Maximum number of errors to print exceeded!
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=21530
Killing task milltask, PID=21659
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Traceback (most recent call last):
  File "/home/slavko/emc2-dev/bin/axis", line 2773, in <module>
    s.poll()
emc.error: emcStatusBuffer invalid err=3
21530
  PID TTY      STAT   TIME COMMAND
21659
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 5775.843335] I-pipe: Domain RTAI registered.
[ 5775.843349] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 5775.843352] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 
4.2.4-1ubuntu3).
[ 5775.843357] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL 
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 5775.843360] PIPELINE layers:
[ 5775.843362] dcc36000 9ac15d93 RTAI 200
[ 5775.843364] c0383180 0 Linux 100
[ 5775.859594] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 5775.860189] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: 
<with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 5775.860195] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); 
default timing: periodic; linear timed lists.
[ 5775.860199] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 
2120175000 hz.
[ 5775.860202] RTAI[sched]: timer setup = 2010 ns, resched latency = 
2688 ns.
[ 5775.949104] RTAI[math]: loaded.
[ 5776.037763] RTAPI: Init
[ 5776.037815] RTAPI: Init complete
[ 5776.061140] HAL_LIB: loading kernel lib
[ 5776.061153] RTAPI: initing module HAL_LIB
[ 5776.061159] RTAPI: module 'HAL_LIB' loaded, ID: 1
[ 5776.061586] RTAPI: shmem 01 created by module 01, key: 1212238898, 
size: 262000
[ 5776.061599] HAL_LIB: kernel lib installed successfully
[ 5776.135403] config string '0x0378'
[ 5778.181499] RTAI[math]: unloaded.
[ 5778.246845] SCHED releases registered named ALIEN RTGLBH
[ 5778.262653] RTAI[malloc]: unloaded.
[ 5778.361609] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[ 5778.365288] I-pipe: Domain RTAI unregistered.
[ 5778.365301] RTAI[hal]: unmounted.

;*************************************************************************************
;*************************************************************************************
;*************************************************************************************

HELP!

Slavko.





------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to