It is curious. I have installed PREEMT-RT versions twice. Only simulated axis are running. My existing config or a newly made by stepconf will throw errors:
Code:
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:
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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.8.2-72-gbcb0b7c
Machine configuration directory is '/home/mattu/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/mattu/linuxcnc/configs/my-mill/my-mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Found file(REL): ./my-mill.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
USRMOT: ERROR: command timeout
emcMotionInit: emcTrajInit failed
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
waiting for s.joints<0>, s.kinematics_type<0>
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX non-realtime
note: MAXV max: 1.000 units/sec 60.000 units/min
note: LJOG max: 1.000 units/sec 60.000 units/min
note: LJOG default: 0.100 units/sec 6.000 units/min
Waiting for component 'inihal' to become ready...................................A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
.13592
.13644
..........HAL: ERROR: exit called before init
Stopping realtime threads
Unloading hal components
<commandline>:0: waitpid failed milltask inihal
<commandline>:0: milltask exited without becoming ready
Waited 3 seconds for master. giving up.
Note: Using POSIX non-realtime
pwmgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
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
-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.
Date: Sun Jan 16 00:31:05 CET 2022
UTC Date: Sat Jan 15 23:31:05 UTC 2022
this program: /usr/bin/linuxcnc_info
uptime: 00:31:05 up 6:40, 2 users, load average: 0.18, 0.29, 0.30
lsb_release -sa: Debian Debian GNU/Linux 7.11 (wheezy) 7.11 wheezy
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/mattu/linuxcnc/configs/my-mill
USER: mattu
LOGNAME: mattu
HOME: /home/mattu
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1920x1080 pixels (507x285 millimeters)
PATH: /usr/bin:/home/mattu/linuxcnc/configs/my-mill/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
uname items:
nodename -n: duco
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT Debian 3.4.55-4linuxcnc
machine -m: i686
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux
/proc items:
cmdline: BOOT_IMAGE=/vmlinuz-3.4-9-rtai-686-pae root=UUID=a8f2ffdf-03e5-42b8-9ef2-4dfa2dbd4c6a ro initrd=/install/gtk/initrd.gz lapic quiet rootdelay=5
model name: Pentium(R) Dual-Core CPU E5200 @ 2.50GHz
cores: 2
cpu MHz: 2499.949
parport: 0378-037a : parport0
serial: 03f8-03ff : serial
Versions:
gcc: gcc (Debian 4.7.2-5) 4.7.2
python: Python 2.7.3
git: git version 1.7.10.4
git commit: NA
tcl: 8.5
tk: 8.5
glade: not_in_PATH
glade-gtk2: glade3 3.8.0
linuxcnc_var all:
LINUXCNCVERSION: 2.8.2-72-gbcb0b7c
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib
dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================================-==================================-============-==============================================================================
rc linuxcnc 1:2.8.2.72.gbcb0b7c i386 motion controller for CNC machines and robots
un linuxcnc-dev <none> (no description available)
un linuxcnc-doc <none> (no description available)
ii linuxcnc-doc-en 1:2.8.2.72.gbcb0b7c all motion controller for CNC machines and robots (English documentation)
un linuxcnc-sim <none> (no description available)
un linuxcnc-sim-dev <none> (no description available)
ii linuxcnc-uspace 1:2.8.2.72.gbcb0b7c i386 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.8.2.72.gbcb0b7c i386 PC based motion controller for real-time Linux
On the other hand, the RT=RTAI runs fine with my maschine config file. And yes, I have the HW on the parport. I think I never had a PREEMPT kernel running, but I am unsure what came with the initial iso installation containing linuxcnc 2.7.15-28gd7ded6e.