rothgaenger | 2 May 23:06 2013

WARNINGS: "Working counter changed" and "datagram UNMATCHED"


Hello everybody!

I am trying to build an etherlab-application based on the  
user-example. I modified the source code for my bus configuration.  
After compiling and running the program I received the following output:

Configuring PDOs...
Activating master...
Starting timer...
Started.
5 slave(s).
AL states: 0x02.
Link is up.
Domain1: WC 1.
Domain1: State 1.
Domain1: WC 4.
Domain1: WC 5.
Domain1: WC 6.
Domain1: State 2.
AL states: 0x08.
Domain1: WC 0.
Domain1: State 0.
Domain1: WC 6.
Domain1: State 2.
Domain1: WC 0.
Domain1: State 0.
Domain1: WC 6.
Domain1: State 2.

(Continue reading)

Ian Norton | 2 May 12:07 2013

e1000e

Hi,

I'm trying to build the e1000e driver, but got the following errors when doing "make all modules".
Can you help please?

[root <at> localhost ethercat-1.5.0]# ./configure --enable-e1000e
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking for Linux kernel sources... /usr/src/kernels/2.6.32-358.el6.i686 (Kernel 2.6.32)
checking for Linux modules installation directory... ethercat
checking for kernel for 8139too driver... 2.6.32
checking for kernel for e1000e driver... 2.6.32
checking for RTAI path... not specified.
configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Kbuild
config.status: creating Makefile
config.status: creating devices/Kbuild
config.status: creating devices/Makefile
config.status: creating devices/e1000/Kbuild
config.status: creating devices/e1000/Makefile
config.status: creating devices/e1000e/Kbuild
config.status: creating devices/e1000e/Makefile
config.status: creating ethercat.spec
config.status: creating examples/Kbuild
config.status: creating examples/Makefile
config.status: creating examples/dc_rtai/Kbuild
config.status: creating examples/dc_rtai/Makefile
config.status: creating examples/dc_user/Makefile
config.status: creating examples/mini/Kbuild
config.status: creating examples/mini/Makefile
config.status: creating examples/rtai/Kbuild
config.status: creating examples/rtai/Makefile
config.status: creating examples/tty/Kbuild
config.status: creating examples/tty/Makefile
config.status: creating examples/user/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating m4/Makefile
config.status: creating master/Kbuild
config.status: creating master/Makefile
config.status: creating script/Makefile
config.status: creating script/ethercat.service
config.status: creating script/ethercatctl
config.status: creating script/init.d/Makefile
config.status: creating script/init.d/ethercat
config.status: creating script/sysconfig/Makefile
config.status: creating tool/Makefile
config.status: creating tty/Kbuild
config.status: creating tty/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
[root <at> localhost ethercat-1.5.0]# make all modules
make  all-recursive
make[1]: Entering directory `/home/mcs/ethercat-1.5.0'
Making all in devices
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/devices'
make  all-recursive
make[3]: Entering directory `/home/mcs/ethercat-1.5.0/devices'
Making all in e1000
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000'
make  all-am
make[5]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000'
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000'
Making all in e1000e
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
make  all-am
make[5]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'
make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'
Making all in include
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/include'
Making all in master
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/master'
make  all-am
make[3]: Entering directory `/home/mcs/ethercat-1.5.0/master'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/master'
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/master'
Making all in script
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/script'
make  all-recursive
make[3]: Entering directory `/home/mcs/ethercat-1.5.0/script'
Making all in init.d
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script/init.d'
make  all-am
make[5]: Entering directory `/home/mcs/ethercat-1.5.0/script/init.d'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/script/init.d'
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script/init.d'
Making all in sysconfig
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script/sysconfig'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script/sysconfig'
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script'
make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/script'
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/script'
Making all in tool
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/tool'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/tool'
Making all in lib
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/lib'
Making all in examples
make[2]: Entering directory `/home/mcs/ethercat-1.5.0/examples'
make  all-recursive
make[3]: Entering directory `/home/mcs/ethercat-1.5.0/examples'
Making all in dc_user
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples/dc_user'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples/dc_user'
Making all in user
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples/user'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples/user'
make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'
make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'
make[2]: Entering directory `/home/mcs/ethercat-1.5.0'
make[2]: Leaving directory `/home/mcs/ethercat-1.5.0'
make[1]: Leaving directory `/home/mcs/ethercat-1.5.0'
make -C "/usr/src/kernels/2.6.32-358.el6.i686" M="/home/mcs/ethercat-1.5.0" modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.i686'
  CC [M]  /home/mcs/ethercat-1.5.0/devices/e1000e/82571-2.6.32-ethercat.o
  CC [M]  /home/mcs/ethercat-1.5.0/devices/e1000e/es2lan-2.6.32-ethercat.o
  CC [M]  /home/mcs/ethercat-1.5.0/devices/e1000e/ethtool-2.6.32-ethercat.o
  CC [M]  /home/mcs/ethercat-1.5.0/devices/e1000e/ich8lan-2.6.32-ethercat.o
  CC [M]  /home/mcs/ethercat-1.5.0/devices/e1000e/lib-2.6.32-ethercat.o
  CC [M]  /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.o
/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c: In function ‘e1000_put_txbuf’:
/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:593: error: implicit declaration of function ‘skb_dma_unmap’

/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c: In function ‘e1000_tx_map’:
/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4011: error: implicit declaration of function ‘skb_dma_map’

/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4017: error: ‘struct skb_shared_info’ has no member named ‘dma_maps’

/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4027: error: ‘struct skb_shared_info’ has no member named ‘dma_head’

make[4]: *** [/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.o] Error 1
make[3]: *** [/home/mcs/ethercat-1.5.0/devices/e1000e] Error 2
make[2]: *** [/home/mcs/ethercat-1.5.0/devices] Error 2
make[1]: *** [_module_/home/mcs/ethercat-1.5.0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.i686'
make: *** [modules] Error 2
[root <at> localhost ethercat-1.5.0]#

regards
Ian


************************************************************

DISCLAIMER:

This email and any attachments are confidential to the intended recipient and may also be privileged. For those other than the recipient any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on such information is prohibited and may be unlawful. If you are not the intended recipient please delete it from your system and notify the sender immediately by telephoning +44(0) 1234 754978 or by immediate reply via e-mail to the Sender.

Should the content of this Email, including any attachments, require an Export Licence, this shall have been registered in compliance with export controls laid down by the UK Export Control Organisation, which forms part of the UK Department for Business, Innovation and Skills (BIS).

Emails and other electronic communication with Cranfield Aerospace may be monitored.

Thank you.

Cranfield Aerospace Limited Registered in England No. 2415720 Registered Office: Cranfield University, Cranfield, Beds, MK43 0AL

Updated 14-July-2010



Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com

<div>

<p>Hi,
</p>

<p>I'm trying to build the e1000e driver, but got the following errors when doing "make all modules".

<br>Can you help please?
</p>

<p>[root <at> localhost ethercat-1.5.0]# ./configure --enable-e1000e

<br>checking for a BSD-compatible install... /usr/bin/install -c

<br>checking whether build environment is sane... yes

<br>checking for a thread-safe mkdir -p... /bin/mkdir -p

<br>checking for gawk... gawk

<br>checking whether make sets $(MAKE)... yes

<br>checking for g++... g++

<br>checking for C++ compiler default output file name... a.out

<br>checking whether the C++ compiler works... yes

<br>checking whether we are cross compiling... no

<br>checking for suffix of executables... 

<br>checking for suffix of object files... o

<br>checking whether we are using the GNU C++ compiler... yes

<br>checking whether g++ accepts -g... yes

<br>checking for style of include used by make... GNU

<br>checking dependency style of g++... gcc3

<br>checking build system type... i686-pc-linux-gnu

<br>checking host system type... i686-pc-linux-gnu

<br>checking for gcc... gcc

<br>checking whether we are using the GNU C compiler... yes

<br>checking whether gcc accepts -g... yes

<br>checking for gcc option to accept ISO C89... none needed

<br>checking dependency style of gcc... gcc3

<br>checking for a sed that does not truncate output... /bin/sed

<br>checking for grep that handles long lines and -e... /bin/grep

<br>checking for egrep... /bin/grep -E

<br>checking for fgrep... /bin/grep -F

<br>checking for ld used by gcc... /usr/bin/ld

<br>checking if the linker (/usr/bin/ld) is GNU ld... yes

<br>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

<br>checking the name lister (/usr/bin/nm -B) interface... BSD nm

<br>checking whether ln -s works... yes

<br>checking the maximum length of command line arguments... 1966080

<br>checking whether the shell understands some XSI constructs... yes

<br>checking whether the shell understands "+="... yes

<br>checking for /usr/bin/ld option to reload object files... -r

<br>checking for objdump... objdump

<br>checking how to recognize dependent libraries... pass_all

<br>checking for ar... ar

<br>checking for strip... strip

<br>checking for ranlib... ranlib

<br>checking command to parse /usr/bin/nm -B output from gcc object... ok

<br>checking how to run the C preprocessor... gcc -E

<br>checking for ANSI C header files... yes

<br>checking for sys/types.h... yes

<br>checking for sys/stat.h... yes

<br>checking for stdlib.h... yes

<br>checking for string.h... yes

<br>checking for memory.h... yes

<br>checking for strings.h... yes

<br>checking for inttypes.h... yes

<br>checking for stdint.h... yes

<br>checking for unistd.h... yes

<br>checking for dlfcn.h... yes

<br>checking whether we are using the GNU C++ compiler... (cached) yes

<br>checking whether g++ accepts -g... (cached) yes

<br>checking dependency style of g++... (cached) gcc3

<br>checking how to run the C++ preprocessor... g++ -E

<br>checking for objdir... .libs

<br>checking if gcc supports -fno-rtti -fno-exceptions... no

<br>checking for gcc option to produce PIC... -fPIC -DPIC

<br>checking if gcc PIC flag -fPIC -DPIC works... yes

<br>checking if gcc static flag -static works... no

<br>checking if gcc supports -c -o file.o... yes

<br>checking if gcc supports -c -o file.o... (cached) yes

<br>checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes

<br>checking whether -lc should be explicitly linked in... no

<br>checking dynamic linker characteristics... GNU/Linux ld.so

<br>checking how to hardcode library paths into programs... immediate

<br>checking whether stripping libraries is possible... yes

<br>checking if libtool supports shared libraries... yes

<br>checking whether to build shared libraries... yes

<br>checking whether to build static libraries... yes

<br>checking for ld used by g++... /usr/bin/ld

<br>checking if the linker (/usr/bin/ld) is GNU ld... yes

<br>checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

<br>checking for g++ option to produce PIC... -fPIC -DPIC

<br>checking if g++ PIC flag -fPIC -DPIC works... yes

<br>checking if g++ static flag -static works... no

<br>checking if g++ supports -c -o file.o... yes

<br>checking if g++ supports -c -o file.o... (cached) yes

<br>checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

<br>checking dynamic linker characteristics... GNU/Linux ld.so

<br>checking how to hardcode library paths into programs... immediate

<br>checking whether gcc and cc understand -c and -o together... yes

<br>checking for Linux kernel sources... /usr/src/kernels/2.6.32-358.el6.i686 (Kernel 2.6.32)

<br>checking for Linux modules installation directory... ethercat

<br>checking for kernel for 8139too driver... 2.6.32

<br>checking for kernel for e1000e driver... 2.6.32

<br>checking for RTAI path... not specified.

<br>configure: creating ./config.status

<br>config.status: creating Doxyfile

<br>config.status: creating Kbuild

<br>config.status: creating Makefile

<br>config.status: creating devices/Kbuild

<br>config.status: creating devices/Makefile

<br>config.status: creating devices/e1000/Kbuild

<br>config.status: creating devices/e1000/Makefile

<br>config.status: creating devices/e1000e/Kbuild

<br>config.status: creating devices/e1000e/Makefile

<br>config.status: creating ethercat.spec

<br>config.status: creating examples/Kbuild

<br>config.status: creating examples/Makefile

<br>config.status: creating examples/dc_rtai/Kbuild

<br>config.status: creating examples/dc_rtai/Makefile

<br>config.status: creating examples/dc_user/Makefile

<br>config.status: creating examples/mini/Kbuild

<br>config.status: creating examples/mini/Makefile

<br>config.status: creating examples/rtai/Kbuild

<br>config.status: creating examples/rtai/Makefile

<br>config.status: creating examples/tty/Kbuild

<br>config.status: creating examples/tty/Makefile

<br>config.status: creating examples/user/Makefile

<br>config.status: creating include/Makefile

<br>config.status: creating lib/Makefile

<br>config.status: creating m4/Makefile

<br>config.status: creating master/Kbuild

<br>config.status: creating master/Makefile

<br>config.status: creating script/Makefile

<br>config.status: creating script/ethercat.service

<br>config.status: creating script/ethercatctl

<br>config.status: creating script/init.d/Makefile

<br>config.status: creating script/init.d/ethercat

<br>config.status: creating script/sysconfig/Makefile

<br>config.status: creating tool/Makefile

<br>config.status: creating tty/Kbuild

<br>config.status: creating tty/Makefile

<br>config.status: creating config.h

<br>config.status: config.h is unchanged

<br>config.status: executing depfiles commands

<br>config.status: executing libtool commands

<br>[root <at> localhost ethercat-1.5.0]# make all modules

<br>make&nbsp; all-recursive

<br>make[1]: Entering directory `/home/mcs/ethercat-1.5.0'

<br>Making all in devices

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/devices'

<br>make&nbsp; all-recursive

<br>make[3]: Entering directory `/home/mcs/ethercat-1.5.0/devices'

<br>Making all in e1000

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000'

<br>make&nbsp; all-am

<br>make[5]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000'

<br>make[5]: Nothing to be done for `all-am'.

<br>make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000'

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000'

<br>Making all in e1000e

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000e'

<br>make&nbsp; all-am

<br>make[5]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000e'

<br>make[5]: Nothing to be done for `all-am'.

<br>make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000e'

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000e'

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices'

<br>make[4]: Nothing to be done for `all-am'.

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'

<br>make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'

<br>Making all in include

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/include'

<br>make[2]: Nothing to be done for `all'.

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/include'

<br>Making all in master

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/master'

<br>make&nbsp; all-am

<br>make[3]: Entering directory `/home/mcs/ethercat-1.5.0/master'

<br>make[3]: Nothing to be done for `all-am'.

<br>make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/master'

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/master'

<br>Making all in script

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/script'

<br>make&nbsp; all-recursive

<br>make[3]: Entering directory `/home/mcs/ethercat-1.5.0/script'

<br>Making all in init.d

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script/init.d'

<br>make&nbsp; all-am

<br>make[5]: Entering directory `/home/mcs/ethercat-1.5.0/script/init.d'

<br>make[5]: Nothing to be done for `all-am'.

<br>make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/script/init.d'

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script/init.d'

<br>Making all in sysconfig

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script/sysconfig'

<br>make[4]: Nothing to be done for `all'.

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script/sysconfig'

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script'

<br>make[4]: Nothing to be done for `all-am'.

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script'

<br>make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/script'

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/script'

<br>Making all in tool

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/tool'

<br>make[2]: Nothing to be done for `all'.

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/tool'

<br>Making all in lib

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/lib'

<br>make[2]: Nothing to be done for `all'.

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/lib'

<br>Making all in examples

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0/examples'

<br>make&nbsp; all-recursive

<br>make[3]: Entering directory `/home/mcs/ethercat-1.5.0/examples'

<br>Making all in dc_user

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples/dc_user'

<br>make[4]: Nothing to be done for `all'.

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples/dc_user'

<br>Making all in user

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples/user'

<br>make[4]: Nothing to be done for `all'.

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples/user'

<br>make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples'

<br>make[4]: Nothing to be done for `all-am'.

<br>make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'

<br>make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'

<br>make[2]: Entering directory `/home/mcs/ethercat-1.5.0'

<br>make[2]: Leaving directory `/home/mcs/ethercat-1.5.0'

<br>make[1]: Leaving directory `/home/mcs/ethercat-1.5.0'

<br>make -C "/usr/src/kernels/2.6.32-358.el6.i686" M="/home/mcs/ethercat-1.5.0" modules

<br>make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.i686'

<br>&nbsp; CC [M]&nbsp; /home/mcs/ethercat-1.5.0/devices/e1000e/82571-2.6.32-ethercat.o

<br>&nbsp; CC [M]&nbsp; /home/mcs/ethercat-1.5.0/devices/e1000e/es2lan-2.6.32-ethercat.o

<br>&nbsp; CC [M]&nbsp; /home/mcs/ethercat-1.5.0/devices/e1000e/ethtool-2.6.32-ethercat.o

<br>&nbsp; CC [M]&nbsp; /home/mcs/ethercat-1.5.0/devices/e1000e/ich8lan-2.6.32-ethercat.o

<br>&nbsp; CC [M]&nbsp; /home/mcs/ethercat-1.5.0/devices/e1000e/lib-2.6.32-ethercat.o

<br>&nbsp; CC [M]&nbsp; /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.o

<br>/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c: In function &acirc;&euro;&tilde;e1000_put_txbuf&acirc;&euro;&trade;:

<br>/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:593: error: implicit declaration of function &acirc;&euro;&tilde;skb_dma_unmap&acirc;&euro;&trade;</p>

<p>/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c: In function &acirc;&euro;&tilde;e1000_tx_map&acirc;&euro;&trade;:

<br>/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4011: error: implicit declaration of function &acirc;&euro;&tilde;skb_dma_map&acirc;&euro;&trade;</p>

<p>/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4017: error: &acirc;&euro;&tilde;struct skb_shared_info&acirc;&euro;&trade; has no member named &acirc;&euro;&tilde;dma_maps&acirc;&euro;&trade;</p>

<p>/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4027: error: &acirc;&euro;&tilde;struct skb_shared_info&acirc;&euro;&trade; has no member named &acirc;&euro;&tilde;dma_head&acirc;&euro;&trade;</p>

<p>make[4]: *** [/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.o] Error 1

<br>make[3]: *** [/home/mcs/ethercat-1.5.0/devices/e1000e] Error 2

<br>make[2]: *** [/home/mcs/ethercat-1.5.0/devices] Error 2

<br>make[1]: *** [_module_/home/mcs/ethercat-1.5.0] Error 2

<br>make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.i686'

<br>make: *** [modules] Error 2

<br>[root <at> localhost ethercat-1.5.0]# 
</p>

<p>regards

<br>Ian
</p>
<p><br>************************************************************ </p>
<p>DISCLAIMER: 
</p>
<p>This email and any attachments are confidential to the intended recipient and 
may also be privileged. For those other than the recipient any disclosure, 
copying, distribution, or any action taken or omitted to be taken in reliance on 
such information is prohibited and may be unlawful. If you are not the intended 
recipient please delete it from your system and notify the sender immediately by 
telephoning +44(0) 1234 754978 or by immediate reply via e-mail to the Sender. 
</p>
<p>Should the content of this Email, including any attachments, require an Export Licence, 
this shall have been registered in compliance with export controls laid down by the 
UK Export Control Organisation, which forms part of the UK Department for Business, Innovation and Skills (BIS). 
</p>
<p>Emails and other electronic communication with Cranfield Aerospace may be 
monitored. 
</p>
<p>Thank you. 
</p>
<p>Cranfield Aerospace Limited Registered in England No. 2415720 Registered Office: 
Cranfield University, Cranfield, Beds, MK43 0AL 
</p>
<p>Updated 14-July-2010 
</p>
<p><br></p>
<div>
<br>Disclaimer added by CodeTwo Exchange Rules<br><a href="http://www.codetwo.com">www.codetwo.com</a>
</div>
<br>
</div>
Gavin Lambert | 29 Apr 02:36 2013

VoE message latency

Hi,

 

Given a standard cyclic process running (PDO exchanges occurring but no other queued SDOs etc), what would be the expected latency of an SDO or VoE transfer (separately both out to a slave and back, ignoring the processing time within the slave itself)?

 

I’m in the process of developing a custom slave (for a custom master app) and am trying to decide whether a particular kind of data transfer (asynchronous and acyclic, but still with a performance deadline, albeit one about 20x more relaxed than for PDO transfers) is achievable with SDO/VoE transfers or whether I would have to reserve PDO space for it (even though most of it would go unused most of the time).

 

I’d prefer SDO, given that it’s more standardised, but I don’t think it’d work without support for complete access for both read and write, and it looks like for some reason Etherlab does not support complete access reads at present.

 

Or to rephrase the question a bit:

1.       If an SDO/VoE request is queued by the realtime cyclic thread, how many cycles will (typically and worst case, ignoring slave failure) run before the request is completed (received and acked but not replied to by the slave), and conversely how many cycles would it take for a message posted by the slave to get into the master and acknowledged?

2.       Does this change if the request is queued by a different thread?  (And is this even allowed?  From what I can tell it looks like most such operations should be cross-thread-safe, but it’d be good to get confirmation.)

 

Regards,

Gavin Lambert

 

<div><div class="WordSection1">
<p class="MsoNormal">Hi,<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Given a standard cyclic process running (PDO exchanges occurring but no other queued SDOs etc), what would be the expected latency of an SDO or VoE transfer (separately both out to a slave and back, ignoring the processing time within the slave itself)?<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I&rsquo;m in the process of developing a custom slave (for a custom master app) and am trying to decide whether a particular kind of data transfer (asynchronous and acyclic, but still with a performance deadline, albeit one about 20x more relaxed than for PDO transfers) is achievable with SDO/VoE transfers or whether I would have to reserve PDO space for it (even though most of it would go unused most of the time).<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I&rsquo;d prefer SDO, given that it&rsquo;s more standardised, but I don&rsquo;t think it&rsquo;d work without support for complete access for both read and write, and it looks like for some reason Etherlab does not support complete access reads at present.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Or to rephrase the question a bit:<p></p></p>
<p class="MsoListParagraph"><span>1.<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>If an SDO/VoE request is queued by the realtime cyclic thread, how many cycles will (typically and worst case, ignoring slave failure) run before the request is completed (received and acked but not replied to by the slave), and conversely how many cycles would it take for a message posted by the slave to get into the master and acknowledged?<p></p></p>
<p class="MsoListParagraph"><span>2.<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>Does this change if the request is queued by a different thread?&nbsp; (And is this even allowed?&nbsp; From what I can tell it looks like most such operations should be cross-thread-safe, but it&rsquo;d be good to get confirmation.)<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Regards,<p></p></p>
<p class="MsoNormal">Gavin Lambert<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div></div>
Giovanni Lazzarini | 26 Apr 17:05 2013

Fedora Install

Hi,
I would like to install the ehrtlab system in my Fedora 17 ( or 18)...(kernel is 3.6.10-4)
Is it possible?
Where can I find some DOC how to install and folllow install peocedure step by step?

Sincerely
Joe
<div>
    Hi,<br>I would like to install the ehrtlab system in my Fedora 17 ( or 18)...(kernel is 3.6.10-4)<br>Is it possible?<br>Where can I find
                            some DOC how to install and
                        folllow install peocedure step
                          by step?<br><br>Sincerely<br>Joe<br>

  </div>
Picon

writing sdo inside real time loop

Hello everybody,
is there a definite way to read or write sdo inside 
real time loop?
I've checked the examples and made my own functions to 
do it, but after some time I get a SDO timeout upload or download error 
from ethercat master.

For example: EtherCAT ERROR 0-2: Timeout after 
1000 ms while> waiting for SDO 0x6060:0 upload response.

I'm wondering 
whether there is any chance to do it cleanly and how to recover from 
such an error.

I create the sdo objects I need at the beginning of the 
application using ecrt_slave_config_create_sdo_request(...) calls.
My 
functions to write sdo are write_sdo to write and sdo and 
write_sdo_success to check it is correctly written.
If 
write_sdo_success  doesn't return success state i go back to write_sdo 
again

bool SdoTask::write_sdo(Slave::sdo_config sdo_map,int32_t 
data)
{
    bool bRetVal = false;
    int8_t cData;
    uint8_t ucData;

    int16_t wData;
    uint16_t uwData;
    uint32_t udwData;

    
switch(ecrt_sdo_request_state(sdo_map.pSdo))
    {
    case 
EC_REQUEST_UNUSED:
    case EC_REQUEST_SUCCESS:
        switch(sdo_map.
size)
        {
        case 8:
            if (sdo_map.bSigned)

            {
                cData = (int8_t) data;

EC_WRITE_S8(ecrt_sdo_request_data(sdo_map.pSdo), cData);
            }

            else
            {
                ucData = (uint8_t) data;

                EC_WRITE_U8(ecrt_sdo_request_data(sdo_map.pSdo), 
ucData);
            }
            break;
        case 16:

if (sdo_map.bSigned)
            {
                wData = (int16_t) 
data;
                EC_WRITE_S16(ecrt_sdo_request_data(sdo_map.pSdo), 
wData);
            }
            else
            {

uwData = (uint16_t) data;
                EC_WRITE_U16
(ecrt_sdo_request_data(sdo_map.pSdo), uwData);
            }

            break;
        case 32:
            if (sdo_map.bSigned)

                EC_WRITE_S32(ecrt_sdo_request_data(sdo_map.pSdo), 
data);
            else
            {
                udwData = 
(uint32_t) data;
                EC_WRITE_U32(ecrt_sdo_request_data
(sdo_map.pSdo), udwData);
            }
            break;
        }

        bRetVal = true;
        break;
    case EC_REQUEST_ERROR:

case EC_REQUEST_BUSY:
        break;
    }

    if (bRetVal)

ecrt_sdo_request_write(sdo_map.pSdo);

    return bRetVal;

}

bool 
SdoTask::write_sdo_success(Slave::sdo_config sdo_map)
{
    bool 
bRetVal = false;

    switch(ecrt_sdo_request_state(sdo_map.pSdo))

{
    case EC_REQUEST_UNUSED:
    case EC_REQUEST_ERROR:
    case 
EC_REQUEST_BUSY:
        break;
    case EC_REQUEST_SUCCESS:

bRetVal = true;
        break;
    }

    return bRetVal;
}

Thanks 
in advance for your attention, every advice is well accepted.
Best 
Regards Luca Paluan

Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale più di uno spot in TV. Per ogni nuovo
abbonato 30 € di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/
_______________________________________________
etherlab-users mailing list
etherlab-users <at> etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
김익환 | 21 Apr 19:24 2013
Picon

Question about overlapping PDO API

Hi,  My name is Ikhwan Kim. 
I was checking latest EtherCAT Master stack last night (Development version), 
I can't find ecrt_slave_config_overlapping_pdos API. 
In 1.5.0, 1.5.1 release from download link, all the same. 
Is it removed? or replaced to another API?


<div><div dir="ltr">
<span>Hi, &nbsp;My name is Ikhwan Kim.&nbsp;</span><div>
<div>I was checking latest EtherCAT Master stack last night (Development version),&nbsp;<br>
</div>
<div>I can't find&nbsp;ecrt_slave_config_overlapping_pdos&nbsp;API.&nbsp;</div>
<div>In 1.5.0, 1.5.1 release from download link, all the same.&nbsp;</div>
<div>Is it removed? or replaced to another API?</div>
</div>
<div><br></div>
<div dir="ltr"><div><br></div></div>
</div></div>
Ankit Goila | 21 Apr 00:10 2013
Picon

Etherlab compatibility with specific kernel versions

Hi,

I am working on setting up a real time control framework on my machine with Ubuntu 12.10 installed (Linux 3.5.0-17-generic). I have tried using the RTAI package but I have had a series of failures while trying to get that to work (it expects a Linux kernel of 2.6.35.9). 

I am planning to use Xenomai to set up my real time kernel and then install etherlab. With the same requirements of etherlab for linux kernel, what should I do to make this installation hassle free? Should I install an older version of Ubuntu and configure it with a similar Xenomai kernel OR would a 3.5.7 xenomai kernel work with etherlab installations?

I am confused between these compatibility issues and will be really grateful if anyone could help me out.

Thanks,

Ankit

--
Ankit Goila
U-M ID: 83509056
Graduate Student (2012-2014)
M.S.E Mechanical Engineering
University of Michigan, Ann Arbor
Contact: 734-747-0829

<div><div dir="ltr">Hi,<div><br></div>
<div>I am working on setting up a real time control framework on my machine with Ubuntu 12.10 installed (Linux 3.5.0-17-generic). I have tried using the RTAI package but I have had a series of failures while trying to get that to work (it expects a Linux kernel of 2.6.35.9).&nbsp;</div>

<div><br></div>
<div>I am planning to use Xenomai to set up my real time kernel and then install etherlab. With the same requirements of etherlab for linux kernel, what should I do to make this installation hassle free? Should I install an older version of Ubuntu and configure it with a similar Xenomai kernel OR would a 3.5.7 xenomai kernel work with etherlab installations?</div>

<div><br></div>
<div>I am confused between these compatibility issues and will be really grateful if anyone could help me out.</div>
<div><br></div>
<div>Thanks,</div>
<div><br></div>
<div>Ankit<br clear="all"><div><br></div>
-- <br><div dir="ltr">
<div><span>Ankit Goila</span></div>
<span>U-M ID: 83509056</span><br><div><span>Graduate Student (2012-2014)</span></div>
<div><span>M.S.E Mechanical Engineering</span></div>

<div><span>University of Michigan, Ann Arbor</span></div>
<div><span>Contact: 734-747-0829</span></div>

<div><br></div>
</div>
</div>
</div></div>
pier | 16 Apr 13:25 2013
Picon

Re: Etherlab ec_master : Kernel Errors

Dear Olaf

The CoE program is written in perl, accessing to /dev/Ethercat0

I do not know if is accessing with variable length arrays....

If I use only the perl program is working ...

But if meantime also another task that is handling the ethercat frame 
structure

there freezing appears....

May be sending  CoE Messagges to more device at the same time ?

Best Regards

Pier

>Hi,
>

>> >BUG: unable to handle kernel NULL pointer dereference

>This may be caused by a stack overflow in YOUR program. Do you use arrays of
>variable length (http://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html)? If
>yes - stop it!

>Olaf

--

-- 

Perlsoft GmbH
Sennereigasse 27
3900 Brig
Switzerland

Tel. +41977022933

Graeme Foot | 9 Apr 08:30 2013

RTDM with RTAI

Hi,

 

I've just been updating my project to use the latest EtherCAT 1.5.2 master (2526), using RTDM with RTAI.

 

The ethercat_rtdm library calls fprintf to log various errors that may occur.  This knocks the hard realtime thread back to soft realtime due to making a standard syscall.  I have created a patch that will use rt_printk instead if RTDM is active (attached).

 

 

It does the following, in ioctl.h:

 

#ifdef EC_RTDM

#define   KERN_ERR  "<3>"

#define EC_PRINT_ERR(fmt, args...) \

    printk(KERN_ERR "EtherCAT ERROR: " fmt, ##args)

#else

#define EC_PRINT_ERR(fmt, args...) \

    fprintf(stderr, fmt, ##args)

#endif

 

 

and then changes the fprintf's, eg: from:

        fprintf(stderr, "Failed to get reference clock time: %s\n",

                strerror(EC_IOCTL_ERRNO(ret)));

 

to:

        EC_PRINT_ERR("Failed to get reference clock time: %s\n",

                strerror(EC_IOCTL_ERRNO(ret)));

 

 

I see there is a TODO item to replace the fprintf calls with return codes, but you may want to do this in the meantime (or both).

 

 

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">I've just been updating my project to use the latest EtherCAT 1.5.2
master (2526), using RTDM with RTAI.<p></p></span></p>

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

<p class="MsoNormal"><span lang="EN-US">The ethercat_rtdm library calls fprintf to log various errors that may
occur.&nbsp; This knocks the hard realtime thread back to soft realtime due to
making a standard syscall.&nbsp; I have created a patch that will use rt_printk
instead if RTDM is active (attached).<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">It does the following, in ioctl.h: <p></p></span></p>

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

<p class="MsoNormal"><span lang="EN-US">#ifdef EC_RTDM<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">#define&nbsp;&nbsp; KERN_ERR&nbsp; "&lt;3&gt;"<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">#define EC_PRINT_ERR(fmt,
args...) \<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;
printk(KERN_ERR "EtherCAT ERROR: " fmt, ##args) <p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">#else<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">#define EC_PRINT_ERR(fmt,
args...) \<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp; fprintf(stderr,
fmt, ##args) <p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">#endif<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">and then changes the fprintf's, eg: from:<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
fprintf(stderr, "Failed to get reference clock time: %s\n",<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
strerror(EC_IOCTL_ERRNO(ret)));<p></p></span></p>

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

<p class="MsoNormal"><span lang="EN-US">to:<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EC_PRINT_ERR("Failed to get reference clock time: %s\n",<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
strerror(EC_IOCTL_ERRNO(ret)));<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">I see there is a TODO item to replace the fprintf calls with return
codes, but you may want to do this in the meantime (or both).<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>
Olaf Holowenko | 8 Apr 09:15 2013
Picon

Re: Etherlab ec_master : Kernel Errors

Hi,

>> BUG: unable to handle kernel NULL pointer dereference
This may be caused by a stack overflow in YOUR program. Do you use arrays of
variable length (http://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html)? If
yes - stop it! 

Olaf

-----Ursprüngliche Nachricht-----
Von: etherlab-users-bounces@...
[mailto:etherlab-users-bounces@...] Im Auftrag von pier
Gesendet: Freitag, 5. April 2013 21:57
An: etherlab-users@...
Betreff: [etherlab-users] Etherlab ec_master : Kernel Errors

Dear etherlab people

We have done an application using the last versione 1.5. development

with 13 Lenze servos online....

We have got it working but some kernel crasch has been reported....

Attacched are the extracted of errors from the kernels

1 file of messages from the  Kernels :

-Using Canbus Over Ethercat freezes the computer making an intensive
usage...

-Or an error in kernel in the ec_master create a condition where only
hardware poweroff

can be done to unlock

- 1 file another type of error...
   Demostrate that realtime kernel cannot be used with etherlab

base on Ubuntu 12.04 64 bits kernel 3.2.0-ubuntu releases.....

Someone may help for this ?

Best Regards

Pier

--

-- 

Perlsoft GmbH
Sennereigasse 27
3900 Brig
Switzerland

Tel. +41977022933

costa | 4 Apr 09:36 2013
Picon

Error loading simulink model

Hello,

since a few days one slave don't go the OP state. In the syslog I becom thies message:

Failed to read PDO entries for PDO 0x1600.
Apr  4 09:28:31 ppp-desktop kernel: [  966.508085] EtherCAT WARNING 0-29: Slave does not support changing the PDO mapping!
Apr  4 09:28:31 ppp-desktop kernel: [  966.508087] EtherCAT WARNING 0-29: Currently mapped PDO entries: (none). Entries to map: 0x3000:01/16 0x3000:02/16 0x3000:03/16 0x3000:04/16
Apr  4 09:28:31 ppp-desktop kernel: [  966.540074] EtherCAT ERROR 0-29: Failed to receive CoE upload request: Datagram timed out.
Apr  4 09:28:31 ppp-desktop kernel: [  966.540080] EtherCAT ERROR 0-29: Failed to read number of mapped PDO entries.
Apr  4 09:28:31 ppp-desktop kernel: [  966.540083] EtherCAT WARNING 0-29: Failed to read PDO entries for PDO 0x1601.
Apr  4 09:28:31 ppp-desktop kernel: [  966.540085] EtherCAT WARNING 0-29: Slave does not support changing the PDO mapping!
Apr  4 09:28:31 ppp-desktop kernel: [  966.540087] EtherCAT WARNING 0-29: Currently mapped PDO entries: (none). Entries to map: 0x3010:01/16 0x3010:02/16 0x3010:03/16 0x3010:04/16 0x3010:05/16 0x3010:06/16 0x3010:07/16 0x3010:08/16
Apr  4 09:28:31 ppp-desktop kernel: [  966.572075] EtherCAT ERROR 0-29: Failed to receive CoE upload request: Datagram timed out.
Apr  4 09:28:31 ppp-desktop kernel: [  966.572082] EtherCAT ERROR 0-29: Failed to read number of mapped PDO entries.
Apr  4 09:28:31 ppp-desktop kernel: [  966.572084] EtherCAT WARNING 0-29: Failed to read PDO entries for PDO 0x1602.
Apr  4 09:28:31 ppp-desktop kernel: [  966.572086] EtherCAT WARNING 0-29: Slave does not support changing the PDO mapping!
Apr  4 09:28:31 ppp-desktop kernel: [  966.572088] EtherCAT WARNING 0-29: Currently mapped PDO entries: (none). Entries to map: 0x3011:01/32 0x3011:02/32 0x3011:03/32 0x3011:04/32 0x3011:05/32 0x3011:06/32 0x3011:07/32 0x3011:08/32
Apr  4 09:28:31 ppp-desktop kernel: [  966.604075] EtherCAT ERROR 0-29: Failed to receive CoE download request datagram: Datagram timed out.
Apr  4 09:28:31 ppp-desktop kernel: [  966.604081] EtherCAT WARNING 0-29: Failed to clear PDO assignment of SM2.
Apr  4 09:28:31 ppp-desktop kernel: [  966.604083] EtherCAT WARNING 0-29: Currently assigned PDOs: (none). PDOs to assign: 0x1600 0x1601 0x1602
Apr  4 09:28:31 ppp-desktop kernel: [  966.636075] EtherCAT ERROR 0-29: Failed to receive CoE download request datagram: Datagram timed out.
Apr  4 09:28:31 ppp-desktop kernel: [  966.636081] EtherCAT WARNING 0-29: Failed to clear PDO assignment of SM3.
Apr  4 09:28:31 ppp-desktop kernel: [  966.636083] EtherCAT WARNING 0-29: Currently assigned PDOs: 0x1A00 0x1A02 0x1A04 0x1A05 0x1A06 0x1A07 0x1A08. PDOs to assign: 0x1A00 0x1A02 0x1A04 0x1A05 0x1A06 0x1A07 0x1A08
Apr  4 09:28:31 ppp-desktop kernel: [  966.643068] EtherCAT ERROR 0-29: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
Apr  4 09:28:31 ppp-desktop kernel: [  966.643567] EtherCAT ERROR 0-29: AL status message 0x001D: "Invalid output configuration".

My simulink model works many days fine and I didn't change somethink in the model.

Thanks
Constantino Pavlides

<div><p>Hello,<br><br>since a few days one slave don't go the OP state. In the syslog I becom thies message:<br><br>Failed to read PDO entries for PDO 0x1600.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.508085] EtherCAT WARNING 0-29: Slave does not support changing the PDO mapping!<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.508087] EtherCAT WARNING 0-29: Currently mapped PDO entries: (none). Entries to map: 0x3000:01/16 0x3000:02/16 0x3000:03/16 0x3000:04/16<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.540074] EtherCAT ERROR 0-29: Failed to receive CoE upload request: Datagram timed out.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.540080] EtherCAT ERROR 0-29: Failed to read number of mapped PDO entries.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.540083] EtherCAT WARNING 0-29: Failed to read PDO entries for PDO 0x1601.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.540085] EtherCAT WARNING 0-29: Slave does not support changing the PDO mapping!<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.540087] EtherCAT WARNING 0-29: Currently mapped PDO entries: (none). Entries to map: 0x3010:01/16 0x3010:02/16 0x3010:03/16 0x3010:04/16 0x3010:05/16 0x3010:06/16 0x3010:07/16 0x3010:08/16<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.572075] EtherCAT ERROR 0-29: Failed to receive CoE upload request: Datagram timed out.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.572082] EtherCAT ERROR 0-29: Failed to read number of mapped PDO entries.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.572084] EtherCAT WARNING 0-29: Failed to read PDO entries for PDO 0x1602.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.572086] EtherCAT WARNING 0-29: Slave does not support changing the PDO mapping!<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.572088] EtherCAT WARNING 0-29: Currently mapped PDO entries: (none). Entries to map: 0x3011:01/32 0x3011:02/32 0x3011:03/32 0x3011:04/32 0x3011:05/32 0x3011:06/32 0x3011:07/32 0x3011:08/32<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.604075] EtherCAT ERROR 0-29: Failed to receive CoE download request datagram: Datagram timed out.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.604081] EtherCAT WARNING 0-29: Failed to clear PDO assignment of SM2.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.604083] EtherCAT WARNING 0-29: Currently assigned PDOs: (none). PDOs to assign: 0x1600 0x1601 0x1602<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.636075] EtherCAT ERROR 0-29: Failed to receive CoE download request datagram: Datagram timed out.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.636081] EtherCAT WARNING 0-29: Failed to clear PDO assignment of SM3.<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.636083] EtherCAT WARNING 0-29: Currently assigned PDOs: 0x1A00 0x1A02 0x1A04 0x1A05 0x1A06 0x1A07 0x1A08. PDOs to assign: 0x1A00 0x1A02 0x1A04 0x1A05 0x1A06 0x1A07 0x1A08<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.643068] EtherCAT ERROR 0-29: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).<br>Apr&nbsp; 4 09:28:31 ppp-desktop kernel: [&nbsp; 966.643567] EtherCAT ERROR 0-29: AL status message 0x001D: "Invalid output configuration".<br><br>My simulink model works many days fine and I didn't change somethink in the model.<br><br>Thanks<br>Constantino Pavlides<br></p></div>

Gmane