lkml.org 
[lkml]   [2005]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: bad pgd/pmd in latest BK on ia64
    On Mon, 14 Mar 2005 14:34:42 -0800
    "David S. Miller" <davem@davemloft.net> wrote:

    > On Mon, 14 Mar 2005 14:06:09 -0800
    > "Luck, Tony" <tony.luck@intel.com> wrote:
    >
    > > Trying to boot a build of the latest BK on ia64 I see
    > > a series of messages like this:
    > >
    > > mm/memory.c:99: bad pgd e0000001feba4000.
    > > mm/memory.c:99: bad pgd e0000001febac000.
    > > mm/memory.c:99: bad pgd e0000001febc0d10.
    >
    > Things are similarly busted on sparc64 for me as well.
    > Things instantly reboot right after the kernel tries
    > to open an initial console.

    As a followup, when I get an instant reboot like this
    it usually means that some loop walking over memory
    doesn't terminate properly. Once the first access to
    bogus I/O addresses (past the end of physical RAM)
    happens, the machine soft reboots.

    I therefore suspect the pgwalk patches.

    One thing to note on sparc64 (I'm not sure on ia64) is
    that the address passed into handle_mm_fault() can have
    non-PAGE_MASK bits set in it (these are state bits from
    the MMU miss handlers).

    Does ia64 cause something similar to happen?

    This never caused problems before, but it may be causing
    troubles with the new pgwalk macros. For example, the
    new do { } while() loops test for exactness in the loop
    termination test. If there are low bits set in "addr",
    we'll walk right past "end" in the loops and go on like
    that forever.

    I cannot, however, yet see a path where the handle_mm_fault()
    address gets passed into the new pgwalk macro loops. That
    is what I'm searching for now :-)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:11    [W:0.038 / U:90.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site