Olaf Holowenko | 28 Feb 11:23 2013
Picon

WG: r8169 driver for 2.6.38 kernel

Hi,

 

while trying the 2.6.37-r8169-driver (Master V 1.5.1, Ubuntu 12.04, RTAI 3.9) I also got a lot of timeouts, mismatches, and errors. I downgraded my system to 2.6.35 – and it works fine!

 

Just try to port the 2.6.35-driver!

 

Olaf

 

Von: etherlab-users-bounces-TgCWn71uKPpg9hUCZPvPmw@public.gmane.org [mailto:etherlab-users-bounces-TgCWn71uKPpg9hUCZPvPmw@public.gmane.org] Im Auftrag von Shahbaz Youssefi
Gesendet: Mittwoch, 27. Februar 2013 15:27
An: etherlab-users
Betreff: [etherlab-users] r8169 driver for 2.6.38 kernel

 

Hi,

I would like to ask whether anyone has the patch for r8169 driver for the 2.6.38 kernel? In the repository, up to 2.6.37 is supported and then jumped to 3.0.

2.6.38 is, until RTAI catches up with 3.*, the latest kernel supported by RTAI and it would be nice if we had ethercat drivers for it too.

I tried applying the diff between the orig and ethercat versions of the driver for 2.6.37, on the driver of 2.6.38 and fixed the conflicts, which were rather trivial. However, starting the ethercat master results in many timeouts, mismatches, errors and failures of all sorts, which leads me to believe that simply applying the diff to the newer driver hadn't been enough.

Even if not officially supported, perhaps someone here has already fixed the driver for his own use. In that case, would you please share it? If not, would the developers take (possibly small) time to come up with the driver?

Thank you,
Shahbaz

<div>

<div class="Section1">

<p class="MsoNormal"><span>Hi, <p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-GB">while trying the 2.6.37-r8169-driver (Master V 1.5.1,
Ubuntu 12.04, RTAI 3.9) I also got a lot of timeouts, mismatches, and errors. I
downgraded my system to 2.6.35 &ndash; and it works fine!<p></p></span></p>

<p class="MsoNormal"><span lang="EN-GB"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-GB">Just try to port the 2.6.35-driver!<p></p></span></p>

<p class="MsoNormal"><span lang="EN-GB"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-GB">Olaf<p></p></span></p>

<p class="MsoNormal"><span lang="EN-GB"><p>&nbsp;</p></span></p>

<div>

<div class="MsoNormal" align="center"><span>

</span></div>

<p class="MsoNormal"><span lang="EN-GB">Von:</span><span lang="EN-GB">
etherlab-users-bounces@...
[mailto:etherlab-users-bounces@...] <span>Im
Auftrag von </span></span><span>Shahbaz Youssefi<br><span>Gesendet:</span> Mittwoch, 27. Februar
2013 15:27<br><span>An:</span> etherlab-users<br><span>Betreff:</span> [etherlab-users] r8169
driver for 2.6.38 kernel</span><p></p></p>

</div>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<div>

<div>

<div>

<div>

<p class="MsoNormal"><span>Hi,<br><br>
I would like to ask whether anyone has the patch for r8169 driver for the
2.6.38 kernel? In the repository, up to 2.6.37 is supported and then jumped to
3.0.<p></p></span></p>

</div>

<p class="MsoNormal"><span>2.6.38 is, until RTAI
catches up with 3.*, the latest kernel supported by RTAI and it would be nice
if we had ethercat drivers for it too.<p></p></span></p>

</div>

<p class="MsoNormal"><span>I tried applying the diff
between the orig and ethercat versions of the driver for 2.6.37, on the driver
of 2.6.38 and fixed the conflicts, which were rather trivial. However, starting
the ethercat master results in many timeouts, mismatches, errors and failures
of all sorts, which leads me to believe that simply applying the diff to the
newer driver hadn't been enough.<p></p></span></p>

</div>

<p class="MsoNormal"><span>Even if not officially supported, perhaps someone here has already
fixed the driver for his own use. In that case, would you please share it? If
not, would the developers take (possibly small) time to come up with the
driver?<br><br>
Thank you,<br>
Shahbaz<p></p></span></p>

</div>

</div>

</div>
Shahbaz Youssefi | 27 Feb 15:27 2013
Picon

r8169 driver for 2.6.38 kernel

Hi,

I would like to ask whether anyone has the patch for r8169 driver for the 2.6.38 kernel? In the repository, up to 2.6.37 is supported and then jumped to 3.0.

2.6.38 is, until RTAI catches up with 3.*, the latest kernel supported by RTAI and it would be nice if we had ethercat drivers for it too.

I tried applying the diff between the orig and ethercat versions of the driver for 2.6.37, on the driver of 2.6.38 and fixed the conflicts, which were rather trivial. However, starting the ethercat master results in many timeouts, mismatches, errors and failures of all sorts, which leads me to believe that simply applying the diff to the newer driver hadn't been enough.

Even if not officially supported, perhaps someone here has already fixed the driver for his own use. In that case, would you please share it? If not, would the developers take (possibly small) time to come up with the driver?

Thank you,
Shahbaz
<div><div dir="ltr">
<div>
<div>
<div>Hi,<br><br>I would like to ask whether anyone has the patch for r8169 driver for the 2.6.38 kernel? In the repository, up to 2.6.37 is supported and then jumped to 3.0.<br><br>
</div>2.6.38 is, until RTAI catches up with 3.*, the latest kernel supported by RTAI and it would be nice if we had ethercat drivers for it too.<br><br>
</div>I tried applying the diff between the orig and ethercat versions of the driver for 2.6.37, on the driver of 2.6.38 and fixed the conflicts, which were rather trivial. However, starting the ethercat master results in many timeouts, mismatches, errors and failures of all sorts, which leads me to believe that simply applying the diff to the newer driver hadn't been enough.<br><br>
</div>Even if not officially supported, perhaps someone here has already fixed the driver for his own use. In that case, would you please share it? If not, would the developers take (possibly small) time to come up with the driver?<br><br>Thank you,<br>Shahbaz<br>
</div></div>
costa | 26 Feb 10:53 2013
Picon

Simulink Compiler Problem

Hello,

when I compile my simulink model I get thies error:

### Building model: /usr/local/matlab_R2009a/bin/glnx86/gmake -f model.mk  GENERATE_REPORT=0 EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0
-e   CC     rtw_wrapper.o
In file included from ./model.h:28,
                 from ./rtmodel.h:22,
                 from //opt/etherlab/rtw/include/rtw_data_interface.h:27,
                 from //opt/etherlab/rtw/src/rtw_wrapper.c:50:
//opt/etherlab/rtw/include/ecrt_support.h:8:18: warning: ecrt.h: Datei oder Verzeichnis nicht gefunden
In file included from ./model.h:28,
                 from ./rtmodel.h:22,
                 from //opt/etherlab/rtw/include/rtw_data_interface.h:27,
                 from //opt/etherlab/rtw/src/rtw_wrapper.c:50:
//opt/etherlab/rtw/include/ecrt_support.h:15: error: expected specifier-qualifier-list before ‘ec_direction_t’
//opt/etherlab/rtw/include/ecrt_support.h:73: warning: type defaults to ‘int’ in declaration of ‘ec_sync_info_t’
//opt/etherlab/rtw/include/ecrt_support.h:73: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
//opt/etherlab/rtw/include/ecrt_support.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gmake: *** [rtw_wrapper.o] Fehler 1
### Real-Time Workshop build procedure for model: 'model' aborted due to an error.

I use Matlab R2009a, etherlab 1.3-rc3.

Can someone tell me what I make wrong?

Thanks

Costa


<div><p>Hello,<br><br>when I compile my simulink model I get thies error:<br><br>### Building model: /usr/local/matlab_R2009a/bin/glnx86/gmake -f model.mk&nbsp; GENERATE_REPORT=0 EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0<br>-e&nbsp;&nbsp; CC&nbsp;&nbsp;&nbsp; &nbsp;rtw_wrapper.o<br>In file included from ./model.h:28,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ./rtmodel.h:22,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from //opt/etherlab/rtw/include/rtw_data_interface.h:27,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from //opt/etherlab/rtw/src/rtw_wrapper.c:50:<br>//opt/etherlab/rtw/include/ecrt_support.h:8:18: warning: ecrt.h: Datei oder Verzeichnis nicht gefunden<br>In file included from ./model.h:28,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ./rtmodel.h:22,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from //opt/etherlab/rtw/include/rtw_data_interface.h:27,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from //opt/etherlab/rtw/src/rtw_wrapper.c:50:<br>//opt/etherlab/rtw/include/ecrt_support.h:15: error: expected specifier-qualifier-list before &lsquo;ec_direction_t&rsquo;<br>//opt/etherlab/rtw/include/ecrt_support.h:73: warning: type defaults to &lsquo;int&rsquo; in declaration of &lsquo;ec_sync_info_t&rsquo;<br>//opt/etherlab/rtw/include/ecrt_support.h:73: error: expected &lsquo;;&rsquo;, &lsquo;,&rsquo; or &lsquo;)&rsquo; before &lsquo;*&rsquo; token<br>//opt/etherlab/rtw/include/ecrt_support.h:92: error: expected &lsquo;=&rsquo;, &lsquo;,&rsquo;, &lsquo;;&rsquo;, &lsquo;asm&rsquo; or &lsquo;__attribute__&rsquo; before &lsquo;*&rsquo; token<br>gmake: *** [rtw_wrapper.o] Fehler 1<br>### Real-Time Workshop build procedure for model: 'model' aborted due to an error.<br><br>I use Matlab R2009a, etherlab 1.3-rc3.<br><br>Can someone tell me what I make wrong?<br><br>Thanks<br><br>Costa<br><br><br></p></div>
Sebastien Blanchet | 22 Feb 10:58 2013
Picon

Virtual tty (EL6002) with ethercat in userspace ?

Hi,

I have successfully tested the tty example from ethercat master, but it is 
designed for a kernelspace cyclic task only.

How can I modify this example to use a Beckhoff EL6002 with my ethercat cyclic 
task in userspace ?

I think I may port examples/tty/serial.c to userspace, but in this case, how 
ec_tty.ko will dialog with my userspace task ?

regards,
--

-- 
sebastien

Graeme Foot | 22 Feb 00:23 2013

Linux device driver for Beckhoff CX2100-0004 power module

Hi,

 

We've just got ourselves a Beckhoff CX2020 computer with a CX2100-0004 power module to play with.  The power module requires a PCI device driver to access the network port (and LCD screen and nav buttons).

 

Has anyone had a go at a device driver for one of these modules yet?

 

 

Regards,

Graeme.

<div>

<div class="Section1">

<p class="MsoNormal"><span lang="EN-US">Hi,<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-US">We've just got ourselves a Beckhoff CX2020 computer with a CX2100-0004
power module to play with.&nbsp; The power module requires a PCI device driver
to access the network port (and LCD screen and nav buttons).<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-US">Has anyone had a go at a device driver for one of these modules yet?<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-US">Regards,<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">Graeme.<p></p></span></p>

</div>

</div>
babbittner | 15 Feb 21:28 2013
Picon

Recursion limits number of slaves

Due to the use of recursion, via ec_master_calc_topology_rec(), to scan the
bus, there is a limit to the number of slaves on the bus.  Actually, the limit
is on the depth of the tree.  This is due to the limited size of the kernel
stack (8K on ARM Cortex-A8).  If the limit is exceeded, the kernel will likely
crash due to stack overflow.  The call overhead associated with
ec_master_calc_topology_rec() is 48 bytes (on ARM Cortex-A8).  This allows for
no more than 170 recursive calls deep before stack overflow.

I did a quick hack to eliminate the recursion and support only a linear
topology.  I was able to see 1000 slaves on the bus.

This was discovered using Raz Ben Yehuda's excellent virtual slave tool and
hacks I applied thereto.

Thanks,
Bruno

<div>Due to the use of recursion, via ec_master_calc_topology_rec(), to scan the<br>
bus, there is a limit to the number of slaves on the bus.&nbsp; Actually, the limit<br>
is on the depth of the tree.&nbsp; This is due to the limited size of the kernel<br>
stack (8K on ARM Cortex-A8).&nbsp; If the limit is exceeded, the kernel will likely<br>
crash due to stack overflow.&nbsp; The call overhead associated with<br>
ec_master_calc_topology_rec() is 48 bytes (on ARM Cortex-A8).&nbsp; This allows for<br>
no more than 170 recursive calls deep before stack overflow.<br><br>
I did a quick hack to eliminate the recursion and support only a linear<br>
topology.&nbsp; I was able to see 1000 slaves on the bus.<br><br>
This was discovered using Raz Ben Yehuda's excellent virtual slave tool and<br>
hacks I applied thereto.<br><br>Thanks,<br>Bruno<br><br>
</div>
BOESEL Diego Fernandes | 15 Feb 08:29 2013
Picon

Graphical Interface for Rapid Integration

Hello,

 

I would like to know if there is any graphical interface for the Etherlab Master. I was expecting something like a tool that shows graphically what is attached in the bus, and where I can send commands/set bits/… graphically, for the purpose of rapid integration of the hardware.

 

Thank you in advance,

 

――――――――――――――――――――――――――――――――――――
Diego F. Boesel, M.Sc. (Technology)
R&D Engineer
diego.boesel-2IUEvRgHP0M@public.gmane.org

T    +41 41 672 75 12
F    +41 41 672 75 00
――――――――――――――――――――――――――――――――――――
CSEM Centre Suisse d’Electronique et de Microtechnique SA
Central Switzerland Center
Untere Gründlistr. 1  |   CH-6055 Alpnach Dorf
www.csem.ch
――――――――――――――――――――――――――――――――――――

 

<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello,<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would like to know if there is any graphical interface for the Etherlab Master. I was expecting something like a tool that shows graphically what is attached in the bus, and where I can send commands/set bits/&hellip; graphically,
 for the purpose of rapid integration of the hardware. <p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you in advance,<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span lang="EN-US">&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;<br></span><span lang="EN-US">Diego F</span><span>. Boesel, M.Sc. (Technology)
<br>
R&amp;D Engineer<br><a href="mailto:diego.boesel@..."><span>diego.boesel@...</span></a></span><span><br></span><span>T&nbsp;&nbsp;&nbsp; +41 41 672 75 12<br>
F&nbsp;&nbsp;&nbsp; +41 41 672 75 00<br></span><span>&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;<br></span><span>CSEM Centre Suisse d&rsquo;Electronique et de Microtechnique SA<br>
Central Switzerland Center<br>
Untere Gr&uuml;ndlistr. 1&nbsp; |&nbsp;&nbsp; CH-6055 Alpnach Dorf<br></span><span><a href="http://www.csem.ch/" title="http://www.csem.ch/"><span>www.csem.ch</span></a><br></span><span>&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;&#8213;</span><span><p></p></span></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
Gianluca Medini | 14 Feb 09:30 2013
Picon

Driver for NIC Broadcom BCM57780

Dear All, I'm evaluating a panel pc  equipped with BCM 57780; for this 
NIC the proper linux driver  should be tg3.ko; this wasn't ported in the 
main etherlab repository.
Have someone successfully made the changes to tg3.c in order to be used 
in RTai Ethercat ?

Regards
Gianluca Medini

-- 
Dott. Gianluca Medini
Eurosoft S.r.l.
Via Ettore Majorana, 40
Zona Industriale Fontanelle
Località CAPANNE
Montopoli Valdarno PI
ufficio (+39) 0571 261919
mobile : (+39) 335 7001588

Qualora questo messaggio fosse da Voi ricevuto per errore, vogliate cortesemente darcene notizia a mezzo
fax (oppure e-mail) e distruggere il messaggio stesso. Qualsiasi utilizzo e/o conservazione dei dati
ricevuti per errore, costituisce violazione delle disposizioni del D.Lgs 196/03 sulla tutela dei Dati Personali.

Attachment (gianluca.vcf): text/x-vcard, 276 bytes
Dear All, I'm evaluating a panel pc  equipped with BCM 57780; for this 
NIC the proper linux driver  should be tg3.ko; this wasn't ported in the 
main etherlab repository.
Have someone successfully made the changes to tg3.c in order to be used 
in RTai Ethercat ?

Regards
Gianluca Medini

--

-- 
Dott. Gianluca Medini
Eurosoft S.r.l.
Via Ettore Majorana, 40
Zona Industriale Fontanelle
Località CAPANNE
Montopoli Valdarno PI
ufficio (+39) 0571 261919
mobile : (+39) 335 7001588

Qualora questo messaggio fosse da Voi ricevuto per errore, vogliate cortesemente darcene notizia a mezzo
fax (oppure e-mail) e distruggere il messaggio stesso. Qualsiasi utilizzo e/o conservazione dei dati
ricevuti per errore, costituisce violazione delle disposizioni del D.Lgs 196/03 sulla tutela dei Dati Personali.

V.I.Sluiter | 12 Feb 09:33 2013
Picon
Picon

Etherlab 2.0 installation results

Thanks Juergen,
I completely forgot / looked over installling the ethercat master, I erroneously thought it was included
in the terminal commands in the manual.
Of course I immediately downloaded the sources (mercurial, hg clone
http://etherlabmaster.hg.sourceforge.net/hgweb/etherlabmaster/etherlabmaster, then hg update tip).
After installing automake and related tools I was able to generate the .configure file, but configuring
gives me the following error:

<snip>
checking for Linux kernel sources... /usr/src/linux-headers-3.5.0-17-generic (Kernel 3.5)
checking for Linux modules installation directory... ethercat
checking for kernel for 8139too driver... configure: error: kernel 3.5 not available for 8139too driver!
victor <at> victor-realtime ~/sources/etherlabmaster $
</snip>

I don't know why the 8139too driver is needed, I'm using a 3COM (running with 3c59x module according to
lsmod) and an Intel-card in my PC. I do have an onboard Ethernet port, but that's switched off in the BIOS and
doesn't show up when running lspci. As far as I can tell the 8139too driver is deprecated in all 3.x kernel
versions. Does the etherlab master support a kernel > 2.6?
Can anyone suggest me how to continue? On which distribution are you installing your EtherLAB system? I
used the latest Linux Mint LXDE because that's what I work with at home; apparently kernel 3.5 is too new or
something is wrong with the detection of network cards?

Greetings,
Victor

V.I.Sluiter | 11 Feb 11:50 2013
Picon
Picon

Etherlab 2.0 installation results

Hello All,

I’m a new Etherlab user, and trying to get an Etherlab setup working. I’ve installed Etherlab 2, and would like to share two issues I found:

1)      During the installation of commoncpp I got an error  ‘mkfifo not found’. After googling a bit I found this thread: http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2012-May/021159.html . After inserting #include <sys/stat.h> in applog.h I could compile the sources.

2)      My other issue is not solved yet: somehow I get an error that ecrt.h cannot be found while building my model; Have I forgotten to install something? You can see the log here: http://pastebin.com/apC99nCx  

Greetings,

Victor

 

<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello All,<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">I&rsquo;m a new Etherlab user, and trying to get an Etherlab setup working. I&rsquo;ve installed Etherlab 2, and would like to share two issues I found:<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>1)<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><span lang="EN-US">During the installation of commoncpp I got an error &nbsp;&lsquo;mkfifo not found&rsquo;. After googling a bit I found this thread:
<a href="http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2012-May/021159.html">
http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2012-May/021159.html</a> . After inserting #include &lt;sys/stat.h&gt; in applog.h I could compile the sources.<p></p></span></p>
<p class="MsoListParagraph"><span lang="EN-US"><span>2)<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><span lang="EN-US">My other issue is not solved yet: somehow I get an error that ecrt.h cannot be found while building my model; Have I forgotten to install something? You can see the log here:
<a href="http://pastebin.com/apC99nCx">http://pastebin.com/apC99nCx</a> &nbsp;<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">Greetings,<p></p></span></p>
<p class="MsoNormal"><span lang="EN-US">Victor</span><span lang="EN"><p></p></span></p>
<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>
</div>
</div>
BOESEL Diego Fernandes | 7 Feb 16:01 2013
Picon

ecrt_slave_config_state and ecrt_slave_config_pdos undefined

Hello all,

I am trying to install Etherlab master in a newer Linux kernel with RT-Preemption: 3.4.0-rt7 #1 SMP PREEMPT RT.

My Etherlab version is 1.5.1

When I do
#make modules
the final messages will be:

  CC [M]  /usr/local/ethercat-1.5.1/master/soe_errors.o
  CC [M]  /usr/local/ethercat-1.5.1/master/soe_request.o
  CC [M]  /usr/local/ethercat-1.5.1/master/sync.o
  CC [M]  /usr/local/ethercat-1.5.1/master/sync_config.o
  CC [M]  /usr/local/ethercat-1.5.1/master/voe_handler.o
  CC [M]  /usr/local/ethercat-1.5.1/master/ethernet.o
  LD [M]  /usr/local/ethercat-1.5.1/master/ec_master.o
  Building modules, stage 2.
  MODPOST 3 modules
WARNING: "ecrt_slave_config_state" [/usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko] undefined!
WARNING: "ecrt_slave_config_pdos" [/usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko] undefined!
  CC      /usr/local/ethercat-1.5.1/devices/ec_generic.mod.o
  LD [M]  /usr/local/ethercat-1.5.1/devices/ec_generic.ko
  CC      /usr/local/ethercat-1.5.1/examples/mini/ec_mini.mod.o
  LD [M]  /usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko
  CC      /usr/local/ethercat-1.5.1/master/ec_master.mod.o
  LD [M]  /usr/local/ethercat-1.5.1/master/ec_master.ko


And from this point on, everything that needs "ecrt_slave_config_state" and "ecrt_slave_config_pdos" will not work anymore, e.g., the mini example.

Before the
#make modules
I do
#./configure --enable-generic --enable-8139too=no
#make

Does anyone know where the problem could be?
Thanks in advance
<div>
<div>Hello all,<br><br>
I am trying to install Etherlab master in a newer Linux kernel with RT-Preemption: 3.4.0-rt7 #1 SMP PREEMPT RT.
<br><br>
My Etherlab version is 1.5.1<br><br>
When I do<br>
#make modules<br>
the final messages will be:<br><br>
&nbsp; CC [M]&nbsp; /usr/local/ethercat-1.5.1/master/soe_errors.o<br>
&nbsp; CC [M]&nbsp; /usr/local/ethercat-1.5.1/master/soe_request.o<br>
&nbsp; CC [M]&nbsp; /usr/local/ethercat-1.5.1/master/sync.o<br>
&nbsp; CC [M]&nbsp; /usr/local/ethercat-1.5.1/master/sync_config.o<br>
&nbsp; CC [M]&nbsp; /usr/local/ethercat-1.5.1/master/voe_handler.o<br>
&nbsp; CC [M]&nbsp; /usr/local/ethercat-1.5.1/master/ethernet.o<br>
&nbsp; LD [M]&nbsp; /usr/local/ethercat-1.5.1/master/ec_master.o<br>
&nbsp; Building modules, stage 2.<br>
&nbsp; MODPOST 3 modules<br>
WARNING: "ecrt_slave_config_state" [/usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko] undefined!<br>
WARNING: "ecrt_slave_config_pdos" [/usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko] undefined!<br>
&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/ethercat-1.5.1/devices/ec_generic.mod.o<br>
&nbsp; LD [M]&nbsp; /usr/local/ethercat-1.5.1/devices/ec_generic.ko<br>
&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/ethercat-1.5.1/examples/mini/ec_mini.mod.o<br>
&nbsp; LD [M]&nbsp; /usr/local/ethercat-1.5.1/examples/mini/ec_mini.ko<br>
&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/ethercat-1.5.1/master/ec_master.mod.o<br>
&nbsp; LD [M]&nbsp; /usr/local/ethercat-1.5.1/master/ec_master.ko<br><br><br>
And from this point on, everything that needs "ecrt_slave_config_state" and "ecrt_slave_config_pdos" will not work anymore, e.g., the mini example.
<br><br>
Before the<br>
#make modules<br>
I do<br>
#./configure --enable-generic --enable-8139too=no<br>
#make<br><br>
Does anyone know where the problem could be?<br>
Thanks in advance<br>
</div>
</div>

Gmane