7I92 Board Fails HM2 Registration
- 2wire078
- Topic Author
- Visitor
29 Apr 2023 16:15 #270217
by 2wire078
7I92 Board Fails HM2 Registration was created by 2wire078
I don't have a good understanding of LinuxCNC and I'm running into this error. I sent my CNC plasma table out to be serviced and they refreshed some things because the system was 7 years old. I hooked it all up and everything seems to be fine until I boot up CommandCNC. I get this error every time I try to. I tried digesting it the best I could but I couldn't make much sense of it. I'd really appreciate any insight anyone might have!
Print File:
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/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.7.15~ccc2.3
Machine configuration directory is '/home/plasma/linuxcnc/configs/EBOB/EBOB_G5_No_Super_Z'
Machine configuration file is 'G5_NO_SUPER_Z.ini'
INIFILE=/home/plasma/linuxcnc/configs/EBOB/EBOB_G5_No_Super_Z/G5_NO_SUPER_Z.ini
PARAMETER_FILE=G5_NO_SUPER_Z.var
TASK=milltask
HALUI=halui2
DISPLAY=gscreen -c commandcnc
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: halui2
Found file(REL): ./G5_NO_SUPER_Z.tcl
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: Hardware address: 00:60:1b:13:01:82
hm2_eth: discovered 7I92
board fails HM2 registration
Shutting down and cleaning up LinuxCNC...
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug File:
Note: Using POSIX non-realtime
hm2/hm2_7i92.0: config.num_stepgens=9, but only 6 are available, not loading driver
hm2/hm2_7i92.0: failed to parse Module Descriptor 3
hm2_eth: rtapi_app_main: Invalid argument (-22)
waitpid failed /usr/bin/rtapi_app hm2_eth
/usr/bin/rtapi_app exited without becoming ready
insmod for hm2_eth failed, returned -1
while executing
"hal loadrt hm2_eth board_ip=\"10.10.10.10\" {config="num_encoders=0 num_pwmgens=0 num_stepgens=9"}"
("eval" body line 1)
invoked from within
"eval hal loadrt $args"
(procedure "loadrt" line 1)
invoked from within
"loadrt $::HOSTMOT2(DRIVER) board_ip=[lindex $::HOSTMOT2(IPADDR) 0] config=[lindex $::HOSTMOT2(CONFIG) 0]"
(file "./G5_NO_SUPER_Z.tcl" line 38)
invoked from within
"source $filename"
invoked from within
"set result [source $filename]"
(file "/usr/bin/haltcl" line 55)
2081
Stopping realtime threads
Unloading hal components
Note: Using POSIX non-realtime
Print File:
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/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.7.15~ccc2.3
Machine configuration directory is '/home/plasma/linuxcnc/configs/EBOB/EBOB_G5_No_Super_Z'
Machine configuration file is 'G5_NO_SUPER_Z.ini'
INIFILE=/home/plasma/linuxcnc/configs/EBOB/EBOB_G5_No_Super_Z/G5_NO_SUPER_Z.ini
PARAMETER_FILE=G5_NO_SUPER_Z.var
TASK=milltask
HALUI=halui2
DISPLAY=gscreen -c commandcnc
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: halui2
Found file(REL): ./G5_NO_SUPER_Z.tcl
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: Hardware address: 00:60:1b:13:01:82
hm2_eth: discovered 7I92
board fails HM2 registration
Shutting down and cleaning up LinuxCNC...
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug File:
Note: Using POSIX non-realtime
hm2/hm2_7i92.0: config.num_stepgens=9, but only 6 are available, not loading driver
hm2/hm2_7i92.0: failed to parse Module Descriptor 3
hm2_eth: rtapi_app_main: Invalid argument (-22)
waitpid failed /usr/bin/rtapi_app hm2_eth
/usr/bin/rtapi_app exited without becoming ready
insmod for hm2_eth failed, returned -1
while executing
"hal loadrt hm2_eth board_ip=\"10.10.10.10\" {config="num_encoders=0 num_pwmgens=0 num_stepgens=9"}"
("eval" body line 1)
invoked from within
"eval hal loadrt $args"
(procedure "loadrt" line 1)
invoked from within
"loadrt $::HOSTMOT2(DRIVER) board_ip=[lindex $::HOSTMOT2(IPADDR) 0] config=[lindex $::HOSTMOT2(CONFIG) 0]"
(file "./G5_NO_SUPER_Z.tcl" line 38)
invoked from within
"source $filename"
invoked from within
"set result [source $filename]"
(file "/usr/bin/haltcl" line 55)
2081
Stopping realtime threads
Unloading hal components
Note: Using POSIX non-realtime
Please Log in or Create an account to join the conversation.
- besriworld
- Offline
- Elite Member
Less
More
- Posts: 250
- Thank you received: 70
29 Apr 2023 16:40 #270219
by besriworld
Replied by besriworld on topic 7I92 Board Fails HM2 Registration
hm2/hm2_7i92.0: config.num_stepgens=9, but only 6 are available, not loading driver
For the first time, change to the hal file
num_stepgens=6
For the first time, change to the hal file
num_stepgens=6
The following user(s) said Thank You: Muftijaja, 2wire078
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19462
- Thank you received: 6529
29 Apr 2023 23:14 #270260
by tommylight
Replied by tommylight on topic 7I92 Board Fails HM2 Registration
And this means you are using the wrong non real time kernel, so after you edit the number of stepgens, see if you have an RT kernel installed, otherwise Mesa 7i92 will not work.Note: Using POSIX non-realtime
The following user(s) said Thank You: 2wire078
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds