Problems with EMC 2.4.6, 2.3.5 is working

More
06 Feb 2011 18:21 #7029 by klkl
Hello

I have ubuntu 8.04 with EMC2.3.5 from the live CD running nicely on my thinkpad t40.
The 10.04 Live CD is not working and after searching around for some hours (this is my first linux computer...)
I found out that the 2.4 is not working on my computer. With or without rtai_smi, even 2.4.0 is starting with the following error.
Does anyone have an idea how to get this problem solved?
many thanks in advance.

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.4.6
Machine configuration directory is '/home/kl/emc2/configs/Haase'
Machine configuration file is 'Haase.ini'
INIFILE=/home/kl/emc2/configs/Haase/Haase.ini
PARAMETER_FILE=emc.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 81F8CB0
(See libnml/cms/cms_in.cc line 1386.)

**********************************************************
* Current Directory = /home/kl/emc2/configs/Haase
*
**********************************************************
* 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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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 81F8CB0
(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!
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=27174
Killing task milltask, PID=27302
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Unrecognized line skipped: POC FMS LEN DIAM COMMENT
A configuration error is preventing emc2 from starting.
More information may be available when running from a terminal.
27174
PID TTY STAT TIME COMMAND
27302
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[27084.608177] I-pipe: Domain RTAI registered.
[27084.608187] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[27084.608189] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[27084.608195] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[27084.608198] PIPELINE layers:
[27084.608201] e0af0000 9ac15d93 RTAI 200
[27084.608203] c0383180 0 Linux 100
[27084.629135] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[27084.629501] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[27084.629508] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[27084.629512] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1495220000 hz.
[27084.629515] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
[27084.728666] RTAI[math]: loaded.
[27084.732927] RTAI: Intel chipset found, enabling SMI workaround.
[27084.732938] SMI configuration has been set, mask used = 1.
[27084.811445] config string '0x3bc out '
[27091.737504] RTAI[math]: unloaded.
[27091.797194] SCHED releases registered named ALIEN RTGLBH
[27091.810228] RTAI[malloc]: unloaded.
[27091.909696] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[27091.912429] I-pipe: Domain RTAI unregistered.
[27091.912438] RTAI[hal]: unmounted.



Greetings Klaus

Please Log in or Create an account to join the conversation.

More
06 Feb 2011 22:23 - 06 Feb 2011 22:25 #7031 by cmorley
Yes - see here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UPD...ween_2_3_x_and_2_4_x

try removing the NML_FILE=emc.mnl line from INI file.

Chris M
Last edit: 06 Feb 2011 22:25 by cmorley.

Please Log in or Create an account to join the conversation.

More
07 Feb 2011 05:54 #7037 by klkl
Hello

This was the point!
Its working now, many thanks

greetings Klaus

Please Log in or Create an account to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum