Skip to contentSkip to conversation

KALLSYMS always enabled in 'make gconfig' on PS3 kernel

DISCUSSION Simon W Bock 2 participants 2 messages Jan 18, 2009 – Jan 19, 2009

lore
Share & tools
lore
#0 lore raw

Hi All,
this seems to be the most appropriate place to report it...

I try to compile a kernel on and for the PS3 using Geoff Levand's sources
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git;a=summary
and did a 'make ps3_defconfig' before doing 'make gconfig'. Now I'd care much more for 300k less in kernel size than for full symbols in the OOPS, so I would like to deselect KALLSYMS and KALLSYMS_ALL. The latter is even suggested to disable in the help text. But whatever I do, those two are always selected. Even when I deselect them using vi, the next time I do a 'make gconfig' on the config-file they are on again.

Is this done for some special reason? Or can they be turned off? Thank you,
Simon

#1 lore raw
Quoted 2 lines · Simon W Bock

Hi All,
this seems to be the most appropriate place to report it...

Yes, or [email protected]

Quoted 10 lines

I try to compile a kernel on and for the PS3 using Geoff Levand's sources
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git;a=summary
and did a 'make ps3_defconfig' before doing 'make gconfig'. Now I'd care much more for 300k less in kernel size than for full symbols in the OOPS, so I would like to deselect KALLSYMS and KALLSYMS_ALL. The latter is even suggested to disable in the help text. But whatever I do, those two are always selected. Even when I deselect them using vi, the next time I do a 'make gconfig' on the config-file they are on again.

First, this isn't gconfig-specific. xconfig or menuconfig should have the same behavior. At least I see it in xconfig also.

Quoted 1 line

Is this done for some special reason? Or can they be turned off?

All 3 of the KALLSYMS kconfig symbols are under the kconfig menu
prompt: "Configure standard kernel features (for small systems)", which is not enabled in ps3_defconfig AFAICT (unless Geoff's is modified from that I can see/test in linux-next). All that you need to do is enable that config symbol (called CONFIG_EMBEDDED) and then you can modify the KALLSYMS config symbols.

HTH.

Signature · 1 line
~Randy