[patch] mmu_context_init needs to run earlier

Nathan Lynch nathanl at austin.ibm.com
Tue Nov 2 16:59:19 EST 2004

On Tue, 2004-11-02 at 15:47 +1100, Benjamin Herrenschmidt wrote:
> Do you have a backtrace of who is trying to get a context that
> early ?
> If it's some call of usermode helpers, I doubt it's very sane to do that
> before the arch initcalls have run ! It would be interesting to know who
> is triggering it.

Sure, I inserted a WARN_ON in init_new_context.  I see several of these
before hitting the BUG_ON in mmu_context_init.  I'm assuming these are
from the driver core trying to run /sbin/hotplug.

Badness in init_new_context at arch/ppc64/mm/init.c:483
Call Trace:
[c00000000ff7fa00] [c00000000ff7faa0] 0xc00000000ff7faa0 (unreliable)
[c00000000ff7faa0] [c0000000000c96dc] .do_execve+0xdc/0x2ac
[c00000000ff7fb60] [c000000000016790] .sys_execve+0x7c/0x104
[c00000000ff7fc00] [c000000000011b80] syscall_exit+0x0/0x18
--- Exception: c01 at .____call_usermodehelper+0xcc/0xf8
    LR = .____call_usermodehelper+0x9c/0xf8


More information about the Linuxppc64-dev mailing list