waiting for s.axis

More
01 Jun 2012 12:02 #20554 by eskimobob
waiting for s.axis was created by eskimobob
I've been using EMC2 (V2.3.0) on Hardy Heron for some years and it works very well. For some unknown reason yesterday, when starting it gave an error report with loads of lines saying "waiting for s.axis". I rebooted the machine and all seemed well.

When I tried it again later, it gave the same message again and I could not get it to start. I thought it was probably worth upgrading so I followed the instructions to upgrade to version 2.4.8 however when starting it gave a similar message. I therefore upgraded to 2.5.0 however it still gives a similar message (see below).

I have not changed any of the settings for months so have no idea why it is suddenly gone wrong. Any suggestions appreciated... I only have X,Y and Z configured and it's worked for years.:unsure:

Details of error report:
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.24-16-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.4
LINUXCNC - 2.5.0
Machine configuration directory is '/home/martin/linuxcnc/configs/stepper'
Machine configuration file is 'stepper_mm.ini'
INIFILE=/home/martin/linuxcnc/configs/stepper/stepper_mm.ini
PARAMETER_FILE=stepper.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
Starting TASK program: milltask
Starting DISPLAY program: axis
No option 'tto_g11' in section: 'DEFAULT'
No option 'program_alpha' in section: 'DEFAULT'
No option 'show_offsets' in section: 'DEFAULT'
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 LinuxCNC...
Killing task linuxcncsvr, PID=5255
Killing task milltask, PID=5381
Timeout, trying kill -9
Could not kill task milltask, PID=5381
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 
Unrecognized line skipped: POC     FMS     LEN     DIAM    COMMENT
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
5255
  PID TTY      STAT   TIME COMMAND
5381
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
  PID TTY      STAT   TIME COMMAND
 5381 ?        DL     0:00 milltask -ini /home/martin/linuxcnc/configs/stepper/stepper_mm.ini
Stopping realtime threads
Unloading hal components

Kernel message information:
[  178.029950] I-pipe: Domain RTAI registered.
[  178.029984] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[  178.029995] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[  178.030016] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  178.030026] PIPELINE layers:
[  178.030035] d8c32000 9ac15d93 RTAI 200
[  178.030043] c0383180 0 Linux 100
[  178.125086] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  178.126627] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  178.126653] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[  178.126669] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 498866000 hz.
[  178.126680] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688 ns.
[  178.332975] RTAI[math]: loaded.
[  178.407058] rtapi: no version for "nano2count" found: kernel tainted.
[  178.891316] config string '0x0378 0x1048 in'
[  199.713309] RTAI[math]: unloaded.
[  199.798037] SCHED releases registered named ALIEN 1U
[  199.798082] SCHED releases registered named ALIEN RTGLBH
[  199.798095] SCHED releases registered named ALIEN PUFUQK
[  199.820152] 
[  199.820157] SHM_CLEANUP_MODULE releases: '1U':0x6f:111 (2670592).
[  199.820210] 
[  199.820213] SHM_CLEANUP_MODULE releases: 'PUFUQK':0x90280a48:2418543176 (12288).
[  199.820990] RTAI[malloc]: unloaded.
[  199.919349] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[  199.925676] I-pipe: Domain RTAI unregistered.
[  199.925701] RTAI[hal]: unmounted.

Many thanks
Martin

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

More
01 Jun 2012 12:47 #20560 by andypugh
Replied by andypugh on topic Re:waiting for s.axis
eskimobob wrote:

I've been using EMC2 (V2.3.0) on Hardy Heron for some years and it works very well. For some unknown reason yesterday, when starting it gave an error report with loads of lines saying "waiting for s.axis". I rebooted the machine and all seemed well.


A bit of a wild stab.. Do you have a joypad for jogging? I think I have seen this problem when the USB plug came out.

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

More
01 Jun 2012 13:39 #20563 by eskimobob
Replied by eskimobob on topic Re:waiting for s.axis
andypugh wrote:
A bit of a wild stab.. Do you have a joypad for jogging? I think I have seen this problem when the USB plug came out.[/quote]

Hmmm - not exactly - I have a home made pad with a rotary encoder and a couple of rotary switches. These are fed into a second parallel port. I could post details from the config file but first I better check out the wiring in case something has broken. Thanks for the suggestion.B)

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

More
01 Jun 2012 13:58 #20565 by andypugh
Replied by andypugh on topic Re:waiting for s.axis
eskimobob wrote:

- I have a home made pad with a rotary encoder and a couple of rotary switches. These are fed into a second parallel port.


If it's on a parport, then that isn't the problem. Dodgy USB stops the hal_input module from loading.

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

More
01 Jun 2012 14:22 #20566 by andypugh
Replied by andypugh on topic Re:waiting for s.axis
Poking about, I suspect a corrupted axis preferences file. But I don't even know that Axis has such a thing.

Can you try one of the alternative GUI sample configs and see if that works?

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

More
01 Jun 2012 14:43 #20567 by eskimobob
Replied by eskimobob on topic Re:waiting for s.axis
Thanks Andy,

I'm just back from checking out the parallel port leads - shells off the D types and wires all check out ok. I put them back on then commented out all Parport1 stuff (jog wheel inputs) in the config file - the machine worked - great I thought - on to something. I therefore removed the comments so I was back to normal and strangely it still loads and works ok.

I'm not sure what the problem was but for now at least it has gone away - not ideal since it will probably come back but we shall see.

Thanks for your suggestion anyway - oh and to answer your question, yes I has tried the other front ends instead of Axis and all gave the same problem.

All the best
Martin

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

More
01 Jun 2012 14:54 #20568 by ArcEye
Replied by ArcEye on topic Re:waiting for s.axis
Hi

The 'waiting for s.axes' error is thrown when you use a configuration for Linuxcnc < 2.4 with >=2.4
I see you used one from 2.3 with 2.5

The offending line is NML_FILE = emc.nml which needs commenting out

regards

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

More
01 Jun 2012 16:01 #20572 by eskimobob
Replied by eskimobob on topic Re:waiting for s.axis
ArcEye wrote:

Hi

The 'waiting for s.axes' error is thrown when you use a configuration for Linuxcnc < 2.4 with >=2.4
I see you used one from 2.3 with 2.5

The offending line is NML_FILE = emc.nml which needs commenting out

regards


Hi, thanks for the suggestion.

When I was upgrading, I followed the upgrade instructions to the letter and definitely did comment that out in the configuration file.

Regards
Martin

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

More
04 Jun 2012 15:10 #20645 by JR1050
Replied by JR1050 on topic Re:waiting for s.axis
For what it is worth,I got the same error trying to run 2.4.7 on a quad core.Emc seems to like single and dual core machines.If you upgraded your hardware recently,that could be the source of the error...

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

More
04 Jun 2012 16:00 #20648 by PCW
Replied by PCW on topic Re:waiting for s.axis
FWIW Someone on IRC worked around a similar problem with a Quad core Phenom with this:

"<rott> i got linuxcnc to start with enabling ACPI2.0-support and disabling ACPI-APIC-support"

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

Time to create page: 0.255 seconds
Powered by Kunena Forum