Skip to contentSkip to conversation

kbuild: modules_install regression ? - depmod

DISCUSSION [email protected] 2 participants 2 messages Dec 29, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines

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.

mhh - i have kernel-default-2.6.22.13-0.3 kernel (didn`t touch that since online update) and this has CONFIG_DEBUG_INFO=y
wondering about that, i installed shipping kernel (kernel-default-2.6.22.5-31 from http://download.opensuse.org/distribution/openSUSE-current/repo/oss/suse/i586/ )

but:

opensuse103:~ # uname -a
Linux opensuse103 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux

opensuse103:~ # zcat /proc/config.gz |grep DEBUG_INFO CONFIG_DEBUG_INFO=y

so i don`t plead guilty.......

Quoted 25 lines

-----Ursprüngliche Nachricht-----
Von: "Jan Engelhardt" <[email protected]>
Gesendet: 29.12.07 15:08:10
An: [email protected]
CC: [email protected], [email protected], Linux Kernel Mailing List <[email protected]>
Betreff: Re: kbuild: modules_install regression ? - depmod

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_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".

Quoted 7 lines

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.

______________________________________________________________________________
Jetzt neu! Im riesigen WEB.DE Club SmartDrive Dateien freigeben und mit Freunden teilen! http://www.freemail.web.de/club/smartdrive_ttc.htm/?mc=021134

#1 lore raw
Quoted 13 lines · On Dec 29 2007 16:51, [email protected] wrote:
Quoted 7 lines

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.

mhh - i have kernel-default-2.6.22.13-0.3 kernel (didn`t touch that since online update) and this has CONFIG_DEBUG_INFO=y
wondering about that, i installed shipping kernel (kernel-default-2.6.22.5-31 from http://download.opensuse.org/distribution/openSUSE-current/repo/oss/suse/i586/ )

but:

Quoted 8 lines

opensuse103:~ # uname -a
Linux opensuse103 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux

opensuse103:~ # zcat /proc/config.gz |grep DEBUG_INFO CONFIG_DEBUG_INFO=y

so i don`t plead guilty.......

Well, either way.

rpm2cpio /lnk/103/i586/kernel-default-2.6.22.5-31.i586.rpm [...] grep DEBUG_INFO ./boot/config-2.6.22.5-31-default

says =y

vs

rpm2cpio /lnk/103/src/kernel-default-2.6.22.5-31.src.rpm [...] tar -xf config.tar.bz2 [...] grep DEBUG_INFO ./config/i386/default

says =n.

Anyway, it's that option that causes the kernel to be built with -g and m-i-t does not gracefully handle all that debug info yet. If /lib is 800 MB, well, expect some serious swapping. Or just compile without it. Or if you are lazy, find /lib/modules -type f -iname '*.ko' -print0 | xargs -0 strip -g && depmod. :-)