Motenc Lite

More
07 Jun 2012 11:44 #20705 by Linux-Hus
Motenc Lite was created by Linux-Hus
Hello,
i have one Motenc Lite + 2 I/O terminatin board and 1 ENC/DAC/ADC terminatoin board .
I have enabled the motenc driver in the motenc-io.hal file and the classicladder.

I canot start the motenc-program :(

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.0
Machine configuration directory is '/home/cnc/linuxcnc/configs/motenc'
Machine configuration file is 'motenc.ini'
INIFILE=/home/cnc/linuxcnc/configs/motenc/motenc.ini
PARAMETER_FILE=motenc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=3969
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_motenc.ko': -1 File exists
motenc_io.hal:4: exit value: 1
motenc_io.hal:4: insmod failed, returned -1
See the output of 'dmesg' for more information.
3969
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 3180.415561] I-pipe: Domain RTAI registered.
[ 3180.415574] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 3180.415580] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 3180.415645] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 3180.415650] PIPELINE layers:
[ 3180.415655] e1d57e20 9ac15d93 RTAI 200
[ 3180.415660] c085cb20 0 Linux 100
[ 3180.440938] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 3180.441412] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 3180.441425] RTAI[sched]: hard timer type/freq = APIC/12468620(Hz); default timing: periodic; linear timed lists.
[ 3180.441433] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2992871000 hz.
[ 3180.441439] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 3180.441548] RTAI[usi]: enabled.
[ 3180.511807] RTAI[math]: loaded.
[ 3181.014063] RTAI[math]: unloaded.
[ 3181.066412] SCHED releases registered named ALIEN RTGLBH
[ 3181.097576] RTAI[malloc]: unloaded.
[ 3181.196044] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 3181.199910] I-pipe: Domain RTAI unregistered.
[ 3181.199995] RTAI[hal]: unmounted.

Thanks for your help !

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

Time to create page: 0.093 seconds
Powered by Kunena Forum