[BusyBox] Re: [uClibc]busybox insmod with uClibc is broken for pcmcia modules
Michael Shmulevich
michaels at jungo.com
Tue Apr 24 09:36:02 UTC 2001
Richard,
> wombat:/bitworks/projects/hydra/busybox-0.51/_install/sbin# ./insmod
> fat
> Segmentation fault
> wombat:/bitworks/projects/hydra/busybox-0.51/_install/sbin# lsmod
> Module Size Used by
> fat 30968 0 (uninitialized)
> 3c59x 23392 1
> wombat:/bitworks/projects/hydra/busybox-0.51/_install/sbin#
Uninitialized module is usually happens when you did the obj_load() in
insmod, but didn't do module_init(). At our place this happened when the
insmod tried to add symbol to _ksymtab section at index -1. See the
"Segmentation fault" message. New modutils fixed this bug.
> 1 out of 3....
I bet the modules can only be loaded if they have a _ksymtab section
already. Glibc's malloc less restrictive at overwriting areas near
"malloc()-1". uClibc is not, it just segfaults,
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D
email: michaels at jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA) +972-9-8859365(Worldwide) ext. 233
Fax: 1-877-514-0538(USA) +972-9-8859366(Worldwide)
More information about the busybox
mailing list