Re: pmap_tlb_asid_check() assertion with DIAGNOSTIC and DEBUG kernel onMIPS1

Izumi Tsutsui <[email protected]> Sun, 8 May 2011 16:46:39 +0900
Newsgroups gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.ports.pmax
Message-ID <[email protected]>
I wrote:

> This is reproducible on gxemul emulating 3MAX:
> 
> ---
> 
> Building databases: dev, utmp, utmpx done
> Starting syslogd.
> panic: tlb_hi (0xc645f000) asid (0) != current asid (0xf)
> kernel: breakpoint trap
> Stopped in pid 122.1 (sh) at    netbsd:cpu_Debugger+0x4:        jr     ra
>                 bdslot: nop

Note some other assertions are also triggered:
(so these ones need to be disabled to reproduce the asid one)

>> panic: kernel diagnostic assertion "pcb-&gt;pcb_context.val[_L_SR] & MIPS_SR_INT_IE" failed: file "../../../../arch/mips/mips/vm_machdep.c", line 166

>> panic: kernel diagnostic assertion "l == curlwp" failed: file "../../../../arch/mips/mips/mips_fpu.c", line 353

Not sure if these assetions could also happen on MIPS3 CPUs..

---
Izumi Tsutsui