kbuild: modules_install regression ? - depmod
Quoted 8 lines
[Adding jcm to Cc]
Quoted 5 lines · On Dec 28 2007 16:08, [email protected] wrote:
i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
System is openSUSE 10.3
Quoted 9 lines
Quoted 5 lines
on "make
modules_install" , depmod reproduceably dies with out of memory error when it is ~800MB VSZ and ~350MB RSS this happens on different hardware.any clue what`s going wrong?
how much memory should i expect being needed with "makemodules_install" , e.g. with allmodconfig ?If you enable
CONFIG_DEBUG_INFO, don't be surprised.
oh yes, that`s it!
apparently CONFIG_DEBUG_KERNEL, CONFIG_DEBUG_BUGVERBOSE and CONFIG_DEBUG_INFO defaults to "y" on my distro`s kernel, and i just copied config from /proc/config.gz and did a "make oldconfig".
after disabling those, all is fine now !
thanks for the hint!
Quoted 1 line
Though I'd say depmod should ignore the debug sections.
so depmod is acting sort of "stupid" here ?
regards
roland
Quoted 38 lines
Quoted 38 lines
Subject: kbuild: modules_install regression ? - depmod From: Jan-Simon =?utf-8?q?M=C3=B6ller?= <dl9pf () gmx ! de> Date: 2007-11-01 4:14:34 Message-ID: 200711010514.34469.dl9pf () gmx ! de[Download message RAW]
Hi!
I compiled kernel 2.6.24-rc1 (latest git as of today) on a Box with 256MB Ram. During "make
modules_install" I got these errors:DEPMOD 2.6.24-rc1-default
WARNING: Can't read
module/lib/modules/2.6.24-rc1-default/kernel/net/bridge/bridge.ko: Cannot allocate memory
WARNING: Can't read
module/lib/modules/2.6.24-rc1-default/kernel/net/bridge/netfilter/ebt_redirect.ko:
Cannot allocate memory
[...]
FATAL: Memory allocation failuredepmod.cline 158:realloc(mod->deps, sizeof(mod->deps[0])*(mod->num_deps+1)).
make: *** [_modinst_post] Fehler 1Depmod used too much memory and exits. Tried a 2nd time and checked with top.
IMHO this is a regression.
best regards
jan-simon__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://produkte.web.de/club/?mc=021131
Quoted 8 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://produkte.web.de/club/?mc=021131
Quoted 3 lines · On Sat, 2007-12-29 at 14:30 +0100, [email protected] wrote:
Quoted 1 line
Though I'd say depmod should ignore the debug sections.
so depmod is acting sort of "stupid" here ?
depmod has a bunch of issues that need taking care of, this is just one of them, but yeah, for now it should just ignore these additional sects. I'd rewrite the thing but I need some more time to do that in the new year (and there's lots of special casing for cross-building for 32/64/little/big endian that would need a lot of testing).
I'll push a new release over the weekend.
Jon.
Quoted 6 lines · On Dec 29 2007 14:30, [email protected] wrote:
Quoted 6 lines · On Dec 28 2007 16:08, [email protected] wrote:
Quoted 4 lines
i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM
System is openSUSE 10.3
Quoted 7 lines
Quoted 1 line
If you enable
CONFIG_DEBUG_INFO, don't be surprised.oh yes, that`s it!
apparently
CONFIG_DEBUG_KERNEL,CONFIG_DEBUG_BUGVERBOSEandCONFIG_DEBUG_INFOdefaults to "y" on my distro`s kernel, and i just copied config from/proc/config.gzand did a "make oldconfig".
Erm... same system here -
$ gzip -cd /proc/config.gz | grep DEBUG_INFO # CONFIG_DEBUG_INFO is not set
I think you managed to snafu something during building.