Port-arm archive

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

Re: Kernel panic on earm



On 25/10/2018 11:39, Michael Blatt wrote:
Hi,

I'm trying to boot -current 8.99.25 of NetBSD/earm on my Marvell
Kirkwood-based NAS.

I guess this is after my arm generic work which was committed on Oct 18th.


I have run 7.0 and 8.0_BETA successfully on this device in the past,
but now I'm getting a kernel panic when booting:

[   8.2999799] Fatal kernel mode data abort: 'Alignment Fault 1'
[   8.2999799] trapframe: 0xcc7abbc8
[   8.2999799] FSR=00000001, FAR=cc7abddc, spsr=60000013
[   8.2999799] r0 =c29bbd00, r1 =cc7abdcc, r2 =00000000, r3 =00000000
[   8.2999799] r4 =c04f0604, r5 =000220e8, r6 =bfffdfd8, r7 =00000010
[   8.2999799] r8 =bbb0d180, r9 =bfffe0b0, r10=bbb17b65, r11=cc7abc44
[   8.2999799] r12=cc7abc48, ssp=cc7abc18, slr=c04f7f40, pc =c04f01d4

Stopped in pid 74.1 (ifconfig) at       c04f01d4:       strd    r2, [r1, #0x10]
db>

The unaligned double word store is trapping. Maybe I dropped a SCTLR flag or the userland is wrong. I'm not sure at this point.

boot -x or compiling in boothowto |= AB_DEBUG will give more useful output from the cpu state.

Nick


Home | Main Index | Thread Index | Old Index