NetBSD-Bugs archive

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

port-arm/53967: CURRENT crashes on Raspberry Pi 3



>Number:         53967
>Category:       port-arm
>Synopsis:       CURRENT crashes on Raspberry Pi 3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 10 04:30:00 +0000 2019
>Originator:     Dustin Marquess
>Release:        8.99.34
>Organization:
N/A
>Environment:
NetBSD 8.99.34 (GENERIC64) #0: Sat Feb  9 08:08:32 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
>Description:
Using NetBSD-evbarm-aarch64-201902090820Z-generic.img from http://www.invisible.ca/arm/ or ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201902091930Z/evbarm-aarch64/binary/gzimg/arm64.img.gz on a Raspberry PI 3, the kernel crashes every time with:

[   1.9934452] cpu_boot_secondary_processors: secondary processors hatched
[   2.0434498] sdmmc0 at sdhost0
[   2.0434498] sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[   2.0544874] sdmmc1 at sdhc0 slot 0
[   2.0544874] usb0 at dwctwo0: USB revision 2.0
[   2.0657679] panic: kernel assertion "src != ((void *)0)" failed: file "/usr/src/sys/lib/libkern/../../../common/lib/libc/string/strlcpy.c", line 61
[   2.0744897] cpu1: Begin traceback...
[   2.0844910] trace fp ffffffc0331fbb80
[   2.0844910] fp ffffffc0331fbba0 vpanic() at ffffffc00045eca8 netbsd:vpanic+0x198
[   2.0944911] fp ffffffc0331fbc00 kern_assert() at ffffffc00058e8e4 netbsd:kern_assert+0x5c
[   2.1044934] fp ffffffc0331fbc90 strlcpy() at ffffffc000572618 netbsd:strlcpy+0xc8
[   2.1044934] fp ffffffc0331fbcc0 pic_establish_intr() at ffffffc0000033e0 netbsd:pic_establish_intr+0x98
[   2.1144925] fp ffffffc0331fbd20 fdtbus_intr_establish_raw() at ffffffc00054dbb8 netbsd:fdtbus_intr_establish_raw+0x40
[   2.1244936] fp ffffffc0331fbd50 fdtbus_intr_establish() at ffffffc00054dc6c netbsd:fdtbus_intr_establish+0x44
[   2.1344938] fp ffffffc0331fbd90 pmu_fdt_init() at ffffffc00004af08 netbsd:pmu_fdt_init+0xc8
[   2.1444955] fp ffffffc0331fbea0 config_interrupts_thread() at ffffffc0004443a0 netbsd:config_interrupts_thread+0x60
address 0x100 is invalid
address 0xe8 is invalid
[   2.1644959] cpu1: End traceback...
Stopped in pid 0.45 (system) at netbsd:cpu_Debugger+0x4:        ret
db{1}> bt
trace tf 0xffffffc000cce8b0
---- trapframe 0xffffffc000cce8b0 (304 bytes) ----
    pc=ffffffc000068690,   spsr=0000000020000005
   esr=00000000f2000000,    far=d036a5b4ad5fdeba
    x0=0000000000000001,     x1=0000000000000000
    x2=ffffffc00000ee10,     x3=0000000000000001
    x4=0000000000000003,     x5=0000000000000000
    x6=0000000000000007,     x7=0000000000000000
    x8=0000000000000000,     x9=0000000000000006
   x10=0000000000000040,    x11=ffffffc0331fb930
   x12=ffffffc000444340,    x13=ffffffc000b4be75
   x14=ffffffc000adc920,    x15=ffff00003da3d044
   x16=ffffffc00072d858,    x17=0000000000000018
   x18=ffffffc000be8918,    x19=ffffffc000d51688
   x20=ffffffc000d516b0,    x21=0000000000000104
   x22=ffffffc0331fbc10,    x23=ffffffc0006ba5c8
   x24=ffffffc000d50000,    x25=0000000000000103
   x26=0000000000000000,    x27=ffffffc000070cb0
   x28=ffff00003d9a9600, fp=x29=ffffffc0331fbba0
lr=x30=ffffffc00045ecac,     sp=ffffffc0331fbba0
------------------------------------------------
fp ffffffc0331fbba0 cpu_Debugger() at ffffffc00006868c netbsd:cpu_Debugger
fp ffffffc0331fbc00 kern_assert() at ffffffc00058e8e4 netbsd:kern_assert+0x5c
fp ffffffc0331fbc90 strlcpy() at ffffffc000572618 netbsd:strlcpy+0xc8
fp ffffffc0331fbcc0 pic_establish_intr() at ffffffc0000033e0 netbsd:pic_establish_intr+0x98
fp ffffffc0331fbd20 fdtbus_intr_establish_raw() at ffffffc00054dbb8 netbsd:fdtbus_intr_establish_raw+0x40
fp ffffffc0331fbd50 fdtbus_intr_establish() at ffffffc00054dc6c netbsd:fdtbus_intr_establish+0x44
fp ffffffc0331fbd90 pmu_fdt_init() at ffffffc00004af08 netbsd:pmu_fdt_init+0xc8
fp ffffffc0331fbea0 config_interrupts_thread() at ffffffc0004443a0 netbsd:config_interrupts_thread+0x60
address 0x100 is invalid
address 0xe8 is invalid
db{1}>
>How-To-Repeat:
Load image on microSD and boot it
>Fix:



Home | Main Index | Thread Index | Old Index