Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: earmv6hf 201711030230Z panic after starting ntpd
On 11/03/17 22:35, Jun Ebihara wrote:
with nyftp earmv6hf 20171103230Z on RPI3
https://twitter.com/ebijun/status/926570380268941312
Starting ntpd
panic: kernel diagnostic assertion "delta > sc->sc_autoinc / 100" failed: file "/usr/src/sys/arch/arm/cortex/gtmr.c", line 322 cpu1: Interrupting too quickly (delta=40) autoinc=192000
cpu1: Begin traceback...
0x80b0fda4: netbsd:db_panic+0xc
0x80b0fdbc: netbsd:vpanic+0x1b4
0x00b0fdd4: netbsd:__udlvmoddi4
0x80b0fe4c: netbsd:gtmr_intr+0x1e4
0x80b0fe7c: netbsd:pic_dispatch+0x90
0x80b0ff04: netbsd:pic_do_pending_ints+0x2bc
0x80b0ff6c: netbsd:irq_entry+0x60
0x80boff94: netbsd:idle_loop*0x170
cpu1: End traceback...
Does this patch help?
Nick
Index: sys/arch/arm/cortex/a9_mpsubr.S
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/cortex/a9_mpsubr.S,v
retrieving revision 1.51
diff -u -p -r1.51 a9_mpsubr.S
--- sys/arch/arm/cortex/a9_mpsubr.S 22 Sep 2017 06:31:02 -0000 1.51
+++ sys/arch/arm/cortex/a9_mpsubr.S 4 Nov 2017 10:10:14 -0000
@@ -357,6 +357,10 @@ cortex_init:
teq r0, #(PSR_HYP32_MODE) /* Hyp Mode? */
bne 1f
+ /* Set CNTVOFF to 0 */
+ mov r0, #0
+ mcrr p15, 4, r0, r0, c14
+
/* Ensure that IRQ, and FIQ will be disabled after eret */
mrs r0, cpsr
bic r0, r0, #(PSR_MODE)
Home |
Main Index |
Thread Index |
Old Index