NetBSD-Bugs archive

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

port-arm/54006: panic: kernel diagnostic assertion "pic == &bcm2836mp_pic[cpuid]" failed: file "/usr/src/sys/arch/arm/broadcom/bcm2835_intr.c", line 466



>Number:         54006
>Category:       port-arm
>Synopsis:       panic: kernel diagnostic assertion "pic == &bcm2836mp_pic[cpuid]" failed: file "/usr/src/sys/arch/arm/broadcom/bcm2835_intr.c", line 466
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 23 03:40:00 +0000 2019
>Originator:     Artturi Alm
>Release:        NetBSD 8.99.34 (GENERIC64) #0: Thu Feb 21 15:41:56 UTC 2019
>Organization:
>Environment:
fails before.
>Description:
[   1.0000000] uboot: args 0x2effab00, 0, 0, 0
[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] FDT /memory [0] @ 0x0 size 0x3b400000
[   1.0000000] initarm: memory start 0 end 3b400000 (len 3b400000)
[   1.0000000] initarm: fdt_build_bootconfig
[   1.0000000] Usable memory:
[   1.0000000]   1000 - 3b3fffff
[   1.0000000] Creating KSEG tables for 0x0000000000000000-0x000000003b400000
[   1.0000000] cpu_kernel_vm_init: kernel phys start 200000 end f5c000+8000
[   1.0000000] bootargs: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa020d3 bcm2709.serial=0x445c9935 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=29 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  root=ld0a console=fb
[   1.0000000] Memory regions:
[   1.0000000]   1000 - 1fffff
[   1.0000000]   f64000 - 3b3fffff
[   1.0000000] ------------------------------------------
[   1.0000000] kern_vtopdiff         = 0xffffffbfffe00000
[   1.0000000] physical_start        = 0x0000000000001000
[   1.0000000] kernel_start_phys     = 0x0000000000200000
[   1.0000000] kernel_end_phys       = 0x0000000000f5c000
[   1.0000000] msgbuf                = 0x000000003b3f0000
[   1.0000000] physical_end          = 0x000000003b400000
[   1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000
[   1.0000000] kernel_start_l2       = 0xffffffc000000000
[   1.0000000] kernel_start          = 0xffffffc000000000
[   1.0000000] kernel_end            = 0xffffffc000d5c000
[   1.0000000] pagetables            = 0xffffffc000d5c000
[   1.0000000] pagetables_end        = 0xffffffc000d64000
[   1.0000000] kernel_end_l2         = 0xffffffc000e00000
[   1.0000000] module_start          = 0xffffffc000e00000
[   1.0000000] module_end            = 0xffffffc002e00000
[   1.0000000] (kernel va area)
[   1.0000000] (devmap va area)      = 0xfffffffff0000000
[   1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffffffe00000
[   1.0000000] ------------------------------------------
[   1.0000000] mpstart
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 8.99.34 (GENERIC64) #0: Thu Feb 21 15:41:56 UTC 2019
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 934 MB
[   1.0000000] avail memory = 904 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Raspberry Pi 3 Model B Plus Rev 1.3
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] simplebus3 at simplebus1
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus4 at simplebus0
[   1.0000000] cpu0 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[   1.0000000] cpu0: package 0, core 0, smt 0
[   1.0000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[   1.0000000] cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[   1.0000000] cpu0: Dcache line 64, Icache line 64
[   1.0000000] cpu0: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[   1.0000000] cpu0: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[   1.0000000] cpu0: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[   1.0000000] cpu0: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[   1.0000000] cpu0: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[   1.0000000] cpu1 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[   1.0000000] cpu1: package 0, core 1, smt 0
[   1.0000000] cpu2 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[   1.0000000] cpu2: package 0, core 2, smt 0
[   1.0000000] cpu3 at cpus0: Cortex-A53 r0p4 (Cortex V8-A core)
[   1.0000000] cpu3: package 0, core 3, smt 0
[   1.0000000] bcmicu0 at simplebus1
[   1.0000000] bcmicu1 at simplebus1: Multiprocessor
[   1.0000000] fclock0 at simplebus2: 19200000 Hz fixed clock (osc)
[   1.0000000] bcmcprman0 at simplebus1: BCM283x Clock Controller
[   1.0000000] bcmaux0 at simplebus1
[   1.0000000] fclock1 at simplebus2: 480000000 Hz fixed clock (otg)
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on local_intc irq 3
[   1.0000000] armgtmr0 at gtmr0: ARM Generic Timer (19200 kHz)
[   1.0000030] plcom0 at simplebus1: ARM PL011 UART
[   1.0000030] plcom0: txfifo disabled
[   1.0000030] plcom0: interrupting on icu irq 185
[   1.0000030] com0 at simplebus1: BCM AUX UART, working fifo
[   1.0000030] com0: console
[   1.0000030] com0: interrupting on icu irq 157
[   1.0000030] /soc/thermal@7e212000 at simplebus1 not configured
[   1.0000030] /soc/dsi@7e209000 at simplebus1 not configured
[   1.0000030] bcmgpio0 at simplebus1: GPIO controller
[   1.0000030] bcmgpio0: pins 0..31 interrupting on icu irq 177
[   1.0000030] bcmgpio0: pins 32..54 interrupting on icu irq 178
[   1.0000030] gpio0 at bcmgpio0: 54 pins
[   1.0000030] /soc/firmware/gpio at simplebus3 not configured
[   1.0000030] bcmdmac0 at simplebus1: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
[   1.0000030] /soc/power at simplebus1 not configured
[   1.0000030] mmcpwrseq0 at simplebus0: couldn't get reset GPIOs
[   1.0000030] bsciic0 at simplebus1: Broadcom Serial Controller
[   1.0000030] iic0 at bsciic0: I2C bus
[   1.0000030] /phy at simplebus0 not configured
[   1.0000030] bcmmbox0 at simplebus1: VC mailbox
[   1.0000030] bcmmbox0: interrupting on icu irq 193
[   1.0000030] vcmbox0 at bcmmbox0
[   1.0000030] sdhost0 at simplebus1: SD HOST controller
[   1.0000030] sdhost0: interrupting on icu irq 184
[   1.0000030] bsciic1 at simplebus1: Broadcom Serial Controller
[   1.0000030] iic1 at bsciic1: I2C bus
[   1.0000030] /soc/pwm@7e20c000 at simplebus1 not configured
[   1.0000030] sdhc0 at simplebus1: SDHC controller
[   1.0000030] sdhc0: interrupting on icu irq 190
[   1.0000030] bsciic2 at simplebus1: Broadcom Serial Controller
[   1.0000030] iic2 at bsciic2: I2C bus
[   1.0000030] /soc/vec@7e806000 at simplebus1 not configured
[   1.0000030] /soc/hdmi@7e902000 at simplebus1 not configured
[   1.0000030] dwctwo0 at simplebus1: USB controller
[   1.0000030] dwctwo0: interrupting on icu irq 137
[   1.0000030] /soc/gpu at simplebus1 not configured
[   1.0000030] genfb0 at simplebus1rpi_fb_init: addr = 0xfe876000 size = 3686400
[   1.0000030] rpi_fb_init: depth = 32
[   1.0000030] rpi_fb_init: pitch = 5120
[   1.0000030] rpi_fb_init: width = 1280 height = 720
[   1.0000030] rpi_fb_init: vwidth = 1280 vheight = 720
[   1.0000030] : switching to framebuffer console
[   1.0000030] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[   1.0000030] /soc/vchiq at simplebus1 not configured
[   1.0000030] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000030] gpioleds0 at simplebus0: ACT
[   1.0000030] /soc/timer@7e003000 at simplebus1 not configured
[   1.0000030] /soc/txp@7e004000 at simplebus1 not configured
[   1.0000030] watchdog0 at simplebus1: Power management, Reset and Watchdog controller
[   1.0000030] bcmrng0 at simplebus1: RNG
[   1.0000030] /soc/mailbox@7e00b840 at simplebus1 not configured
[   1.0000030] cpu_boot_secondary_processors: writing mbox with 0xe
[   1.4281043] cpu2: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[   1.4371799] cpu2: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[   1.4471820] cpu2: Dcache line 64, Icache line 64
[   1.4571819] cpu2: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[   1.4671838] cpu2: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[   1.4871865] cpu2: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[   1.4971860] cpu2: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[   1.5071877] cpu2: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[   1.5271897] cpu3: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[   1.5371897] cpu3: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[   1.5471917] cpu3: Dcache line 64, Icache line 64
[   1.5571916] cpu3: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[   1.5671935] cpu3: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[   1.5871953] cpu3: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[   1.5971960] cpu3: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[   1.6171980] cpu3: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[   1.6271997] cpu1: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[   1.6472013] cpu1: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[   1.6572020] cpu1: Dcache line 64, Icache line 64
[   1.6672038] cpu1: L1 32KB/64B 2-way read-allocate VIPT Instruction cache
[   1.6772039] cpu1: L1 32KB/64B 4-way write-back read-allocate write-allocate PIPT Data cache
[   1.6972058] cpu1: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT Unified cache
[   1.7072072] cpu1: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[   1.7272099] cpu1: auxID=0x10000, FP, CRC32, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[   1.7372097] cpu_boot_secondary_processors: secondary processors hatched
[   1.8081252] sdmmc0 at sdhost0
[   1.8181613] sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[   1.8281286] sdmmc1 at sdhc0 slot 0
[   1.8281286] usb0 at dwctwo0: USB revision 2.0
[   1.8281286] panic: kernel diagnostic assertion "pic == &bcm2836mp_pic[cpuid]" failed: file "/usr/src/sys/arch/arm/broadcom/bcm2835_intr.c", line 466 
[   1.8481306] cpu1: Begin traceback...
[   1.8481306] trace fp ffffffc0326fbb70
[   1.8581333] fp ffffffc0326fbb90 vpanic() at ffffffc00045f9a0 netbsd:vpanic+0x198
[   1.8581333] fp ffffffc0326fbbf0 kern_assert() at ffffffc00058eae4 netbsd:kern_assert+0x5c
[   1.8681328] fp ffffffc0326fbc80 bcm2836mp_pic_unblock_irqs() at ffffffc00000f324 netbsd:bcm2836mp_pic_unblock_irqs+0x13c
[   1.8781346] fp ffffffc0326fbcc0 pic_establish_intr() at ffffffc000003514 netbsd:pic_establish_intr+0x1cc
[   1.8881350] fp ffffffc0326fbd20 fdtbus_intr_establish_raw() at ffffffc00054dd00 netbsd:fdtbus_intr_establish_raw+0x40
[   1.9081374] fp ffffffc0326fbd50 fdtbus_intr_establish() at ffffffc00054ddb4 netbsd:fdtbus_intr_establish+0x44
[   1.9181390] fp ffffffc0326fbd90 pmu_fdt_init() at ffffffc00004af30 netbsd:pmu_fdt_init+0xc8
[   1.9281401] fp ffffffc0326fbea0 config_interrupts_thread() at ffffffc000445090 netbsd:config_interrupts_thread+0x60
address 0x100 is invalid
address 0xe8 is invalid
[   1.9381413] cpu1: End traceback...
Stopped in pid 0.45 (system) at netbsd:cpu_Debugger+0x4:        ret
db{1}> 

>How-To-Repeat:
try to boot latest generic img for aarch64 from invisible.ca/arm on rpi3bp.
>Fix:



Home | Main Index | Thread Index | Old Index