NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/45915: panic: pmap_enter_ptpage: can't get KPT page



>Number:         45915
>Category:       kern
>Synopsis:       panic: pmap_enter_ptpage: can't get KPT page
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 02 22:00:00 +0000 2012
>Originator:     Hauke Fath
>Release:        NetBSD 5.99.61 and newer
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD/mac68k 5.99.61 and newer
Architecture: m68k
Machine: mac68k
>Description:

        Since the recent malloc/kmem/uvm update, my Quadra 700 panics
        early (and reproducibly) with


Bootstrapping NetBSD/mac68k.
Getting mapping from MMU.
Loaded at 0x0
System RAM: 71303168 bytes in 17408 pages.
     Low = 0x0, high = 0x4400000
On-board video at addr 0x0xf9001000 (phys 0x0xf9001000), len 0xff000.
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800000 to 0x571000.
Video address 0x0xf9001000 -> 0x0x771000.
Loaded initial symtab at 0x3d2a68, strtab at 0x42bd78, # entries 21977
panic: pmap_enter_ptpage: can't get KPT page
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x6: unlk a6
cpu_Debugger(ffc13000,43fe000,4696c0,468e1c,2367ee) + 6
vpanic(356276,468e28,468e78,1e49ec,356276) + 19e
panic(356276,4ce9000,43fb000,3,4002700) + c
pmap_enter_ptpage(3a8ccc,4ce9000,0,4ce9000,4ce9000) + 68a
pmap_kenter_pa(4ce9000,43fb000,3,0,8e73d0) + 66
uvm_km_alloc(3b3738,5f000,0,11,ea30) + 1a6
pmap_init(8e9000,ffc00000,468f70,468f6c,3d1eb4) + b4
uvm_init(ea30,1dce0,8006025a,f9001000,ffffcffc) + 5e
main(1,2305cc,7ec000,0,1000) + 4a
newvideoaddr() + 2
db>

>How-To-Repeat:

        Boot a mac68k kernel built from sources of late January or
        newer (my last build is from sources cvs up'ed 2012-02-02,
        22:00 UTC).

>Fix:

        No idea. 

        The m{,ac}68k MD code changes that came with said
        malloc/kvm change are minimal (typedef changes in
        m68k/m68k/pmap_motorola.c and mac68k/mac68k/pmap_bootstrap.c,
        AFAICS), so the problems are rooted either in MI code, or in
        missing additions to MD code. Since the author of the changes
        has provided little documentation, I wouldn't know where to
        start.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index