lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [Re]: Error, installing rtl_lwip_tools.o in RTLinux


From: Sergio PérezAlcañiz
Subject: [lwip-users] [Re]: Error, installing rtl_lwip_tools.o in RTLinux
Date: Mon, 14 Apr 2003 14:24:34 +0200 (CEST)
User-agent: IMP/PHP IMAP webmail program 2.2.3

----- Mensaje reenviado por Sergio PérezAlcañiz <address@hidden> -----
Date: Mon, 14 Apr 2003 10:00:38 +0200 (CEST)
From: Sergio PérezAlcañiz <address@hidden>
Reply-To: Sergio PérezAlcañiz <address@hidden>
Subject: [Re]: Error, installing rtl_lwip_tools.o in RTLinux
To: address@hidden

>I had an under error messages when I install rtl_lwip_tools.o.
>I successfully compiled rtl_lwip with rtlinux-3.0 and linux-2.4.4. and I also
>installed required packages.
>It's same result when I tried with linux-2.4.18 kernel.
==============================================================================
Take into account that a RT-Linux patch only works with the kernel that the
patch was build for. Maybe you knew this. In this web page you'll find a patch
for the 2.4.18 kernel  (the patch must be applied also to the RT-Linux
distribution)
ftp://ftp.fsmlabs.at/pub/rtlinux/contrib/hofrat/
==============================================================================
>
>
># ./instools
>rtl_lwip_tools.o: init_module: Operation not permitted
>Hint: insmod errors can be caused by incorrect module parameters, including
>invalid IO or IRQ parameters
>
>
>
>Thank you.

Hello,ByungGi Baek. The rtl_lwip_tools module tries to be a "library" of tools
needed by RTL-lwIP. The main tool in that library is the Doubly Indexed Dynamic
Memory Allocator (DIDMA) and the init_module function is done by DIDMA. If you
see the code of DIDMA (although it is not necessary), you'll see that in the
compilation phase there are a lot of includes that are conditional depending on
the tags defined in the kernel. Maybe the problem is that you're using an old
version of RT-Linux and new versions define tags that the 3.0 version doesn't
have. You can do two things, update to 3.1 version of RT-Linux or modify the
source code of DIDMA (DIDMA.c and DIDMA.h) in order to include the correct
includes and tags.
Anyways, try to insert the module by hand with the -f option (force).

insmod -f rtl_lwip_tools.o max_size=512000;

If that doesn't works, I suggest you to move to RT-Linux3.1.I developed RTL-lwIP
with 2.4.18 kernel (+ Bigphysarea patch) and RT-Linux3.1 Remember that you have
to patch your RT-Linux with RTL-signals and RTL-timers. In the RTL-lwIP project
web site you'll find links to the patches. I'm almost sure that the problems is
your old RT-Linux distribution. Maybe I forgot to write in the web site that the
porting was developed with the 3.1 distribution.

http://canals.disca.upv.es/~serpeal/RTL-lwIP/htmlFiles/index.html

If you continue having problems please tell me.

Regards.
Sergio.


----- Fin del Mensaje reenviado -----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]