15.11.2010 14:25, e-mail dmb.leaf-devel пишет: > On 14 November 2010 21:29, Andrew<ni...@seti.kr.ua> wrote: >> 14.11.2010 23:15, davidMbrooke пишет: >>> On Sat, 2010-11-13 at 20:50 +0200, Andrew wrote: >>>> 13.11.2010 12:24, davidMbrooke пишет: >>>>> On Sat, 2010-11-13 at 11:11 +0200, Andrew wrote: >>>>>> 12.11.2010 20:24, davidMbrooke пишет: >>>>>>> I see that we are using "CONFIG_MODPROBE_SMALL" rather than >>>>>>> "CONFIG_MODPROBE" for BusyBox. Is there a good reason for that? Would >>>>>>> switching to CONFIG_MODPROBE be a practical option? >>>>>>> >>>>>>>> From comparing the source code (modprobe.c versus >>>>>>>> modprobe-small.c) it >>>>>>> seems to me that modprobe.c would give us (more) standard Debian >>>>>>> behaviour... >>>>>>> >>>>>>> dMb >>>>>> As I remembered, standard modprobe requires presence of System.map (file >>>>>> with kernel symbols) which has huge size. But I can mistake. >>>>> Hi Andrew, >>>>> >>>>> Is it fairly easy to check on that? >>>>> >>>>> I will soon be off-line until tomorrow, and I know you wanted a quick >>>>> answer on this, so my thinking is: >>>>> >>>>> - If CONFIG_MODPROBE is a practical option (e.g. no need for >>>>> System.map) then I would prefer to change to that. >>>>> >>>>> - If CONFIG_MODPROBE is *not* a practical option I am OK with >>>>> patching BusyBox - kp convinced me :-) >>>>> >>>> Best way - to look in code, or to assemble bb, copy it somewhere on >>>> running distro, and run in's modprobe. >>> I finally got chance to try this. I rebuilt everything from scratch (I >>> was due a rebuild anyway) and changed the BusyBox .config to select >>> CONFIG_MODPROBE rather than CONFIG_MODPROBE_SMALL. Everything seems to >>> work fine, and no need for System.map. >>> >> If it works good and nothing is broken - you can commit it into main >> tree :) > Hi Andrew, > > I won't promise that *nothing* is broken, but everything I tried works OK. > I will commit when I get home from work (+6 hours from now). Mainly from this option dependent module autoloading at boot, hardware autodetection and software that can load modules by itself like iptables > I have been reading some more. Seems that "_SMALL" saves 14KB. I think > we can spare 14KB to use non-SMALL... :-) > Yes, of course.
------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel