- Posts: 96
- Thank you received: 2
Can't get Mesa 7i92 to connect without a hub.
8 years 4 months ago #112431
by scubawarm
Replied by scubawarm on topic Can't get Mesa 7i92 to connect without a hub.
Here you go...
Connected to enp2s0 with and without hub. Only thing connected
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:e8:4c:68:23:96 brd ff:ff:ff:ff:ff:ff
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 0a:e8:4c:68:23:97 brd ff:ff:ff:ff:ff:ff
inet 10.100.100.120/24 brd 10.100.100.255 scope global enp2s0
valid_lft forever preferred_lft forever
inet6 fe80::c931:4384:19f9:619c/64 scope link
valid_lft forever preferred_lft forever
4: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:e8:4c:68:23:98 brd ff:ff:ff:ff:ff:ff
5: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:e8:4c:68:23:99 brd ff:ff:ff:ff:ff:ff
*************************
superman@esab:~/linuxcnc-dev$ . ./scripts/rip-environment
superman@esab:~/linuxcnc-dev$ cd ..
ssuperman@esab:~$ cd ./linuxcnc/configs/test
superman@esab:~/linuxcnc/configs/test$ linuxcnc test.ini
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/superman/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
Starting LinuxCNC...
Found file(REL): ./test.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.100.100.121: Hardware address: 00:60:1b:13:00:9d
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i77.0.0 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.0 Software Mode 0 = input_output
Board hm2_7i92.0.7i77.0.0 Software Mode 1 = io_analog
Board hm2_7i92.0.7i77.0.0 Software Mode 2 = io_analog_fieldvoltage
Board hm2_7i92.0.7i77.0.0 Software Mode 3 = io_encoder_analog_fieldvoltage
Waiting for component 'hm2_eth' to become ready.................Board hm2_7i92.0.7i77.0.1 Hardware Mode 0 = standard
.Board hm2_7i92.0.7i77.0.1 Software Mode 0 = analogout_enables
.........board fails HM2 registration
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./test.hal:9: waitpid failed /home/superman/linuxcnc-dev/bin/rtapi_app hm2_eth
./test.hal:9: /home/superman/linuxcnc-dev/bin/rtapi_app exited without becoming ready
./test.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/superman/linuxcnc_debug.txt
and
/home/superman/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
*******************
/home/superman/linuxcnc_debug.txt
1394
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
********************************
Ping without hub
31 packets transmitted, 31 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.963/1.207/1.553/0.132 ms
*********************************
Ping with hub
32 packets transmitted, 32 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.201/0.314/0.648/0.075 ms
Connected to enp2s0 with and without hub. Only thing connected
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:e8:4c:68:23:96 brd ff:ff:ff:ff:ff:ff
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 0a:e8:4c:68:23:97 brd ff:ff:ff:ff:ff:ff
inet 10.100.100.120/24 brd 10.100.100.255 scope global enp2s0
valid_lft forever preferred_lft forever
inet6 fe80::c931:4384:19f9:619c/64 scope link
valid_lft forever preferred_lft forever
4: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:e8:4c:68:23:98 brd ff:ff:ff:ff:ff:ff
5: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 0a:e8:4c:68:23:99 brd ff:ff:ff:ff:ff:ff
*************************
superman@esab:~/linuxcnc-dev$ . ./scripts/rip-environment
superman@esab:~/linuxcnc-dev$ cd ..
ssuperman@esab:~$ cd ./linuxcnc/configs/test
superman@esab:~/linuxcnc/configs/test$ linuxcnc test.ini
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/superman/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
Starting LinuxCNC...
Found file(REL): ./test.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.100.100.121: Hardware address: 00:60:1b:13:00:9d
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i77.0.0 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.0 Software Mode 0 = input_output
Board hm2_7i92.0.7i77.0.0 Software Mode 1 = io_analog
Board hm2_7i92.0.7i77.0.0 Software Mode 2 = io_analog_fieldvoltage
Board hm2_7i92.0.7i77.0.0 Software Mode 3 = io_encoder_analog_fieldvoltage
Waiting for component 'hm2_eth' to become ready.................Board hm2_7i92.0.7i77.0.1 Hardware Mode 0 = standard
.Board hm2_7i92.0.7i77.0.1 Software Mode 0 = analogout_enables
.........board fails HM2 registration
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./test.hal:9: waitpid failed /home/superman/linuxcnc-dev/bin/rtapi_app hm2_eth
./test.hal:9: /home/superman/linuxcnc-dev/bin/rtapi_app exited without becoming ready
./test.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/superman/linuxcnc_debug.txt
and
/home/superman/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
*******************
/home/superman/linuxcnc_debug.txt
1394
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
********************************
Ping without hub
31 packets transmitted, 31 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.963/1.207/1.553/0.132 ms
*********************************
Ping with hub
32 packets transmitted, 32 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.201/0.314/0.648/0.075 ms
Please Log in or Create an account to join the conversation.
8 years 4 months ago #112432
by scubawarm
Replied by scubawarm on topic Can't get Mesa 7i92 to connect without a hub.
For reference here is a successful load with a hub between.
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/superman/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
Starting LinuxCNC...
Found file(REL): ./test.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.100.100.121: Hardware address: 00:60:1b:13:00:9d
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i77.0.0 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.0 Software Mode 0 = input_output
Board hm2_7i92.0.7i77.0.0 Software Mode 1 = io_analog
Board hm2_7i92.0.7i77.0.0 Software Mode 2 = io_analog_fieldvoltage
Board hm2_7i92.0.7i77.0.0 Software Mode 3 = io_encoder_analog_fieldvoltage
Board hm2_7i92.0.7i77.0.1 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.1 Software Mode 0 = analogout_enables
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0: IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0: IO Pin 002 (P2-02): IOPort
hm2/hm2_7i92.0: IO Pin 003 (P2-15): Smart Serial Interface #0, pin TxData1 (Output)
hm2/hm2_7i92.0: IO Pin 004 (P2-03): Smart Serial Interface #0, pin RxData1 (Input)
hm2/hm2_7i92.0: IO Pin 005 (P2-16): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_7i92.0: IO Pin 006 (P2-04): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_7i92.0: IO Pin 007 (P2-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i92.0: IO Pin 008 (P2-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 009 (P2-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 010 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 011 (P2-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 012 (P2-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 013 (P2-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 014 (P2-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 015 (P2-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 016 (P2-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 017 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 018 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 019 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 020 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 021 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 022 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 023 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 024 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 025 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 026 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort
hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort
hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort
hm2/hm2_7i92.0: IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0: IO Pin 031 (P1-11): Muxed Encoder #3, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 032 (P1-12): Muxed Encoder #3, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 033 (P1-13): Muxed Encoder #3, pin Muxed A (Input)
hm2/hm2_7i92.0: registered
Found file(REL): ./custom.hal
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.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/superman/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
Starting LinuxCNC...
Found file(REL): ./test.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.100.100.121: Hardware address: 00:60:1b:13:00:9d
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i77.0.0 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.0 Software Mode 0 = input_output
Board hm2_7i92.0.7i77.0.0 Software Mode 1 = io_analog
Board hm2_7i92.0.7i77.0.0 Software Mode 2 = io_analog_fieldvoltage
Board hm2_7i92.0.7i77.0.0 Software Mode 3 = io_encoder_analog_fieldvoltage
Board hm2_7i92.0.7i77.0.1 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.1 Software Mode 0 = analogout_enables
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0: IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0: IO Pin 002 (P2-02): IOPort
hm2/hm2_7i92.0: IO Pin 003 (P2-15): Smart Serial Interface #0, pin TxData1 (Output)
hm2/hm2_7i92.0: IO Pin 004 (P2-03): Smart Serial Interface #0, pin RxData1 (Input)
hm2/hm2_7i92.0: IO Pin 005 (P2-16): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_7i92.0: IO Pin 006 (P2-04): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_7i92.0: IO Pin 007 (P2-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i92.0: IO Pin 008 (P2-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 009 (P2-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 010 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 011 (P2-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 012 (P2-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 013 (P2-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 014 (P2-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 015 (P2-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 016 (P2-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 017 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 018 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 019 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 020 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 021 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 022 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 023 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 024 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 025 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0: IO Pin 026 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort
hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort
hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort
hm2/hm2_7i92.0: IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0: IO Pin 031 (P1-11): Muxed Encoder #3, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 032 (P1-12): Muxed Encoder #3, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 033 (P1-13): Muxed Encoder #3, pin Muxed A (Input)
hm2/hm2_7i92.0: registered
Found file(REL): ./custom.hal
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.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
Please Log in or Create an account to join the conversation.
8 years 4 months ago #112434
by PCW
Replied by PCW on topic Can't get Mesa 7i92 to connect without a hub.
So that's pretty mysterious. Did you disable ipv6 as suggested in the hm2_eth man page?
Other than that I guess as I mentioned before, it could be marginal interface levels on the 7I92 so it works with the hub but not reliably with a direct connection, or may be something else odd about your setup.
Are you using the stretch test ISO?
Other than that I guess as I mentioned before, it could be marginal interface levels on the 7I92 so it works with the hub but not reliably with a direct connection, or may be something else odd about your setup.
Are you using the stretch test ISO?
Please Log in or Create an account to join the conversation.
8 years 4 months ago - 8 years 4 months ago #112489
by scubawarm
Replied by scubawarm on topic Can't get Mesa 7i92 to connect without a hub.
Yes using Stretch test ISO installed.
Discovered this... Given the little black box J1900 is gigabit connection and 7i92 is 100... the hub handles the conversion. When directly connected it fails.
BUT, when I force the J1900 to use 100MB it also fails with the hub to the 7i92
Note: Network, INTERNET and other items work fine when forced to 100MB. Very frustrating stuff. May try another firmware see if any improvement.
I don't see a reference to disabling IPv6 in the MAN pages. But have attempted to on your direction.
For an experiment installed the 7i77x2D firmware ... but same results. Going to be out of town... I guess I will have to try another PC after next week. To see if something with the J1900, Ethernet ports, OS or the 7i92 itself.
Discovered this... Given the little black box J1900 is gigabit connection and 7i92 is 100... the hub handles the conversion. When directly connected it fails.
BUT, when I force the J1900 to use 100MB it also fails with the hub to the 7i92
Note: Network, INTERNET and other items work fine when forced to 100MB. Very frustrating stuff. May try another firmware see if any improvement.
I don't see a reference to disabling IPv6 in the MAN pages. But have attempted to on your direction.
For an experiment installed the 7i77x2D firmware ... but same results. Going to be out of town... I guess I will have to try another PC after next week. To see if something with the J1900, Ethernet ports, OS or the 7i92 itself.
Last edit: 8 years 4 months ago by scubawarm.
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds