Cia402 no connection
- grzester
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
03 Feb 2026 16:28 #342345
by grzester
Replied by grzester on topic Cia402 no connection
Hallo Hakan I supose that You are talking about this commands :sudo systemctl enable ethercat.service
sudo systemctl start ethercat.service
sudo systemctl status ethercat.service
sudo chmod 666 /dev/EtherCAT0
I try them before and also today but with no lack.
But I see that Oriental Motor unit catch a fault whenever I plug rj45 eth.
That situation never happen under twincat.
After summarize everything I wonder what do TwinCat that works properly .
I will try watch history fault in the driver ,maybe it can help.
sudo systemctl start ethercat.service
sudo systemctl status ethercat.service
sudo chmod 666 /dev/EtherCAT0
I try them before and also today but with no lack.
But I see that Oriental Motor unit catch a fault whenever I plug rj45 eth.
That situation never happen under twincat.
After summarize everything I wonder what do TwinCat that works properly .
I will try watch history fault in the driver ,maybe it can help.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1266
- Thank you received: 442
03 Feb 2026 19:34 #342349
by Hakan
Replied by Hakan on topic Cia402 no connection
Yes that was what I meant.
Tips is to check what ethercat master writes in the syslog.
I see in the last screenshot it mentions MDI and MDI-X.
Can it be the cable, straight or crossed?
Tips is to check what ethercat master writes in the syslog.
I see in the last screenshot it mentions MDI and MDI-X.
Can it be the cable, straight or crossed?
Please Log in or Create an account to join the conversation.
- grzester
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
03 Feb 2026 21:41 #342357
by grzester
Replied by grzester on topic Cia402 no connection
...unfortunately there is no fault in history alarm.
I'm using the same wire for connecting with twincat or with EK1100 where everything is working properly..
Tomorrow I will try to check sys log.
I'm using the same wire for connecting with twincat or with EK1100 where everything is working properly..
Tomorrow I will try to check sys log.
Please Log in or Create an account to join the conversation.
- grzester
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
05 Feb 2026 21:29 #342513
by grzester
Replied by grzester on topic Cia402 no connection
...small update , crossed wire tested unfortunately it don't help ,
but for EK1100 is as good as straight wire
System journal gives me huge amount of information so I filtered it a bit.
1), grzesiekzxr@grzesiekzxr:~$ sudo journalctl -k --since "1 hour ago"
lut 05 20:59:00 grzesiekzxr kernel: kauditd_printk_skb: 7 callbacks suppressed
lut 05 20:59:00 grzesiekzxr kernel: audit: type=1400 audit(1770321540.504:19): apparmor="DENIED" operation="capable" profile="/usr/sb>
lut 05 21:13:25 grzesiekzxr kernel: perf: interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
lines 1-3/3 (END)
2). grzesiekzxr@grzesiekzxr:~$ ip link show ens5f5 | head -1
2: ens5f5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
3). grzesiekzxr@grzesiekzxr:~$ 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 noprefixroute
valid_lft forever preferred_lft forever
2: ens5f5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 20:cf:30:d0:44:90 brd ff:ff:ff:ff:ff:ff
altname enp4s0f5
3: wls1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 48:5d:60:38:a0:16 brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 10.10.0.245/24 brd 10.10.0.255 scope global dynamic noprefixroute wls1
valid_lft 15791sec preferred_lft 15791sec
inet6 fe80::9bf3:99e1:ddb1:dff3/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4).
[ 8.551591] ec_master: loading out-of-tree module taints kernel.
[ 8.551932] ec_master: module verification failed: signature and/or required key missing - tainting kernel
[ 8.585094] EtherCAT: Master driver 1.6.8 1.6.8.g2543cc5-1+27.2
[ 8.588193] EtherCAT: 1 master waiting for devices.
[ 8.615964] ec_generic: EtherCAT master generic Ethernet device module 1.6.8 1.6.8.g2543cc5-1+27.2
[ 8.615982] EtherCAT: Accepting 20:CF:30laugh0:44:90 as main device for master 0.
[ 8.615998] ec_generic: Binding socket to interface 2 (ens5f5).
[ 8.628532] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 8.851296] NET: Registered PF_QIPCRTR protocol family
[ 9.216918] jme 0000:04:00.5 ens5f5: Link is down
[ 10.623450] wls1: authenticate with fa:92:bf:2d:84:ad
[ 10.623474] wls1: 80 MHz not supported, disabling VHT
[ 10.637063] wls1: send auth to fa:92:bf:2d:84:ad (try 1/3)
[ 10.642346] wls1: authenticated
[ 10.644441] wls1: associate with fa:92:bf:2d:84:ad (try 1/3)
[ 10.652255] wls1: RX AssocResp from fa:92:bf:2d:84:ad (capab=0x1431 status=0 aid=3)
[ 10.652459] wls1: associated
[ 10.652573] ath: EEPROM regdomain: 0x8268
[ 10.652575] ath: EEPROM indicates we should expect a country code
[ 10.652576] ath: doing EEPROM country->regdmn map search
[ 10.652577] ath: country maps to regdmn code: 0x37
[ 10.652578] ath: Country alpha2 being used: PL
[ 10.652579] ath: Regpair used: 0x37
[ 10.652580] ath: regdomain 0x8268 dynamically updated by country element
[ 10.732760] wls1: Limiting TX power to 20 (20 - 0) dBm as advertised by fa:92:bf:2d:84:ad
[ 10.756660] IPv6: ADDRCONF(NETDEV_CHANGE): wls1: link becomes ready
[ 27.921396] systemd-journald[308]: File /var/log/journal/9eae89433bf9430392b319dc655b4150/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 312.070512] kauditd_printk_skb: 7 callbacks suppressed
[ 312.070518] audit: type=1400 audit(1770321540.504:19): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=1611 comm="cupsd" capability=12 capname="net_admin"
[ 1177.039546] perf: interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
[ 1508.389389] perf: interrupt took too long (3140 > 3132), lowering kernel.perf_event_max_sample_rate to 63500
[ 1879.795443] perf: interrupt took too long (3927 > 3925), lowering kernel.perf_event_max_sample_rate to 50750
The most obviousand suprising me thing is that led closed to rj45 is not lit and not flashing while connect to OrientalMotor but when beckhoff is wired firstly led is lit and when comunication start is flashing what is what I expected.
Maybe I should try on another pc ?
Thanks a lot for Your patience.
Attachment not found
Attachment not found
System journal gives me huge amount of information so I filtered it a bit.
1), grzesiekzxr@grzesiekzxr:~$ sudo journalctl -k --since "1 hour ago"
lut 05 20:59:00 grzesiekzxr kernel: kauditd_printk_skb: 7 callbacks suppressed
lut 05 20:59:00 grzesiekzxr kernel: audit: type=1400 audit(1770321540.504:19): apparmor="DENIED" operation="capable" profile="/usr/sb>
lut 05 21:13:25 grzesiekzxr kernel: perf: interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
lines 1-3/3 (END)
2). grzesiekzxr@grzesiekzxr:~$ ip link show ens5f5 | head -1
2: ens5f5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
3). grzesiekzxr@grzesiekzxr:~$ 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 noprefixroute
valid_lft forever preferred_lft forever
2: ens5f5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 20:cf:30:d0:44:90 brd ff:ff:ff:ff:ff:ff
altname enp4s0f5
3: wls1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 48:5d:60:38:a0:16 brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 10.10.0.245/24 brd 10.10.0.255 scope global dynamic noprefixroute wls1
valid_lft 15791sec preferred_lft 15791sec
inet6 fe80::9bf3:99e1:ddb1:dff3/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4).
[ 8.551591] ec_master: loading out-of-tree module taints kernel.
[ 8.551932] ec_master: module verification failed: signature and/or required key missing - tainting kernel
[ 8.585094] EtherCAT: Master driver 1.6.8 1.6.8.g2543cc5-1+27.2
[ 8.588193] EtherCAT: 1 master waiting for devices.
[ 8.615964] ec_generic: EtherCAT master generic Ethernet device module 1.6.8 1.6.8.g2543cc5-1+27.2
[ 8.615982] EtherCAT: Accepting 20:CF:30laugh0:44:90 as main device for master 0.
[ 8.615998] ec_generic: Binding socket to interface 2 (ens5f5).
[ 8.628532] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 8.851296] NET: Registered PF_QIPCRTR protocol family
[ 9.216918] jme 0000:04:00.5 ens5f5: Link is down
[ 10.623450] wls1: authenticate with fa:92:bf:2d:84:ad
[ 10.623474] wls1: 80 MHz not supported, disabling VHT
[ 10.637063] wls1: send auth to fa:92:bf:2d:84:ad (try 1/3)
[ 10.642346] wls1: authenticated
[ 10.644441] wls1: associate with fa:92:bf:2d:84:ad (try 1/3)
[ 10.652255] wls1: RX AssocResp from fa:92:bf:2d:84:ad (capab=0x1431 status=0 aid=3)
[ 10.652459] wls1: associated
[ 10.652573] ath: EEPROM regdomain: 0x8268
[ 10.652575] ath: EEPROM indicates we should expect a country code
[ 10.652576] ath: doing EEPROM country->regdmn map search
[ 10.652577] ath: country maps to regdmn code: 0x37
[ 10.652578] ath: Country alpha2 being used: PL
[ 10.652579] ath: Regpair used: 0x37
[ 10.652580] ath: regdomain 0x8268 dynamically updated by country element
[ 10.732760] wls1: Limiting TX power to 20 (20 - 0) dBm as advertised by fa:92:bf:2d:84:ad
[ 10.756660] IPv6: ADDRCONF(NETDEV_CHANGE): wls1: link becomes ready
[ 27.921396] systemd-journald[308]: File /var/log/journal/9eae89433bf9430392b319dc655b4150/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 312.070512] kauditd_printk_skb: 7 callbacks suppressed
[ 312.070518] audit: type=1400 audit(1770321540.504:19): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=1611 comm="cupsd" capability=12 capname="net_admin"
[ 1177.039546] perf: interrupt took too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
[ 1508.389389] perf: interrupt took too long (3140 > 3132), lowering kernel.perf_event_max_sample_rate to 63500
[ 1879.795443] perf: interrupt took too long (3927 > 3925), lowering kernel.perf_event_max_sample_rate to 50750
The most obviousand suprising me thing is that led closed to rj45 is not lit and not flashing while connect to OrientalMotor but when beckhoff is wired firstly led is lit and when comunication start is flashing what is what I expected.
Maybe I should try on another pc ?
Thanks a lot for Your patience.
Attachments:
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1266
- Thank you received: 442
06 Feb 2026 06:54 - 06 Feb 2026 07:19 #342530
by Hakan
Replied by Hakan on topic Cia402 no connection
The output in syslog, from dmesg, is very quiet.
Here is what it looks like when I start the ethercat master
You have these line
From this also it looks like your slaves don't come in contact with the ethercat master.
You have of course double checked that you have configured and are using the right network adapter.
Good idea to test with another PC. If you have multiple network adapters, you can try with another.
I saw in your output a message about ec_master tainting the kernel.
It's not an issue with secure boot? You had it running so I guess not.
Here is what it looks like when I start the ethercat master
[42492.117134] EtherCAT: Master driver 1.6.8 1.6.8.g2543cc5-1+27.2
[42492.117298] EtherCAT: 1 master waiting for devices.
[42492.126840] ec_generic: EtherCAT master generic Ethernet device module 1.6.8 1.6.8.g2543cc5-1+27.2
[42492.126872] EtherCAT: Accepting C4:62:37:06:66:54 as main device for master 0.
[42492.126889] ec_generic: Binding socket to interface 4 (enp2s0).
[42492.145537] EtherCAT 0: Starting EtherCAT-IDLE thread.
[42492.145587] EtherCAT 0: Link state of ecm0 changed to UP.
[42492.153437] EtherCAT 0: 4 slave(s) responding on main device. Re-scanning on next possibility.
[42492.153440] EtherCAT 0: Slave states on main device: PREOP.
[42492.153441] EtherCAT 0: Re-scanning now.
[42492.153530] EtherCAT 0: Scanning bus.
[42492.396908] EtherCAT 0: Bus scanning completed in 240 ms.
[42492.396914] EtherCAT 0: Using slave 0 as DC reference clock.You have these line
[ 8.628532] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 8.851296] NET: Registered PF_QIPCRTR protocol family
[ 9.216918] jme 0000:04:00.5 ens5f5: Link is downFrom this also it looks like your slaves don't come in contact with the ethercat master.
You have of course double checked that you have configured and are using the right network adapter.
Good idea to test with another PC. If you have multiple network adapters, you can try with another.
I saw in your output a message about ec_master tainting the kernel.
It's not an issue with secure boot? You had it running so I guess not.
Last edit: 06 Feb 2026 07:19 by Hakan.
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds