<html 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@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;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">We are using the unofficial patches using Debian Buster. All works fine when using the native driver e1000e.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">However for development -especially now when we can’t always go to the office where the lab computers are, we are using the same OS and stack but in a VM running on a mac using a Linksys USB to ethernet dongle.
Of course in this VM configuration I am using the generic driver. It seems that packets are being transmitted, but nothing is being received.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have in the past been able to do this without issue using both Debian Wheezy and Debian Stretch along with the Stable 1.5 branch of EtherLabs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Here is some data:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">$ ethercat master -v<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Master0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Phase: Idle<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Active: no<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Slaves: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Ethernet devices:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Main: 68:7f:74:36:c0:86 (attached)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Link: UP<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx frames: 43358<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx bytes: 2601480<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx frames: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx bytes: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx errors: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx frame rate [1/s]: 125 121 120<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx rate [KByte/s]: 7.3 7.1 7.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx frame rate [1/s]: 0 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx rate [KByte/s]: 0.0 0.0 0.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Common:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx frames: 43358<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx bytes: 2601480<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx frames: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx bytes: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Lost frames: 43358<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx frame rate [1/s]: 125 121 120<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Tx rate [KByte/s]: 7.3 7.1 7.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx frame rate [1/s]: 0 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Rx rate [KByte/s]: 0.0 0.0 0.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Loss rate [1/s]: 125 121 120<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Frame loss [%]: 100.0 100.0 100.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Distributed clocks:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Reference clock: None<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> DC reference time: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> Application time: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> 2000-01-01 00:00:00.000000000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">dmesg log:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319134.779721] EtherCAT: Master driver 1.5.2 0c011dc6dbc4+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319134.780007] EtherCAT: 1 master waiting for devices.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319134.786905] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 0c011dc6dbc4+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319134.786945] EtherCAT: Accepting 68:7F:74:36:C0:86 as main device for master 0.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319134.787100] ec_generic: Binding socket to interface 7 (enx687f7436c086).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319134.810399] EtherCAT 0: Starting EtherCAT-IDLE thread.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319152.221208] asix 3-2:1.0 enx687f7436c086: link up<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319152.221864] EtherCAT 0: Link state of ecm0 changed to UP.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319152.229820] EtherCAT WARNING 0: 1 datagram TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319153.231004] EtherCAT WARNING 0: 124 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[319154.230203] EtherCAT WARNING 0: 125 datagrams TIMED OUT!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The datagrams timed out message just keeps repeating.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any ideas?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Steven<o:p></o:p></span></p>
</div>
</body>
</html>