[BusyBox] Re: [uClibc]busybox insmod with uClibc is broken for pcmcia modules

Erik Andersen andersen at lineo.com
Tue Apr 24 18:32:27 UTC 2001


On Tue Apr 24, 2001 at 11:20:50AM +0300, Michael Shmulevich wrote:
> Richard,
> 
> Richard A. Smith wrote:
> 
> > busybox's insmod and uClibc don't appear to play right together at
> > least not for me under a 2.4.1 kernel...
>  > using busybox insmod compiled against glibc 2.1 workes fine.
> 
> It is just because the malloc() algorithm is different on glibc and 
> uClibc. There are several problems exist with busybox's xmalloc() 
> xrealloc() and friends, when called with zero size: they just die with 
> "Out Of Memory".

If you wish uClibc to use the exact same malloc as glibc, then
edit "Config" and enable malloc-930716.

Where does xmalloc(0) get called?

> > Normally when I load pcmcia_core.o it outputs the version number and
> > some of the options it was built with but using uClibc I get no
> > output.  Moveing on to i82365.o gets worse.  The module won't even
> > load... it whines about a couple of missing symbols.
> 
> We have seen similar problems with uClibc. Actually we have found that 
> the busybox's insmod uses rather old version of modutils (not 2.3.11 or 
> later), and it includes several bugs that were corrected later on with 
> modutils tree.

If you have patches or know of particular bugs, I'll gladly fix things.

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list