Machine stop working

More
14 Dec 2023 13:41 #288126 by Lcvette
Replied by Lcvette on topic Machine stop working
error deleting something? on startup? never seen that before, need to check linuxcnc main area maybe.

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

More
14 Dec 2023 16:26 - 14 Dec 2023 16:52 #288136 by CNC_ANDI
Replied by CNC_ANDI on topic Machine stop working
deleted "/tmp/tmp_CNC-ANDI.hal" manual. (with a copy)
then i run the cmd line
works.

but got no new entires in the logs....

 i have not made any changes on linux cnc... this is a fresh install on debian 12 bookworm. followed this install guide:
kcjengr.github.io/probe_basic/quick_start_apt.html

i have only paste my machine config
and installed grub-customizer and geany.... nothing more
Last edit: 14 Dec 2023 16:52 by CNC_ANDI.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 Dec 2023 17:24 #288142 by tommylight
Replied by tommylight on topic Machine stop working
Why would LinuxCNC write/delete/read hal files from the main Linux tmp folder?
I can not think of any sensible reason to do that.
LinuxCNC can do that freely in the config folder.

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

More
14 Dec 2023 17:36 - 14 Dec 2023 21:15 #288143 by CNC_ANDI
Replied by CNC_ANDI on topic Machine stop working
I don`t know... i posted only that was the cmd has written at this command: linuxcnc your_ini_file_name.ini
in this directory /tmp/
i found this 3 files....
tmp_CNC-ANDI.hal
tmp_handrad.hal
tmp_custom.hal
 
Last edit: 14 Dec 2023 21:15 by CNC_ANDI.
The following user(s) said Thank You: tommylight

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

More
14 Dec 2023 20:57 - 14 Dec 2023 20:59 #288164 by Lcvette
Replied by Lcvette on topic Machine stop working
did you replace that example ini file with your file?

in otherwords,

linuxcnc cnc_andi.ini

where cnc_andi is the name of your actual ini file...
Last edit: 14 Dec 2023 20:59 by Lcvette.

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

More
14 Dec 2023 21:12 - 14 Dec 2023 21:13 #288166 by CNC_ANDI
Replied by CNC_ANDI on topic Machine stop working
^^ yes i do that for sure

you can see it here:

got this message

cnc@debian:~/linuxcnc/configs/cnc_andi$ linuxcnc CNC-ANDI.ini
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/cnc/linuxcnc/configs/cnc_andi'
Machine configuration file is 'CNC-ANDI.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
twopass:invoked with <> options
twopass:found ./CNC-ANDI.hal
twopass:found ./handrad.hal
twopass:found ./custom.hal
twopass:pass0: loadusr -W hal_manualtoolchange
twopass:pass0: loadusr -W xhc-whb04b-6 -HsfB
twopass:pass0: loadusr -W vfdmod fulingvfd.ini

identityKinematicsSetup: coordinates:XYYZBC
   Joint 0 ==> Axis X
   Joint 1 ==> Axis Y
   Joint 2 ==> Axis Y
   Joint 3 ==> Axis Z
   Joint 4 ==> Axis B
   Joint 5 ==> Axis C
identityKinematicsSetup: Recommend: kinstype=both

hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:10:43:6d
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Low Level init 0.15
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0:     IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 006 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 007 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 008 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 009 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 010 (P1-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i76e.0:     IO Pin 011 (P1-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i76e.0:     IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0:     IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0:     IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0:     IO Pin 017 (P2-01): StepGen #5, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 018 (P2-14): StepGen #5, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 019 (P2-02): StepGen #6, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 020 (P2-15): StepGen #6, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 021 (P2-03): StepGen #7, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 022 (P2-16): StepGen #7, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 023 (P2-04): StepGen #8, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 024 (P2-17): StepGen #8, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0:     IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
error deleting "/tmp/tmp_CNC-ANDI.hal": not owner
    while executing
"file delete $::TP($name)"
    invoked from within
"if $::tp::nodelete {
      verbose "nodelete: $::TP($name)"
    } else {
      verbose "deleting: $::TP($name)"
      file delete $::TP($name)
    }"
    (procedure "::tp::pass1" line 13)
    invoked from within
"::tp::pass1"
    (file "/usr/lib/tcltk/linuxcnc/twopass.tcl" line 768)
    invoked from within
"source $filename"
    invoked from within
"set result [source $filename]"
    (file "/usr/bin/haltcl" line 42)
Shutting down and cleaning up LinuxCNC...
vfdmod: close request received.
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
vfdmod: application closed.
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/cnc/linuxcnc_debug.txt
and
    /home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Last edit: 14 Dec 2023 21:13 by CNC_ANDI.

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

Moderators: KCJLcvette
Time to create page: 0.065 seconds
Powered by Kunena Forum