[OLSR-users] olsr on arm9 system on chip from intersil isl3893

aaron (spam-protected)
Mon Jul 25 22:09:53 CEST 2005


ulf,

basically 16megs should be fine ;-)

did you use standard libc? or uclibc?

in standard libc there is as far as i remember an option for malloc debugging
Some environment variable needs to be set. I can't find it 
right now but it _is_ documented in libc (google or info pages)

maybe that helps...

because olsr_malloc(..) basically _is_ the standard malloc.
of course the bug could be somewhere else.



On Mon, Jul 25, 2005 at 02:59:21PM -0500, Andrew Hodel wrote:
> What device?
> 
> the APDK? or something from another manufacturer? i.e. wet54gv2, wg602v2?
> 
> Can you give some build instructions?
> 
> 
> Andrew
> 
> On 7/25/05, ulf k <(spam-protected)> wrote:
> > hi everyone,
> > with some help from thomas last week at cbase, olsrd is now running on
> > isl3893 based wlan router.... but it seems that something is is not
> > running very well.
> > if the routing tables are very big, or some routing entries will be
> > deleted, the deamon runns out of memory.
> > for the first minutes everything is working fine like this:
> > 
> >   # meminfo
> > Layout of /dev/mtd1 :
> > 
> >   0 Turbo AP Firmware
> >   1 -
> >   2 -
> >   3 -
> >   4 -
> >   5 -
> >   6 -
> >   7 -
> >   8 -
> >   9 -
> > 
> > 
> > 1. RAM Layout
> > ========================================================
> > RAM available   16350 kB
> > MVC               312 kB
> > Kernel           4193 kB
> > Available       11845 kB
> > 
> > 
> > 2. Linux Kernel Memory Usage
> > ========================================================
> >                   TOTAL            USED            FREE
> > System Memory   11648 kB         2608 kB         9040 kB
> > 
> > Buffers                           272 kB
> > Cached                            296 kB
> > Slabs (used/active)            1808 / 1584 kB     224 kB
> >  [kmem (used/active)           1568 / 1360 kB     208 kB]
> >                 ---------------------------------------- +
> >                                  2376 kB         9264 kB
> > 
> > 3.Applications
> > ========================================================
> > NAME       TOTAL      TEXT      DATA    MPU CNT
> > init      128 kB    372 kB     77 kB      0
> > aplogd    128 kB    372 kB     77 kB      0
> > rc        128 kB    372 kB     77 kB      0
> > sh        128 kB    372 kB     77 kB      0
> > respawn    24 kB     31 kB     10 kB      0
> > network   128 kB    372 kB     77 kB      0
> > inetd      16 kB     30 kB     11 kB      0
> > olsrd     128 kB    232 kB     74 kB      0
> > telnetd    32 kB     46 kB     16 kB      0
> > sh        128 kB    372 kB     77 kB      0
> > meminfo    20 kB     33 kB     12 kB      0
> >         ---------------------------------------------- +
> >           991 kB
> > 
> > 
> > after a while:# meminfo
> > Layout of /dev/mtd1 :
> > 
> >   0 Turbo AP Firmware
> >   1 -
> >   2 -
> >   3 -
> >   4 -
> >   5 -
> >   6 -
> >   7 -
> >   8 -
> >   9 -
> > 
> > 
> > 1. RAM Layout
> > ========================================================
> > RAM available   16350 kB
> > MVC               312 kB
> > Kernel           4194 kB
> > Available       11844 kB
> > 
> > 
> > 2. Linux Kernel Memory Usage
> > ========================================================
> >                   TOTAL            USED            FREE
> > System Memory   11648 kB         2888 kB         8760 kB
> > 
> > Buffers                           272 kB
> > Cached                            304 kB
> > Slabs (used/active)            2080 / 1728 kB     352 kB
> >  [kmem (used/active)           1828 / 1496 kB     332 kB]
> >                 ---------------------------------------- +
> >                                  2656 kB         9112 kB
> > 
> > 3.Applications
> > ========================================================
> > NAME       TOTAL      TEXT      DATA    MPU CNT
> > init      128 kB    372 kB     77 kB      0
> > aplogd    128 kB    372 kB     77 kB      0
> > sh        128 kB    372 kB     77 kB      0
> > respawn    24 kB     31 kB     10 kB      0
> > snmpd     128 kB    301 kB     81 kB      0
> > shelld    128 kB    372 kB     77 kB      0
> > inetd      16 kB     30 kB     11 kB      0
> > olsrd     233 kB    232 kB     74 kB  9844609
> > sh        128 kB    372 kB     77 kB      0
> > meminfo    20 kB     33 kB     12 kB      0
> >         ---------------------------------------------- +
> >          1064 kB
> > 
> > you can see olsrd 233kb ...... 9844609!!
> > this will rise up to what ever and the respawnd is restarting the
> > appl. after crash.
> > sometimes its running for only a few min. sometimes its running the
> > whole night, depends how many links are established.
> > 
> > i can not find out exactly when that happens, any idea, what this could be?
> > 
> > bye ulf
> > _______________________________________________
> > olsr-users mailing list
> > (spam-protected)
> > https://www.olsr.org/mailman/listinfo/olsr-users
> >
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users
> 

-- 



More information about the Olsr-users mailing list