NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55889: panic when boot GENERIC64 kernel on RaspberryPi4 (without RPi4_UEFI_Firmware)
> A crude workaround is to skip bcm2836mp_intr_init() for aarch64.
-current kernel can boot with your patch. Thank you.
> The percpu allocation needs to synchronize with other CPUs and this fails because the process isn't correctly initialized as LSONPROC yet.
I add aprint_normal() at l->l_stat = LSONPROC in kern_synch.c, kern_softint.c,
kern_sleepq.c, kern_lwp.c and make kernel and boot several times.
Panic occured after kern_softint.c:softint_dispatch().
I add KASSERT(1==0) at softint_dispatch(), I got following trace.
[ 1.4669126] panic: kernel diagnostic assertion "1==0" failed: file "/curren
t/netbsd/c/src/sys/kern/kern_softint.c", line 803
[ 1.4669126] cpu0: Begin traceback...
[ 1.4669126] trace fp ffffc00060e6fbd0
[ 1.4669126] fp ffffc00060e6fc00 vpanic() at ffffc000004e59cc netbsd:vpanic+
0x14c
[ 1.4669126] fp ffffc00060e6fc60 kern_assert() at ffffc0000080bc7c netbsd:ke
rn_assert+0x5c
[ 1.4669126] fp ffffc00060e6fd30 softint_dispatch() at ffffc000004b26d8 netb
sd:softint_dispatch+0x88
[ 1.4669126] fp ffffc000011b2a90 cpu_switchto_softint() at ffffc0000008c718
netbsd:cpu_switchto_softint+0x6c
[ 1.4669126] tf ffffc000011b2ae0 el1_trap() at ffffc00000092f84 netbsd:el1_t
rap
[ 1.4669126] ---- trapframe 0xffffc000011b2ae0 (304 bytes) ----
[ 1.4669126] pc=ffffc00000087674, spsr=0000000000000005
[ 1.4669126] esr=0000000000000000, far=0000000000000000
[ 1.4669126] x0=000000000000000e, x1=000000000000000e
[ 1.4669126] x2=0000000000000000, x3=0000000000000000
[ 1.4669126] x4=ffffc00001195998, x5=ffffc00000e2e980
[ 1.4669126] x6=0000000000000000, x7=0000000000000007
[ 1.4669126] x8=ffffc000011b2e20, x9=00000000ffffffc8
[ 1.4669126] x10=ffffc00000bd4e58, x11=000000000000003f
[ 1.4669126] x12=fffffc0003ebbbe8, x13=fffffc0003ebbbed
[ 1.4669126] x14=0000000044ca02be, x15=ffffc000011b2e50
[ 1.4669126] x16=ffffc000008001e8, x17=ffffc00000b4a768
[ 1.4669126] x18=000000000000000f, x19=0000000000000000
[ 1.4669126] x20=0000000000000001, x21=ffffc00001195980
[ 1.4669126] x22=ffffc00001195900, x23=ffffc000011a9e90
[ 1.4669126] x24=0000000000000001, x25=ffffc000011a9000
[ 1.4669126] x26=0000000000000002, x27=0000000000000050
[ 1.4669126] x28=000000003297c000, fp=x29=ffffc000011b2e10
[ 1.4669126] lr=x30=ffffc00000087678, sp=ffffc000011b2e10
[ 1.4669126] ------------------------------------------------
[ 1.4669126] fp ffffc000011b2e10 cpu_boot_secondary_processors() at ffffc000
00087674 netbsd:cpu_boot_secondary_processors+0xe4
[ 1.4669126] fp ffffc000011b2e60 main() at ffffc0000080bfe8 netbsd:main+0x36
8
[ 1.4669126] fp 0000000000000000 aarch64_start() at ffffc0000000187c netbsd:
aarch64_start+0x107c
[ 1.4669126] cpu0: End traceback...
Stopped in pid 0.5 (system) at netbsd:cpu_Debugger+0x4: ret
db{0}>
Home |
Main Index |
Thread Index |
Old Index