Need help with error message

More
04 Jul 2015 19:33 #60405 by jrbankston1
Need help with error message was created by jrbankston1
My machine worked fine yesterday but today I cannot load axis. I get the attached error message. I have tried several times and even tried rebooting the computer with the same results. Can anyone help me with this problem.

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

More
04 Jul 2015 22:43 #60407 by ArcEye
Replied by ArcEye on topic Need help with error message
Nothing attached.

Rename it with a .txt extension and it will work

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

More
04 Jul 2015 23:11 #60408 by jrbankston1
Replied by jrbankston1 on topic Need help with error message
Lets try again.

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

More
04 Jul 2015 23:14 - 05 Jul 2015 02:01 #60409 by jrbankston1
Replied by jrbankston1 on topic Need help with error message
Could not get it to attach, but this might work.
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/julian/linuxcnc/configs/CNC-router'
Machine configuration file is 'CNC-router.ini'
INIFILE=/home/julian/linuxcnc/configs/CNC-router/CNC-router.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
INFO CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL closes.
INFO CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL closes.
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=2439
Killing task milltask, PID=2491
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 
custom_postgui.hal:5: Warning: File contains DOS-style line endings.
custom_postgui.hal:28: Pin 'halui.mdi-command-03' does not exist
2439
  PID TTY      STAT   TIME COMMAND
2491
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[  100.843261] I-pipe: Domain RTAI registered.
[  100.843270] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  100.843272] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[  100.843277] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  100.843279] PIPELINE layers:
[  100.843282] dac1ce20 9ac15d93 RTAI 200
[  100.843285] c085cb20 0 Linux 100
[  100.864878] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  100.865050] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  100.865055] RTAI[sched]: hard timer type/freq = APIC/12462890(Hz); default timing: periodic; linear timed lists.
[  100.865058] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2194095000 hz.
[  100.865060] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[  100.865178] RTAI[usi]: enabled.
[  100.938591] RTAI[math]: loaded.
[  101.023347] config string '0x378 out  '
[  101.032524] creating ladder-state
[  105.179981] RTAI[math]: unloaded.
[  105.232249] SCHED releases registered named ALIEN RTGLBH
[  105.248819] RTAI[malloc]: unloaded.
[  105.348012] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  105.351504] I-pipe: Domain RTAI unregistered.
[  105.351514] RTAI[hal]: unmounted.
Last edit: 05 Jul 2015 02:01 by BigJohnT. Reason: add code tags

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

More
05 Jul 2015 02:05 - 05 Jul 2015 02:06 #60413 by BigJohnT
Replied by BigJohnT on topic Need help with error message
There are limitations for file size (not an issue here) and extensions.

linuxcnc.org/index.php/english/forum/36-...-this-before-posting

Looks like your trying to load classicladder without a file maybe.
INFO CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL closes.

JT
Last edit: 05 Jul 2015 02:06 by BigJohnT.

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

More
05 Jul 2015 04:02 #60421 by jrbankston1
Replied by jrbankston1 on topic Need help with error message
Thanks BigJohn
Yesterday I installed a touch plate following instructions in "For Science" and it worked well except the Z axis would not retract after touching the plate. I tried it several times with different plate heights and each time it worked fine. When I tried to start up LinuxCNC this morning I got the error message that I posted. I cant understand why it worked yesterday but not today. Any suggestions? Maybe I should start over and load it again.

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

More
05 Jul 2015 04:47 #60423 by BigJohnT
Replied by BigJohnT on topic Need help with error message
Oh I found it!
custom_postgui.hal:5: Warning: File contains DOS-style line endings.

You have edited your custom_postgui.hal file with something other than a plain text editor. I always use Gedit in Linux and Notepad++ in Windoze. Open your file up in Gedit and Save As with Line Ending: Unix/Linux.

JT

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

More
05 Jul 2015 23:19 #60441 by ArcEye
Replied by ArcEye on topic Need help with error message

custom_postgui.hal:5: Warning: File contains DOS-style line endings.
custom_postgui.hal:28: Pin 'halui.mdi-command-03' does not exist


Linuxcnc halted because of the error on line 28

Either this was caused by unknown symbols in the file because of windoze line endings, or you simply do not have
the mdi-command-03 defined in your ini file

Clean up the file as JT suggests and you should soon find out

regards

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

Time to create page: 0.082 seconds
Powered by Kunena Forum