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-5.4.279-rtai-amd64/modules/linuxcnc LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.9.2 Machine configuration directory is '/home/cnc/linuxcnc/configs/MILLX4' Machine configuration file is 'MILLX4.ini' INIFILE=/home/cnc/linuxcnc/configs/MILLX4/MILLX4.ini VERSION=1.1 PARAMETER_FILE=linuxcnc.var TPMOD= HOMEMOD= TASK=milltask HALUI=halui DISPLAY=axis COORDINATES=X Y Z A KINEMATICS=trivkins coordinates=XYZA 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 linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod twopass:invoked with <> options twopass:found ./MILLX4.hal twopass:found ./custom.hal twopass:found ././gtc_custom/mpg/xhc-whb04b-6.hal twopass:found ././gtc_custom/Probe/Probe_preload.hal twopass:pass0: loadusr -W hal_manualtoolchange twopass:pass0: loadusr -W xhc-whb04b-6 -HsfB twopass: load_the_modules cmd= exit value: 1 insmod for motmod failed, returned -1 See the output of 'dmesg' for more information. Shutting down and cleaning up LinuxCNC... Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: HAL: ERROR: duplicate component name 'hal_manualtoolchange' Traceback (most recent call last): File "/usr/bin/hal_manualtoolchange", line 54, in h = hal.component("hal_manualtoolchange") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hal.error: Invalid argument insmod: ERROR: could not insert module /usr/realtime-5.4.279-rtai-amd64/modules/linuxcnc/motmod.ko: Operation not permitted 2034 Stopping realtime threads Unloading hal components Kernel message information: [ 516.974344] I-pipe: head domain RTAI registered. [ 516.974422] RTAI[hal]: mounted. ISOL_CPUS_MASK: 2. [ 516.974425] SYSINFO - # CPUs: 2, TIMER NAME: 'lapic', TIMER IRQ: 4355, TIMER FREQ: 16626499, CLOCK NAME: 'tsc', CLOCK FREQ: 2792982000, CPU FREQ: 2792982000, LINUX TIMER IRQ: 4355. [ 516.983779] RTAI[malloc]: global heap size = 2097152 bytes, . [ 516.983800] kstacks pool size = 524288 bytes [ 516.983801] RTAI[sched]: hard timer type/freq = lapic/16626499(Hz) [ 516.983801] linear timed lists. [ 516.983803] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2792982000 hz. [ 516.983804] RTAI[sched]: timer setup = 60 ns, resched latency = 0 ns. [ 517.009343] USERMODE CHECK: OK. [ 517.009346] USERMODE CHECK PROVIDED (ns): KernelLatency 2167, UserLatency 2382. [ 517.009347] FINAL CALIBRATION SUMMARY (ns): KernelLatency 2167, UserLatency 2382. [ 517.048282] RTAI[math]: loaded integrated musl libm version 1.2.3. [ 517.248483] config string '0 out' [ 574.129992] usb 4-1: USB disconnect, device number 6 [ 583.577934] usb 4-1: new full-speed USB device number 7 using uhci_hcd [ 583.744161] usb 4-1: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00 [ 583.744165] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 583.760156] usb 4-1: language id specifier not provided by device, defaulting to English [ 583.774769] hid-generic 0003:10CE:EB93.000B: hiddev0,hidraw0: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:1d.2-1/input0 [ 592.481989] usb 4-1: USB disconnect, device number 7 [ 601.929945] usb 4-1: new full-speed USB device number 8 using uhci_hcd [ 602.095220] usb 4-1: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00 [ 602.095224] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 602.110164] usb 4-1: language id specifier not provided by device, defaulting to English [ 602.124677] hid-generic 0003:10CE:EB93.000C: hiddev0,hidraw0: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:1d.2-1/input0 [ 610.834012] usb 4-1: USB disconnect, device number 8 [ 610.869532] HAL: ERROR: duplicate thread name base-thread [ 610.869535] MOTION: failed to create 42000 nsec base thread [ 610.869535] MOTION: init_threads() failed [ 610.905493] config string '0 out' [ 613.616583] RTAI[math]: unloaded. [ 613.669954] SCHED releases registered named ALIEN PEDV$D [ 613.689887] RTAI[malloc]: unloaded. [ 613.793934] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 613.812837] I-pipe: head domain RTAI unregistered. [ 613.812971] 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: Wed Jul 10 08:08:49 AM EDT 2024 UTC Date: Wed Jul 10 12:08:49 PM UTC 2024 this program: /usr/bin/linuxcnc_info uptime: 08:08:49 up 10 min, 1 user, load average: 0.95, 0.52, 0.27 lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm linuxcnc: /usr/bin/linuxcnc pwd: /home/cnc/linuxcnc/configs/MILLX4 USER: cnc LOGNAME: cnc HOME: /home/cnc EDITOR: VISUAL: LANGUAGE: TERM: dumb COLORTERM: DISPLAY: :0.0 DESKTOP: lightdm-xsession display size: 1440x900 pixels (381x238 millimeters) PATH: /usr/bin:/home/cnc/linuxcnc/configs/MILLX4/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games uname items: nodename -n: debian-linuxcnc kernel-name -s: Linux kernel-vers -v: #1 SMP Tue Jul 9 19:17:37 UTC 2024 machine -m: x86_64 processor -p: unknown platform -i: unknown oper system -o: GNU/Linux /proc items: cmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.279-rtai-amd64 root=UUID=52b65ab7-7819-486f-b26f-e9f971c0c847 ro quiet isolcpus=1 model name: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz cores: 2 cpu MHz: 1640.658 parport: 0000-0000 : parport0 0000-0000 : parport0 serial: Versions: gcc: gcc (Debian 12.2.0-14) 12.2.0 python: Python 3.11.2 git: git version 2.39.2 git commit: NA tcl: 8.6 tk: 8.6 glade: glade 3.40.0 linuxcnc_var all: LINUXCNCVERSION: 2.9.2 LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples REALTIME: /usr/lib/linuxcnc/realtime RTS: /usr/realtime-5.4.279-rtai-amd64/bin/rtai-config HALLIB_DIR: /usr/share/linuxcnc/hallib PYTHON: /usr/bin/python3.11 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.9.2 amd64 motion controller for CNC machines and robots un linuxcnc-doc (no description available) un linuxcnc-doc-en (no description available) un linuxcnc-sim (no description available) un linuxcnc-uspace (no description available)