On Wed, Sep 05, 2007 at 12:26:07PM -0400, Godmar Back wrote: > When building a UML kernel based on 2.6.22.5, 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. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user