How to proper compile, built, and install linuxCNC

More
14 Jan 2022 15:35 - 14 Jan 2022 16:07 #231772 by Matt Hat
I dont know how critical the gtk issue is. The ./configure suggests to use option
--disable-gtk to skip the parts of linuxCNC that depend on GTK. How much does it depend on it? It is checking for GTK3.22.4 or above. Can that be installed on a debian wheezy?

If anyone knows, on which system this have been compiled? wiki.linuxcnc.org/cgi-bin/wiki.pl?Rot4thaxiskins
Last edit: 14 Jan 2022 16:07 by Matt Hat.

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

More
14 Jan 2022 21:19 #231799 by rodw
I'm pretty sure that as suggested earlier it won't be possible to compile master on Wheezy.
I was even forced to upgrade Mint 17.3 to keep using master branch and there was no Mint version that satisfied the python 3 version dependency.
So I moved to Debian 11 which did not include python 2.7 at all 
There will be too many missing dependencies that cannot be satisfied.
The following user(s) said Thank You: Matt Hat

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

More
14 Jan 2022 23:27 - 15 Jan 2022 00:12 #231819 by Matt Hat
Which branch has a fair chance to compile on wheezy? Could I use e.g. linuxcnc branch 2.7?
Which python version should be used to built from source? will 2.7 work ? and which branches transitioned to python3? was that linuxcnc 2.9?

any other important arguments to be used to fix python versions? I found this on github:
./configure --with-realtime=uspace --with-python=python3 --with-boost-python=boost_python-py35

Eventually I will test
sourceforge.net/projects/linux-debian-bullseye-11-rtos/
But I still need some help on "how to add custom kinematics for the 4th rotary axis".
 
Last edit: 15 Jan 2022 00:12 by Matt Hat.

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

More
15 Jan 2022 02:20 #231842 by ALittleOffTheRails
Ok there are Wheezy 2.8.2 packages on buildbot, so if your sources are setup there is no need to build linuxcnc.
buildbot.linuxcnc.org/

To build & install your comp, provided you have linuxcnc-dev installed.
sudo halcompile --install rot4thaxiskins.c

linuxcnc.org/docs/2.8/html/man/man1/halcompile.1.html
The following user(s) said Thank You: Matt Hat

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

More
15 Jan 2022 18:29 - 15 Jan 2022 18:31 #231907 by Matt Hat
Thanks, the was very helpful indeed. Unfortunately loading the compiled rot4thaxiskin still fails:
Debug file information: Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/rot4thaxiskins.ko: Unknown symbol in module
./rot4thaxiskins.hal:4: exit value: 1
./rot4thaxiskins.hal:4: insmod for rot4thaxiskins failed, returned -1

Whats the issue about? Suggestions to fix it?
I worked through lncnc 2.7 and 2.8 from buildbot with same result. These steps seems to work:
1) remove installed version with Synaptic Package Manager
2) add repo sources:
deb http://buildbot.linuxcnc.org/ wheezy 2.8-rt for 2.8 and
deb http://buildbot.linuxcnc.org/ wheezy 2.7-rt for 2.7
3) install linuxcnc and linuxcnc-dev
4) Check startup with standard config using trivkins.c -> works
5)
sudo halcompile --install rot4thaxiskins.c
-> compiles and copies file to usr/realtime-3.4.9-rtai-686-pae/modules
6) Start linuxcnc with some 4-axis config.ini that loads rot4thaxiskin.c
Last edit: 15 Jan 2022 18:31 by Matt Hat.

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

More
15 Jan 2022 18:32 #231908 by Matt Hat
Reports:
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/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
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-4-axisCNC'
Machine configuration file is 'rot4thaxiskins.ini'
INIFILE=/home/mattu/linuxcnc/configs/my-4-axisCNC/rot4thaxiskins.ini
VERSION=1.1
check_config: Unchecked: [KINS]KINEMATICS={rot4thaxiskins coordinates=XYZAUVW}
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=XYZAUVW
KINEMATICS=rot4thaxiskins coordinates=XYZAUVW
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Found file(REL): ./rot4thaxiskins.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/rot4thaxiskins.ko: Unknown symbol in module
./rot4thaxiskins.hal:4: exit value: 1
./rot4thaxiskins.hal:4: insmod for rot4thaxiskins failed, returned -1
See the output of 'dmesg' for more information.
3182
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 3168.750490] I-pipe: head domain RTAI registered.
[ 3168.750496] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[ 3168.750525] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 3168.750528] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12499048, CLK_FREQ 2499949000, CPU_FREQ 2499949000
[ 3168.750531] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[ 3168.750534] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12499048, 12499048, 11061000
[ 3168.759919] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 3168.759953] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[ 3168.759957] RTAI[sched]: hard timer type/freq = APIC/12499048(Hz); default timing: oneshot; linear timed lists.
[ 3168.759960] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2499949000 hz.
[ 3168.759962] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 3168.770755] RTAI[math]: loaded.
[ 3168.799974] rot4thaxiskins: Unknown parameter `coordinates'
[ 3169.053160] RTAI[math]: unloaded.
[ 3169.054680] SCHED releases registered named ALIEN PEDV$D
[ 3169.059130] RTAI[malloc]: unloaded.
[ 3169.156025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 3169.157894] I-pipe: head domain RTAI unregistered.
[ 3169.157933] RTAI[hal]: unmounted.



-----------------------------------------------------------------------
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: Sat Jan 15 18:44:20 CET 2022
            UTC Date: Sat Jan 15 17:44:20 UTC 2022
        this program: /usr/bin/linuxcnc_info
              uptime: 18:44:19 up 53 min, 1 user, load average: 0.11, 0.27, 0.24
     lsb_release -sa: Debian Debian GNU/Linux 7.11 (wheezy) 7.11 wheezy
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/mattu/linuxcnc/configs/my-4-axisCNC
                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-4-axisCNC/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: /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
          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
+++-=======================================-==================================-============-==============================================================================
ii  linuxcnc                                1:2.8.2.72.gbcb0b7c                i386         motion controller for CNC machines and robots
ii  linuxcnc-dev                            1:2.8.2.72.gbcb0b7c                i386         PC based motion controller for real-time Linux
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)
rc  linuxcnc-uspace                         1:2.8.2.72.gbcb0b7c                i386         motion controller for CNC machines and robots
un  linuxcnc-uspace-dev                     <none>                                          (no description available)


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

More
15 Jan 2022 19:13 #231911 by Matt Hat
Same issue for same procedure for XYZACkins -- 5-axis kinematics for a milling machine
wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents
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/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
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/XYZAC'
Machine configuration file is 'XYZAC.ini'
INIFILE=/home/mattu/linuxcnc/configs/XYZAC/XYZAC.ini
VERSION=1.1
check_config: Unchecked: [KINS]KINEMATICS={XYZACkins coordinates=XYZACW}
PARAMETER_FILE=XYZAC.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZACW
KINEMATICS=XYZACkins coordinates=XYZACW
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
Found file(REL): ./XYZAC_sim.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
.
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/XYZACkins.ko: Unknown symbol in module
./XYZAC_sim.hal:4: exit value: 1
./XYZAC_sim.hal:4: insmod for XYZACkins failed, returned -1
See the output of 'dmesg' for more information.
4652
Stopping realtime threads
Unloading hal components

Kernel message information:
[11690.178210] I-pipe: head domain RTAI registered.
[11690.178215] RTAI[hal]: compiled with gcc version 4.7.2 (Debian 4.7.2-5) .
[11690.178247] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[11690.178250] SYSINFO: CPUs 2, LINUX APIC IRQ 2312, TIM_FREQ 12499048, CLK_FREQ 2499949000, CPU_FREQ 2499949000
[11690.178253] RTAI_APIC_TIMER_IPI: RTAI DEFINED 2314, VECTOR 2314; LINUX_APIC_TIMER_IPI: RTAI DEFINED 2312, VECTOR 2312
[11690.178256] TIMER NAME: lapic; VARIOUSLY FOUND APIC FREQs: 12499048, 12499048, 11888500
[11690.186417] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[11690.186458] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes.
[11690.186463] RTAI[sched]: hard timer type/freq = APIC/12499048(Hz); default timing: oneshot; linear timed lists.
[11690.186466] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2499949000 hz.
[11690.186468] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[11690.191477] RTAI[math]: loaded.
[11690.336181] XYZACkins: Unknown parameter `coordinates'
[11690.590860] RTAI[math]: unloaded.
[11690.592483] SCHED releases registered named ALIEN PEDV$D
[11690.597138] RTAI[malloc]: unloaded.
[11690.696023] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[11690.697882] I-pipe: head domain RTAI unregistered.
[11690.697917] RTAI[hal]: unmounted.



-----------------------------------------------------------------------
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: Sat Jan 15 21:06:48 CET 2022
UTC Date: Sat Jan 15 20:06:48 UTC 2022
this program: /usr/bin/linuxcnc_info
uptime: 21:06:48 up 3:15, 2 users, load average: 0.09, 0.08, 0.12
lsb_release -sa: Debian Debian GNU/Linux 7.11 (wheezy) 7.11 wheezy
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/mattu/linuxcnc/configs/XYZAC
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/XYZAC/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: /usr/realtime-3.4-9-rtai-686-pae/bin/rtai-config
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
+++-=======================================-==================================-============-==============================================================================
ii linuxcnc 1:2.8.2.72.gbcb0b7c i386 motion controller for CNC machines and robots
ii linuxcnc-dev 1:2.8.2.72.gbcb0b7c i386 PC based motion controller for real-time Linux
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)
rc linuxcnc-uspace 1:2.8.2.72.gbcb0b7c i386 motion controller for CNC machines and robots
un linuxcnc-uspace-dev <none> (no description available)


 

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

More
15 Jan 2022 20:43 - 15 Jan 2022 20:53 #231924 by ALittleOffTheRails
Ok what i would do is uninstall (apt purge) all versions of Linuxcnc then install the version that matches your kernel, eg either rt for rtai or uspace for rt_preemept. Make sure the linuxcnc-dev package matches as well.

what does the following return ?
uname -a

Make sure you have the kernel headers installed for the kernel you are using as well.
Last edit: 15 Jan 2022 20:53 by ALittleOffTheRails.

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

More
15 Jan 2022 22:21 - 15 Jan 2022 22:21 #231945 by Matt Hat
Its a .iso file debian installation named 2.7.14 wheeyz PREEMPT-RT from linuxcnc.org.
uname -a
Linux PCname 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
Last edit: 15 Jan 2022 22:21 by Matt Hat.

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

More
15 Jan 2022 22:37 - 15 Jan 2022 22:49 #231947 by Matt Hat
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:
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.
Last edit: 15 Jan 2022 22:49 by Matt Hat.

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

Time to create page: 0.281 seconds
Powered by Kunena Forum