Subject: Re: Kernel assertion failure
To: None <current-users@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: current-users
Date: 01/02/2007 21:57:10
On Mon, Jan 01, 2007 at 11:13:00PM +0100, Martin Husemann wrote:
> When trying to boot -current on an evbmips machine (little endian), I get
> a pretty much reproducable
> 
> panic: kernel diagnostic assertion "pcg->pcg_objects[idx].pcgo_va != NULL" failed: file "../../../../kern/subr_pool.c", line 1991

Ok, a bit more info, from another instance of the same assert - with a -current
as of a few minutes ago:

panic: kernel diagnostic assertion "pcg->pcg_objects[idx].pcgo_va != NULL" failed: file "../../../../kern/subr_pool.c", line 1991
Stopped in pid 338.1 (sshd) at  netbsd:cpu_Debugger+0x4:        jr      ra
                bdslot: nop                                               
db> bt                     
8024fe7c+898 (83fff000,b1100000,0,104) ra 801efb88 sz 0
panic+190 (83fff000,802c34f0,802d6f70,802d6a88) ra 802a358c sz 48
__assert+2c (83fff000,802c34f0,7c7,802d6a88) ra 801ed7dc sz 32   
801ed6b0+12c (83fff000,802c34f0,7c7,802d6a88) ra 0 sz 0       
User-level: pid 338.1                                  
db> x/i 0x801ed6b0+0x12c
netbsd:pool_cache_get_paddr+0x244:      addiu   sp,sp,-32

Is this some pool access from interrupt context and DDB "hiding" the interrupt
frame?

Martin