linuxcnc runs fine in sim but won't run my-mill

More
12 Aug 2017 15:38 #97385 by skrap58
I have installed linuxcnc on a clean install of linux mint 18.2 using post 3 and 4.1.0-1 rtai kernel. I can start and run axis in sim mode but when I try to run my-mill I get the following errors on start up



@cnc ~/linuxcnc-dev/src $ linuxcnc
LINUXCNC - 2.7.10
Machine configuration directory is '/home/wwp/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
Starting LinuxCNC...
Found file(REL): ./my-mill.hal
Note: Using POSIX non-realtime
config string '0 out'
Found file(REL): ./custom.hal
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
USRMOT: ERROR: command timeout
waiting for s.axes
waiting for s.axes
waiting for s.axes
USRMOT: ERROR: command timeout
waiting for s.axes
USRMOT: ERROR: command timeout
waiting for s.axes
USRMOT: ERROR: command timeout
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
/usr/bin/linuxcnc: line 496: 28463 Killed $EMCTASK -ini "$INIFILE"
Waited 3 seconds for master. giving up.
Note: Using POSIX non-realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX non-realtime
hal_parport: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX non-realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX non-realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX non-realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/wwp/linuxcnc_debug.txt
and
/home/wwp/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
wwp@cnc ~/linuxcnc-dev/src $

File Attachment:

File Name: linuxcnc_debug.txt
File Size:2 KB

File Attachment:

File Name: linuxcnc_print.txt
File Size:1 KB


Im think it is a config problem but I do not know where to look.
Thank you in advance for the help.

Bill
Attachments:

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

More
12 Aug 2017 15:59 #97386 by PCW
Quote:

Note: Using POSIX non-realtime


Looks like you are not running a real time kernel

what does:
uname -a

print?

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

More
12 Aug 2017 16:59 #97389 by skrap58
wp@cnc ~ $ uname -a
Linux cnc 4.1.0-1-rtai-686-pae #1 SMP PREEMPT Debian 4.1.18-2linuxcnc (2016-08-16) i686 i686 i686 GNU/Linux
Thank you for the rapid reply.

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

More
12 Aug 2017 19:45 #97397 by PCW
Not that familiar with RTAI but i might guess that the version of LinuxCNC you have does not work with the
RTAI kernel you have

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

More
15 Aug 2017 16:58 #97522 by andypugh

Not that familiar with RTAI but i might guess that the version of LinuxCNC you have does not work with the
RTAI kernel you have


I wonder if this is what you get with the "uspace" version of LinuxCNC if you have the RTAI kernel?

Does Synaptic show it as two different versions?

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

More
15 Aug 2017 18:41 #97530 by skrap58
Thanks Guys for the replies. You are correct the rtai kernel is not a real time kernel. I ended up going with Linux Mint 18.2 and there is a realtime kernel in the Synaptic Package manager that worked out of the box. So I am up and running. Now I am trying to get nativecam installed and embedded.

Thanks again for the help.

Bill

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

Time to create page: 0.075 seconds
Powered by Kunena Forum