mesa 7i80 (linuxcnx terminated with an err)

More
10 Dec 2020 21:48 - 10 Dec 2020 21:55 #191608 by kavindu1
im try to connect 7i80 with (LinuxCNC 2.7.14)

and im going to open my linux cnc luncher im got err message

Debug file information:
./my_LinuxCNC_machine_v10.hal:8: Can't find module 'hm2_eth' in /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
5074
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Last edit: 10 Dec 2020 21:55 by kavindu1.

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

More
10 Dec 2020 21:51 - 10 Dec 2020 21:55 #191610 by kavindu1
err message


Debug file information:
./my_LinuxCNC_machine_v10.hal:8: Can't find module 'hm2_eth' in /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
5074
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Last edit: 10 Dec 2020 21:55 by kavindu1.

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

More
10 Dec 2020 22:04 #191612 by tommylight
You need the Preempt-RT kernel to run Mesa ethernet boards.
The easiest is to download the official 2.8 release and install it:
linuxcnc.org/downloads/
Download the Debian 10 Buster, the first thing on that page.
The following user(s) said Thank You: kavindu1

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

More
12 Dec 2020 07:25 - 12 Dec 2020 07:27 #191713 by kavindu1
im try with debian 10 buster still i cant run the luncher
i got this err


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.6
LINUXCNC - 2.8.0
Machine configuration directory is '/home/user/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/user/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
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
Starting HAL User Interface program: halui
Found file(REL): ./my_LinuxCNC_machine.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:11:81:12
hm2_eth: discovered 7I80HD-16
hm2/hm2_7i80.0: 72 I/O Pins used:
hm2/hm2_7i80.0: IO Pin 000 (P1-01): Encoder #1, pin B (Input)
hm2/hm2_7i80.0: IO Pin 001 (P1-03): Encoder #1, pin A (Input)
hm2/hm2_7i80.0: IO Pin 002 (P1-05): Encoder #0, pin B (Input)
hm2/hm2_7i80.0: IO Pin 003 (P1-07): Encoder #0, pin A (Input)
hm2/hm2_7i80.0: IO Pin 004 (P1-09): Encoder #1, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 005 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 006 (P1-13): IOPort
hm2/hm2_7i80.0: IO Pin 007 (P1-15): IOPort
hm2/hm2_7i80.0: IO Pin 008 (P1-17): IOPort
hm2/hm2_7i80.0: IO Pin 009 (P1-19): IOPort
hm2/hm2_7i80.0: IO Pin 010 (P1-21): IOPort
hm2/hm2_7i80.0: IO Pin 011 (P1-23): IOPort
hm2/hm2_7i80.0: IO Pin 012 (P1-25): Encoder #3, pin B (Input)
hm2/hm2_7i80.0: IO Pin 013 (P1-27): Encoder #3, pin A (Input)
hm2/hm2_7i80.0: IO Pin 014 (P1-29): Encoder #2, pin B (Input)
hm2/hm2_7i80.0: IO Pin 015 (P1-31): Encoder #2, pin A (Input)
hm2/hm2_7i80.0: IO Pin 016 (P1-33): Encoder #3, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 017 (P1-35): Encoder #2, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 018 (P1-37): IOPort
hm2/hm2_7i80.0: IO Pin 019 (P1-39): IOPort
hm2/hm2_7i80.0: IO Pin 020 (P1-41): IOPort
hm2/hm2_7i80.0: IO Pin 021 (P1-43): IOPort
hm2/hm2_7i80.0: IO Pin 022 (P1-45): IOPort
hm2/hm2_7i80.0: IO Pin 023 (P1-47): IOPort
hm2/hm2_7i80.0: IO Pin 024 (P2-01): Encoder #5, pin B (Input)
hm2/hm2_7i80.0: IO Pin 025 (P2-03): Encoder #5, pin A (Input)
hm2/hm2_7i80.0: IO Pin 026 (P2-05): Encoder #4, pin B (Input)
hm2/hm2_7i80.0: IO Pin 027 (P2-07): Encoder #4, pin A (Input)
hm2/hm2_7i80.0: IO Pin 028 (P2-09): Encoder #5, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 029 (P2-11): Encoder #4, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 030 (P2-13): IOPort
hm2/hm2_7i80.0: IO Pin 031 (P2-15): IOPort
hm2/hm2_7i80.0: IO Pin 032 (P2-17): IOPort
hm2/hm2_7i80.0: IO Pin 033 (P2-19): IOPort
hm2/hm2_7i80.0: IO Pin 034 (P2-21): IOPort
hm2/hm2_7i80.0: IO Pin 035 (P2-23): IOPort
hm2/hm2_7i80.0: IO Pin 036 (P2-25): Encoder #7, pin B (Input)
hm2/hm2_7i80.0: IO Pin 037 (P2-27): Encoder #7, pin A (Input)
hm2/hm2_7i80.0: IO Pin 038 (P2-29): Encoder #6, pin B (Input)
hm2/hm2_7i80.0: IO Pin 039 (P2-31): Encoder #6, pin A (Input)
hm2/hm2_7i80.0: IO Pin 040 (P2-33): Encoder #7, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 041 (P2-35): Encoder #6, pin Index (Input)
hm2/hm2_7i80.0: IO Pin 042 (P2-37): IOPort
hm2/hm2_7i80.0: IO Pin 043 (P2-39): IOPort
hm2/hm2_7i80.0: IO Pin 044 (P2-41): IOPort
hm2/hm2_7i80.0: IO Pin 045 (P2-43): IOPort
hm2/hm2_7i80.0: IO Pin 046 (P2-45): IOPort
hm2/hm2_7i80.0: IO Pin 047 (P2-47): IOPort
hm2/hm2_7i80.0: IO Pin 048 (P3-01): StepGen #0, pin Step (Output)
hm2/hm2_7i80.0: IO Pin 049 (P3-03): StepGen #0, pin Direction (Output)
hm2/hm2_7i80.0: IO Pin 050 (P3-05): IOPort
hm2/hm2_7i80.0: IO Pin 051 (P3-07): IOPort
hm2/hm2_7i80.0: IO Pin 052 (P3-09): IOPort
hm2/hm2_7i80.0: IO Pin 053 (P3-11): IOPort
hm2/hm2_7i80.0: IO Pin 054 (P3-13): StepGen #1, pin Step (Output)
hm2/hm2_7i80.0: IO Pin 055 (P3-15): StepGen #1, pin Direction (Output)
hm2/hm2_7i80.0: IO Pin 056 (P3-17): IOPort
hm2/hm2_7i80.0: IO Pin 057 (P3-19): IOPort
hm2/hm2_7i80.0: IO Pin 058 (P3-21): IOPort
hm2/hm2_7i80.0: IO Pin 059 (P3-23): IOPort
hm2/hm2_7i80.0: IO Pin 060 (P3-25): StepGen #2, pin Step (Output)
hm2/hm2_7i80.0: IO Pin 061 (P3-27): StepGen #2, pin Direction (Output)
hm2/hm2_7i80.0: IO Pin 062 (P3-29): IOPort
hm2/hm2_7i80.0: IO Pin 063 (P3-31): IOPort
hm2/hm2_7i80.0: IO Pin 064 (P3-33): IOPort
hm2/hm2_7i80.0: IO Pin 065 (P3-35): IOPort
hm2/hm2_7i80.0: IO Pin 066 (P3-37): StepGen #3, pin Step (Output)
hm2/hm2_7i80.0: IO Pin 067 (P3-39): StepGenShutting down and cleaning up LinuxCNC...
Running HAL shutdown script
#3, pin Direction (Output)
hm2/hm2_7i80.0: IO Pin 068 (P3-41): IOPort
hm2/hm2_7i80.0: IO Pin 069 (P3-43): IOPort
hm2/hm2_7i80.0: IO Pin 070 (P3-45): IOPort
hm2/hm2_7i80.0: IO Pin 071 (P3-47): IOPort
hm2/hm2_7i80.0: registered
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./my_LinuxCNC_machine.hal:10: parameter or pin 'hm2_7i80hd.0.watchdog.timeout_ns' not found
7611
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
pastebin.com
in order to provide information about the linuxcnc
system and configuration.
Last edit: 12 Dec 2020 07:27 by kavindu1.

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

More
12 Dec 2020 10:43 #191724 by tommylight
Try removing the "hd" from the board name in the hal file.
LinuxCNC is reporting them as " hm2_7i80.0" while they are set as " hm2_7i80hd.0" in hal.
The following user(s) said Thank You: kavindu1

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

More
13 Dec 2020 22:40 #191918 by travis036
i had the same issue with the pncconf generated hal file. removing the hd worked, but perhaps the pncconf needs a bit of an adjustment in the code to stop it from adding the hd. or at least a disclaimer for the user to make the changes, and how.

just a thought ;)

~Travis
The following user(s) said Thank You: tommylight

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

More
14 Dec 2020 02:35 #191934 by kavindu1
i chnge 7i80hd in to 7i80 in hal file now it works thanks

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

Time to create page: 0.120 seconds
Powered by Kunena Forum