RE: BUG: sleeping function called from invalid context at kernel/fork.c:385

Luck, Tony
2007-05-30T20:11:17Z

> Hmmm - I wonder if my tree is screwed up in some weird way. I'm seeing link
> warnings as well:
>
> WARNING: init/built-in.o - Section mismatch: reference to .init.data: from .sdata after 'root_mountflags' (at offset 0x38)

I thought that I'd got the section mis-match warnings down to
just one (and that was in ACPI code, so I sent a patch to Len
for it).

Are you building from defconfig, or one of the standard ones? Changing
config options always has the possibility of unearthing new spots
where there are conflicts between __init, __cpuinit and __devinit.

But I've had other complaints that these Section mismatch warnings
are still showing up in kernels built from the "standard" config
files (arch/ia64/configs/*) ... which I'm not seeing. So I'm more
than a little confused about this.

These errors are unlikely to be related to the strace bug that
you've reported. I'll try to pound on this some more when I'm
back on the same continent as my test machines.

-Tony