[etherlab-users] insmod error - unknown symbol

Thomas Specker thomas.specker at knestec.de
Fri Feb 11 14:55:31 CET 2011


Hi Richard,
 
thank you for your support, you helped me a lot.


rcetherlab didn't start at boot because I forgot to set the math-flag in
rtai-config file.
Module rtai_math.ko did not exist.
Now it works!



Thomas



Richard Hacker <ha at igh-essen.com> hat am 11. Februar 2011 um 13:36 geschrieben:

> Hi,
>
> On Friday 11 February 2011 10:29:01 Thomas Specker wrote:
> > Hello,
> >
> > I try to build a kernel module with Etherlab and Matlab/Simulink, but I
> >  have some problems with it.
> > I can build a module, but I get an error trying insmod it.
> >
> > I checked the compiler versions, but they seem to match.
> >
> > While the build is running I get different errors and warnings.
> >
> > The first error looks like that....
> >
> > gmake[1]: Betrete Verzeichnis '/usr/src/linux-2.6.28.7'
> > test -e include/linux/autoconf.h -a -e include/config/auto.conf || (     
> >   \ echo;                                \
> >     echo "  ERROR: Kernel configuration is invalid.";        \
> >     echo "         include/linux/autoconf.h or include/config/auto.conf are
> > missing.";    \
> >     echo "         Run 'make oldconfig && make prepare' on kernel src to
> >  fix it.";    \
> >     echo;                                \
> >     /bin/false)
> I think that you do not have a clean installation. Please configure your
> system as documented.
>
> >
> > I have no idea why the KERNEL configuration should be invalid, the
> >  rtai-kernel is running fine,
> > ethercat is running and I can also load the ethercat-rtai-example-module.
> > autoconf.h and auto.conf are both in the expectet directories.
> >
> > then I get a lot of warnings....
> >
> > WARNING: "ecrt_master_receive"
> > [/opt/etherlab/rtw/etherlab/etherlab_test_etl_rtw/etherlab_test_kmod.ko]
> > undefined!
> > ...
> > WARNING: modpost: Found 6 section mismatch(es).
> Please ignore these warnings
>
> > insmod: error inserting 'etherlab_test_kmod.ko': -1 Unknown symbol in
> >  module
> >
> > dmesg says...
> >
> > [ 3778.154227] etherlab_test_kmod: Unknown symbol stop_rt_app
> > [ 3778.155568] etherlab_test_kmod: Unknown symbol rt_var_exit
> > [ 3778.167379] etherlab_test_kmod: Unknown symbol start_rt_app
> Maybe ther etherlab subsystem is not started:
> rcethercat start
> rcetherlab start
>
> - Richard
>
> --
> ------------------------------------------------------------------------
>
> Richard Hacker                               Amtsgericht Essen HRB 11500 
> Ingenieurgemeinschaft IgH                    USt-Id.-Nr.: DE 174 626 722
> Ges. für Ingenieurleistungen mbH             Geschäftsführung:           
> Heinz-Baecker-Str. 34                        Dr.-Ing. S. Rotthäuser     
> D-45356 Essen                                Dr.-Ing. T. Finke           
> Tel.: +49 201 / 36014-16                     Dr.-Ing. W. Hagemeister     
> Fax.: +49 201 / 36014-14                     Tel.: +49 201 / 360-14-0   
> richard.hacker at igh-essen.com                 http://www.igh-essen.com   
>
> ------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20110211/a64ecad3/attachment-0004.htm>


More information about the Etherlab-users mailing list