On Wed, Sep 05, 2007 at 12:26:07PM -0400, Godmar Back wrote:
> When building a UML kernel based on 188.8.131.52, I seeing warnings such
> as this one:
> MODPOST vmlinux
> WARNING: kernel/built-in.o(.text+0x141c4): Section mismatch: reference
> to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
> LINK linux
> What do these warnings indicate? It appears to be saying that
> .text+0x141c4 is listed in the __init section of the executable? This
> address, however, is in the middle of an instruction:
> Are these warnings benign or under what circumstances would they
> cause problems?
s/benign/bogus in all cases that I've looked that are still there.
The intent is to detect non-__init code calling __init code, since,
when the machine is booted, the __init sections have been freed, and
any attempt to call into them will crash the system.
This doesn't seem to be fully debugged yet. The cases that are still
there specify a range of zero bytes in which the offending reference
is alleged to reside.
Work email - jdike at linux dot intel dot com