Skip to contentSkip to conversation

kbuild: modules_install regression ? - depmod

DISCUSSION [email protected] 4 participants 4 messages Dec 28, 2007 – Dec 29, 2007

lore
Share & tools
lore
#0 lore raw

i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM

System is openSUSE 10.3

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 "make modules_install" , e.g. with allmodconfig ?

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 failure depmod.c line 158: realloc(mod->deps, sizeof(mod->deps[0])*(mod->num_deps+1)).
make: *** [_modinst_post] Fehler 1

Depmod 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

#1 lore raw

Am Freitag 28 Dezember 2007 16:08:19 schrieb [email protected]:

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 9 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 "make modules_install" , e.g. with allmodconfig ?

No news/progress on this issue afaik !

#2 lore raw
In reply to [email protected]

[Adding jcm to Cc]

Quoted 10 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

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 "make modules_install" , e.g. with allmodconfig ?

If you enable CONFIG_DEBUG_INFO, don't be surprised.

Though I'd say depmod should ignore the debug sections.

Quoted 43 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 failure depmod.c line 158: realloc(mod->deps, sizeof(mod->deps[0])*(mod->num_deps+1)).
make: *** [_modinst_post] Fehler 1

Depmod 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

--
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/

#3 lore raw
Quoted 11 lines · Jan Engelhardt

[Adding jcm to Cc]

Quoted 8 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

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.

Quoted 7 lines
Quoted 2 lines

any clue what`s going wrong?
how much memory should i expect being needed with "make modules_install" , e.g. with allmodconfig ?

If you enable CONFIG_DEBUG_INFO, don't be surprised.

Though I'd say depmod should ignore the debug sections.

Thanks for the head's up. I'll look at that, and adding the module ordering stuff over the weekend - been unplugged for the holidays.

Jon.