Encoder

More
13 Feb 2022 23:28 #234771 by Kylizer
Error Report was created by Kylizer
Im not really sure what to do about the error on the MAC address 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.2-11-g6a3d0a434
Machine configuration directory is '/home/kyle/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'basic7i97.ini'
INIFILE=/home/kyle/linuxcnc/configs/my_LinuxCNC_machine/basic7i97.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): ./basic7i97A.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 10.10.10.100: Resource temporarily unavailable
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./basic7i97A.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./basic7i97A.hal:9: /usr/bin/rtapi_app exited without becoming ready
./basic7i97A.hal:9: insmod for hm2_eth failed, returned -1
27403
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

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

More
14 Feb 2022 00:32 #234775 by PCW
Replied by PCW on topic Error Report
1. What IP address is the 7I97 set for (192.168.1.121 or 10.10.10.10)

2. What does the command
ip a
report?

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

More
14 Feb 2022 01:02 #234778 by Kylizer
Replied by Kylizer on topic Error Report
the 7i97 is set to 10.10.10.10 static ip address

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
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: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:2e:5f:7f:b1:ac brd ff:ff:ff:ff:ff:ff
inet 10.10.10.10/24 brd 10.10.10.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::134f:26c3:83be:24e0/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether f6:15:e0:3c:2c:49 brd ff:ff:ff:ff:ff:ff

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

More
14 Feb 2022 01:19 #234780 by tommylight
Replied by tommylight on topic Error Report

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:2e:5f:7f:b1:ac brd ff:ff:ff:ff:ff:ff
inet 10.10.10.10/24 brd 10.10.10.255 scope global noprefixroute eno1


Set the address to anything BUT 1 or 10.
10.10.10.100

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

More
14 Feb 2022 13:44 #234820 by Kylizer
Replied by Kylizer on topic Error Report
I already tried that. Well I mean I went in the Hal file and changed it to look for 10.10.10.100 Because when I set my static IP address I filled in one address with 10.10.10.10(the 7i97) and the other address to 10.10.10.100
Then the last one(the net mask, maybe) to 255.255.255

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

More
14 Feb 2022 13:47 #234821 by Kylizer
Replied by Kylizer on topic Error Report
I got the file from the forum. Basic 7i97. I’m guessing there is some things I need to change in Hal file to match my setup

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

More
14 Feb 2022 14:21 #234826 by Clive S
Replied by Clive S on topic Error Report

I already tried that. Well I mean I went in the Hal file and changed it to look for 10.10.10.100 Because when I set my static IP address I filled in one address with 10.10.10.10(the 7i97) and the other address to 10.10.10.100
Then the last one(the net mask, maybe) to 255.255.255


the hal file should be the 10.10.10.10 and the network address on the static PC should be 10.10.10.100 (but not 10)

I don't think you need the 255.255.255.255 but it should be 255.255.255.0

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

More
14 Feb 2022 23:24 #234872 by Kylizer
Replied by Kylizer on topic Error Report
   
Attachments:

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

More
14 Feb 2022 23:56 #234873 by PCW
Replied by PCW on topic Error Report
You still have the PC IP address set to 10.10.10.10

The PC's IP address _cannot_ be the same as the 7I76E's address
(10.10.10.10), because all devices on a network must have different
IP addresses. The PC address should be set to say 10.10.10.100.

In addition there should be no DNS or routing setup and IPV6 should
be disabled

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

More
15 Feb 2022 00:32 #234875 by Kylizer
Replied by Kylizer on topic Error Report
how do I go about changing the pc address and disabling the IPV6. In the edit connections?

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

Time to create page: 0.130 seconds
Powered by Kunena Forum