Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
panic: kernel diagnostic assertion "init_done" failed: file ".../kern/subr_evcnt.c",
Hi all,
I'm getting a panic whenever I try booting a NetBSD 6.0BETA2 kernel on my
TS-7200 and it looks like someone missed something somewhere. The message I get
is
panic: kernel diagnostic assertion "init_done" failed: file
"/vol/build/src6/sys/kern/subr_evcnt.c", line 136 evcnt_attach_ static: evcnt
non initialized: group=<vic1> name=<irq 0>
The problem seems to be that the event counter system is initialised in main(),
but the event counter system is accessed from initarm() which runs before
main() in order to setup counters for interrupts. There are KASSERTS everywhere
in the event counter system to ensure that this can't happen.
Unfortunately I have no idea what is supposed to happen, and I'm hoping that
someone on this list knows so that I won't have to grovel through the source
too much more ;-)
Here is my (annotated) stack trace and panic messages:
RedBoot> go
panic: kernel diagnostic assertion "init_done" failed: file
"/vol/build/src6/sys/kern/subr_evcnt.c", line 136 evcnt_attach_
static: evcnt non initialized: group=<vic1> name=<irq 0>
Undefined instruction in kernel
Stopped in pid 0.1 (system) at c021ee08: ldrb r15, [r15, r15, ror r15]
!
db> bt
c035a1dc (vpanic)
scp=0xc035a1dc rlv=0xc0424950 (c0424950)
rsp=0xc07d92c0 rfp=0xc07d92d4
r7=0xc07eb538
c0424924 (kern_assert)
scp=0xc0424924 rlv=0xc034f954 (c034f954)
rsp=0xc07d92e8 rfp=0xc07d9310
c034f888 (evcnt_attach_static)
scp=0xc034f888 rlv=0xc0226d1c (c0226d1c)
rsp=0xc07d9314 rfp=0xc07d9340
r6=0xc07eb504 r5=0xc07eb504
r4=0x00000001
c0226c9c (ep93xx_intr_init - calls evcnt_attach_dynamic tail recursion
elimination makes it look like evcnt_attach_static)
scp=0xc0226c9c rlv=0xc038df40 (c038df40)
rsp=0xc07d9344 rfp=0xc07d937c
r10=0xc07f3694 r9=0xc07f3760
r8=0x00000003 r7=0x001fc000 r6=0xc07f3768 r5=0xc07f3690
r4=0x00000000
c038d84c (initarm)
scp=0xc038d84c rlv=0xc0200154 (c0200154)
rsp=0xc07d9380 rfp=0x00000000
r10=0x0000000a r9=0x00000009
r8=0x00200024 r7=0x00000007 r6=0x00000006 r5=0x00000005
r4=0x00200128
Home |
Main Index |
Thread Index |
Old Index