Hi, Sounds good. For what it worth I think turning off CONFIG_DEBUG_INFO should have had same impact with strip -g as strip -g removes debugging info only. I wonder if you did rebuild click after turning off CONFIG_DEBUG_INFO.
Regards, Joonwoo On Mon, May 30, 2011 at 5:16 AM, Fabrice Schuler <[email protected]> wrote: > Hello, > > Turning off C was not enough, but strip -g succeeded. > > Reminder : > Linux 2.6.35.13 with CONFIG_NET_NS, without CONFIG_DEBUG_INFO > Last git of Click, around may 25th > needed to remove debug info with strip -g (click.ko went from 68M to 4.5) > > Thanks a lot for your help, > Fabrice > > On 05/27/11 18:20, Joonwoo Park wrote: >> Hi, >> >> I cced list. Please cc list next time. >> >> How big is your click.ko? >> >> Do you have CONFIG_DEBUG_INFO=y in your kernel config? >> If then as a quick solution you might need to either : >> 1) turn off CONFIG_DEBUG_INFO, or >> 2) run strip -g /usr/local/lib/click.ko to strip debug info. >> If not, please post result of 'dmesg | tail' after running click-install. >> >> Regards, >> Joonwoo >> >> On Fri, May 27, 2011 at 5:24 AM, Fabrice Schuler >> <[email protected]> wrote: >>> On 05/26/11 16:53, Joonwoo Park wrote: >>>> If your kernel doesn't have CONFIG_NET_NS=y, please build with it then >>>> try again. >>>> I think you can workaround with this. >>>> >>> Hello, >>> >>> Thanks a lot for the workaround, it compiles with 2.6.35.13. >>> Now, I just have to understand why I can't load the module :-) >>> >>> # click-install -V test.click >>> click-install: Installing Click module (/usr/local/lib/click.ko) >>> insmod: error inserting '/usr/local/lib/click.ko': -1 Cannot allocate memory >>> click-install: '/sbin/insmod /usr/local/lib/click.ko' failed >>> >>> Best regards, >>> Fabrice >>> > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
