Port-arm archive

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

Re: panic: kernel diagnostic assertion "init_done" failed: file ".../kern/subr_evcnt.c",



On 5/08/2012, at 10:13 PM, Martin Husemann <martin%duskware.de@localhost> wrote:

> Typical solution is to initialize the eventcounters later (this is easy, if
> they, for example, count interrupts).
> 
> See for example omap/omap2430_intr.c (look for evcnt_attach_dynamic).

That was easy. Thanks for the useful example. 

Now I'm getting a trap in uvm_pagealloc_pgfl and it looks like a NULL pointer 
error. The trap output is at the end of this message. I guess I'll have to go 
find my patches to allow gdb over the TS-7200's second serial port. I have 
other things I'm looking to get done at the moment.

Cheers,
Lloyd

root on 10.0.1.46:archive/export/root/evbarm
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console

uvm_fault(0xc11c1d80, 35362000, 1) -> e
Fatal kernel mode data abort: 'Translation Fault (S)'
trapframe: 0xc3536d18
FSR=00000005, FAR=35362844, spsr=20000013
r0 =35362820, r1 =c1040010, r2 =00000000, r3 =00000000
r4 =00000000, r5 =00000004, r6 =00000001, r7 =c1040010
r8 =c04f3698, r9 =00000000, r10=00000000, r11=c3536d98
r12=00000000, ssp=c3536d64, slr=c03d42c8, pc =c03d434c

Stopped in pid 2.1 (sh) at      netbsd:uvm_pagealloc_pgfl+0xb4: ldr     r2, [r0,
 #0x024]
db>


Home | Main Index | Thread Index | Old Index