<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I am having problems with the startup of the CCAT driver (both v12 to the new v13).  When I boot up the driver is loading (ccat shows via lsmod).  When I start the master it swaps over to ec_ccat, but sometimes the master never begins communicating
 on the bus.  In these situations I can often remove and reinsert the ec_ccat module and the master will start up.  Occasionally I get a hard lockup of the system (Alt-SysRq-B won’t reboot) when trying to unload or reload the module, but that’s possibly unrelated. 
 I’m looking for solutions to both problems (startup stall and hard lockups).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">System details:<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">Beckhoff CX5130<o:p></o:p></p>
<p class="MsoNormal">                Ubuntu 14.04 (Server) with ubuntu-desktop  installed<o:p></o:p></p>
<p class="MsoNormal">                Kernel 3.16.7 with RTAI 4.1 ipipe patch<o:p></o:p></p>
<p class="MsoNormal">                Stable 1.5.2 Etherlab with recent CCAT v0.13 bundle<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">Some changes that are included in the bundle I’ve already posted<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am accessing the master via the user space library and using the LXRT library for accessing RTAI.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">At this point I’m looking for suggestions on how to try to establish the root cause of these problems.  I don’t have much experience debugging kernel crashes, and what experience I do have is 15 years out of date.  I have no prior exposure
 to the linux network subsystem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help would be appreciated.  Below are snippets of the syslog around various interesting conditions.  Let me know if I can provide any other possibly useful data.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">-Scott Tillman<o:p></o:p></p>
<p class="MsoPlainText">Advisory Software Engineer<o:p></o:p></p>
<p class="MsoPlainText">Bell + Howell<o:p></o:p></p>
<p class="MsoPlainText">919-767-6745<o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I know so far:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I occasionally see this constantly repeating in my syslog during the stalled state:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 21 10:58:03 ubuntu kernel: [   17.184386] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 21 10:58:03 ubuntu kernel: [   17.237043] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 21 10:58:03 ubuntu kernel: [   17.289702] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 21 10:58:03 ubuntu kernel: [   17.342599] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">etc.  This continues until I rmmod ec_ccat.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Relevant logs on initial startup try in stalled state:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu dhclient: DHCPDISCOVER on CX5130_x001 to 255.255.255.255 port 67 interval 3 (xid=0x730db6c3)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.476197] EtherCAT: Master driver 1.5.2 71593adce088+<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.481558] EtherCAT 0: Registering RTDM device EtherCAT.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.481586] EtherCAT: 1 master waiting for devices.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu avahi-daemon[623]: Interface CX5130_ebus.IPv6 no longer relevant for mDNS.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu avahi-daemon[623]: Leaving mDNS multicast group on interface CX5130_ebus.IPv6 with address fe80::201:5ff:fe1a:d56d.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu avahi-daemon[623]: Withdrawing address record for fe80::201:5ff:fe1a:d56d on CX5130_ebus.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu avahi-daemon[623]: Withdrawing workstation service for CX5130_ebus.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu NetworkManager[964]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/CX5130_ebus, iface: CX5130_ebus)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.603567] ec_ccat: registered ec_ccat as gpio chip with #12 GPIOs.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.603770] EtherCAT: Accepting 00:01:05:1A:D5:6D as main device for master 0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.603794] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.603846] (unregistered net_device): NIC Link is Up<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.603870] EtherCAT 0: Link state of ecm0 changed to UP.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.608008] ec_ccat: registered ccat_update0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.608031] ec_ccat: ccat_sram_probe: 0x0016 rev: 0x0000<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:58 ubuntu kernel: [   12.655994] EtherCAT WARNING 0: 1 datagram TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:59 ubuntu NetworkManager[964]: <warn> error monitoring device for netlink events: error processing netlink message: Object busy<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:59 ubuntu avahi-daemon[623]: Joining mDNS multicast group on interface CX5130_x001.IPv6 with address fe80::201:5ff:fe1d:7dac.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:59 ubuntu avahi-daemon[623]: New relevant interface CX5130_x001.IPv6 for mDNS.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:59 ubuntu avahi-daemon[623]: Registering new address record for fe80::201:5ff:fe1d:7dac on CX5130_x001.*.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:25:59 ubuntu kernel: [   13.706520] EtherCAT WARNING 0: 20 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:00 ubuntu kernel: [   14.748575] EtherCAT WARNING 0: 20 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:01 ubuntu dbus[443]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:01 ubuntu dbus[443]: [system] Successfully activated service 'org.freedesktop.UPower'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:01 ubuntu dhclient: DHCPDISCOVER on CX5130_x001 to 255.255.255.255 port 67 interval 5 (xid=0x730db6c3)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:02 ubuntu kernel: [   15.790895] EtherCAT WARNING 0: 20 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:02 ubuntu kernel: [   15.893849] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:02 ubuntu kernel: [   15.946642] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:26:02 ubuntu kernel: [   16.000730] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">At this time the ‘ethercat master’ command returns something like this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Master0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">  Phase: Idle<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">  Active: no<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">  Slaves: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">  Ethernet devices:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">    Main: 00:01:05:1a:d5:6d (attached)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Link: UP<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx frames:   63<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx bytes:    3780<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx frames:   0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx bytes:    0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx errors:   1294<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx frame rate [1/s]:      0      0      0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx rate [KByte/s]:      0.0    0.0    0.1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx frame rate [1/s]:      0      0      0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx rate [KByte/s]:      0.0    0.0    0.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">    Common:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx frames:   63<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx bytes:    3780<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx frames:   0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx bytes:    0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Lost frames: 63<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx frame rate [1/s]:      0      0      0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Tx rate [KByte/s]:      0.0    0.0    0.1<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx frame rate [1/s]:      0      4   2405<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Rx rate [KByte/s]:      0.0    4.7 1455.5<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Loss rate [1/s]:          0      0      0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">      Frame loss [%]:         0.0  100.0  100.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">  Distributed clocks:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">    Reference clock: None<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">    Application time: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">                      2000-01-01 00:00:00.000000000<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On an unsuccessful unload/reload of ec_ccat:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:33 ubuntu kernel: [  287.196371] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:33 ubuntu kernel: [  287.249216] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:33 ubuntu kernel: [  287.301650] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:33 ubuntu kernel: [  287.301675] EtherCAT 0: Releasing main device 00:01:05:1A:D5:6D.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.382320] ec_ccat: registered ec_ccat as gpio chip with #12 GPIOs.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.382606] EtherCAT: Accepting 00:01:05:1A:D5:6D as main device for master 0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.382624] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.382691] (unregistered net_device): NIC Link is Up<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.382715] EtherCAT 0: Link state of ecm0 changed to UP.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.384380] EtherCAT WARNING 0: 8 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.386028] ec_ccat: registered ccat_update0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:40 ubuntu kernel: [  293.386073] ec_ccat: ccat_sram_probe: 0x0016 rev: 0x0000<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:41 ubuntu kernel: [  294.431521] EtherCAT WARNING 0: 20 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:42 ubuntu kernel: [  295.472201] EtherCAT WARNING 0: 20 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:43 ubuntu kernel: [  296.511475] EtherCAT WARNING 0: 20 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:43 ubuntu kernel: [  296.669281] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:43 ubuntu kernel: [  296.721893] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:30:43 ubuntu kernel: [  296.774468] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On a successful unload and reload of ec_ccat:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:34 ubuntu kernel: [  408.038227] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:34 ubuntu kernel: [  408.090745] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:34 ubuntu kernel: [  408.143279] (unregistered net_device): BUG! Tx Ring full when queue awake!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:34 ubuntu kernel: [  408.188016] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:34 ubuntu kernel: [  408.188049] EtherCAT 0: Releasing main device 00:01:05:1A:D5:6D.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.085382] ec_ccat: registered ec_ccat as gpio chip with #12 GPIOs.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.085704] EtherCAT: Accepting 00:01:05:1A:D5:6D as main device for master 0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.085726] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.085788] (unregistered net_device): NIC Link is Up<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.085809] EtherCAT 0: Link state of ecm0 changed to UP.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.086907] ec_ccat: registered ccat_update0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.086995] ec_ccat: ccat_sram_probe: 0x0016 rev: 0x0000<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.090003] EtherCAT WARNING 0: 2 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.090014] EtherCAT WARNING 0: 1 datagram UNMATCHED!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.094116] EtherCAT 0: 14 slave(s) responding on main device.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.094128] EtherCAT 0: Slave states on main device: PREOP.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:37 ubuntu kernel: [  411.094226] EtherCAT 0: Scanning bus.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.698595] EtherCAT 0: Bus scanning completed in 1604 ms.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.698606] EtherCAT 0: Using slave 0 as DC reference clock.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.700210] EtherCAT: Requesting master 0...<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.700226] EtherCAT: Successfully requested master 0.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.709429] EtherCAT 0: Domain0: Logical address 0x00000000, 114 byte, expected working counter 32.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.709440] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 114 byte, type LRW.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.709833] EtherCAT 0: Master thread exited.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.709858] EtherCAT 0: Starting EtherCAT-OP thread.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.710010] EtherCAT WARNING 0: 1 datagram TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.742278] EtherCAT WARNING 0: No app_time received up to now, but master already active.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.784239] EtherCAT 0: Domain 0: Working counter changed to 1/32.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.895474] EtherCAT WARNING 0-2: Slave does not support changing the PDO mapping!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  412.895484] EtherCAT WARNING 0-2: Currently mapped PDO entries: 0x7010:01/1 0x7010:02/1 0x7010:03/1 0x7010:04/1 0x0000:00/4 0x0000:00/8
 0x7010:11/32. Entries to map: 0x7010:01/1 0x7010:02/1 0x7010:03/1 0x7010:04/1 0x0000:00/12 0x7010:11/32<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  413.102650] EtherCAT WARNING 0-3: Slave does not support changing the PDO mapping!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:39 ubuntu kernel: [  413.102660] EtherCAT WARNING 0-3: Currently mapped PDO entries: 0x6000:01/1 0x6000:02/1 0x6000:03/2 0x6000:05/2 0x6000:07/1 0x0000:00/1
 0x0000:00/6 0x1800:07/1 0x1800:09/1 0x6000:11/16. Entries to map: 0x6000:01/1 0x6000:02/1 0x6000:03/2 0x6000:05/2 0x6000:07/1 0x0000:01/1 0x0000:02/6 0x1800:07/1 0x1800:09/1 0x6000:11/16<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:40 ubuntu kernel: [  413.714330] EtherCAT WARNING 0: 6 datagrams UNMATCHED!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:40 ubuntu kernel: [  413.715135] EtherCAT WARNING: Datagram ffff880096230d98 (domain0-0-main) was SKIPPED 6 times.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:40 ubuntu kernel: [  413.787102] EtherCAT 0: Domain 0: 7 working counter changes - now 13/32.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:40 ubuntu kernel: [  414.508889] EtherCAT 0: Slave states on main device: OP.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"">Oct 22 23:32:41 ubuntu kernel: [  414.792978] EtherCAT 0: Domain 0: 5 working counter changes - now 21/32.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am aware of the PDO mapping warnings displayed (this system happened to have a new type of slice), but the stalls were occurring well before I added that device’s support, plus the stalls are before any comms with the slaves anyway.<o:p></o:p></p>
</div>
</body>
</html>