Re: oprofile BUG() in current kernel.

From: Gianni Tedesco
Date: Tue May 13 2008 - 10:38:55 EST


On Tue, 2008-05-13 at 14:16 +0200, Eric Dumazet wrote:
> It fixes the bug here for me.
>
> Did you rebuild your modules and "make modules_install" them ?
>
> Please make sure oprofile.ko only includes .data.percpu
>
> # size -A
> /lib/modules/2.6.26-rc2-00051-gc714a53-dirty/kernel/arch/x86/oprofile/oprofile.ko
> /lib/modules/2.6.26-rc2-00051-gc714a53-dirty/kernel/arch/x86/oprofile/oprofile.ko
> :
> section size addr
[snip]
> .data 1328 0
> .data.percpu 124 0
> .gnu.linkonce.this_module 4480 0
> .bss 372 0
> .comment 288 0
> .note.GNU-stack 0 0
> Total 19997

Oops, how embarrassing. I applied the patch manually and missed out the
first chunk. Disregard previous post. This fixes the problem for me.

Good work one and all :)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/