[Bug 240538] Rock Pi 4 runtime time error panic: clknode_init_parent_idx: Invalid parent index 5 for clock sclk_sdmmc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 12 14:35:51 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240538

            Bug ID: 240538
           Summary: Rock Pi 4 runtime time error panic:
                    clknode_init_parent_idx: Invalid parent index 5 for
                    clock sclk_sdmmc
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: me at mko.io

I'm build GENERIC-MMCCAM kernel on Most recent current branch. I've encountered
the following error, seems like eMMC related bug


Loading kernel...                                                        :     
/boot/kernel/k0rnel text=0x9538ac data=0x193f50+0x778414
syms=[0x8+0x13b690+0x8+
0x126eke]                                                                    
8+
Loading configured modules...    3                                      690+0   
can't find '/boot/entropy'       4                                             
Using DTB pr/vided by EFI at 0x80f0000.                                 ;       
---<<BOOT>>---                             H                                  
?KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT bca42693442-c262673(master) GENERIC-MMCCAM arm64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM
8.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
Starting CPU 4 (100)
Starting CPU 5 (101)
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device
because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
random: entropy device external interface
MAP f4f2a000 mode 2 pages 1
MAP f4f2c000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem
0xff750000-0xff750fff on ofwbus0
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff
on ofwbus0
panic: clknode_init_parent_idx: Invalid parent index 5 for clock sclk_sdmmc
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x28
         pc = 0xffff00000071b018  lr = 0xffff00000010ffe8
         sp = 0xffff000000010450  fp = 0xffff000000010660

db_trace_self_wrapper() at vpanic+0x18c
         pc = 0xffff00000010ffe8  lr = 0xffff000000400470
         sp = 0xffff000000010670  fp = 0xffff000000010720

vpanic() at panic+0x44
         pc = 0xffff000000400470  lr = 0xffff000000400220
         sp = 0xffff000000010730  fp = 0xffff0000000107b0

panic() at clknode_init_parent_idx+0x5c
         pc = 0xffff000000400220  lr = 0xffff0000001985e4
         sp = 0xffff0000000107c0  fp = 0xffff0000000107c0

clknode_init_parent_idx() at rk_clk_composite_init+0x138
         pc = 0xffff0000001985e4  lr = 0xffff000000772e74
         sp = 0xffff0000000107d0  fp = 0xffff000000010800

rk_clk_composite_init() at clknode_register+0x60
         pc = 0xffff000000772e74  lr = 0xffff000000198518
         sp = 0xffff000000010810  fp = 0xffff000000010830

clknode_register() at rk_clk_composite_register+0x98
         pc = 0xffff000000198518  lr = 0xffff000000772d1c
         sp = 0xffff000000010840  fp = 0xffff000000010860

rk_clk_composite_register() at rk_cru_attach+0x160
         pc = 0xffff000000772d1c  lr = 0xffff000000772178
         sp = 0xffff000000010870  fp = 0xffff0000000108e0

rk_cru_attach() at device_attach+0x3ec
         pc = 0xffff000000772178  lr = 0xffff000000435e20
         sp = 0xffff0000000108f0  fp = 0xffff000000010940

device_attach() at device_probe_and_attach+0x7c
         pc = 0xffff000000435e20  lr = 0xffff00000043599c
         sp = 0xffff000000010950  fp = 0xffff000000010970

device_probe_and_attach() at bus_generic_attach+0x18
         pc = 0xffff00000043599c  lr = 0xffff0000004370ac
         sp = 0xffff000000010980  fp = 0xffff000000010990

bus_generic_attach() at ofwbus_attach+0x104
         pc = 0xffff0000004370ac  lr = 0xffff000000203c40
         sp = 0xffff0000000109a0  fp = 0xffff0000000109f0

ofwbus_attach() at device_attach+0x3ec
         pc = 0xffff000000203c40  lr = 0xffff000000435e20
         sp = 0xffff000000010a00  fp = 0xffff000000010a50

device_attach() at device_probe_and_attach+0x7c
         pc = 0xffff000000435e20  lr = 0xffff00000043599c
         sp = 0xffff000000010a60  fp = 0xffff000000010a80

device_probe_and_attach() at bus_generic_new_pass+0xec
         pc = 0xffff00000043599c  lr = 0xffff000000437a24
         sp = 0xffff000000010a90  fp = 0xffff000000010ac0

bus_generic_new_pass() at bus_generic_new_pass+0xd0
         pc = 0xffff000000437a24  lr = 0xffff000000437a08
         sp = 0xffff000000010ad0  fp = 0xffff000000010b00

bus_generic_new_pass() at bus_set_pass+0x8c
         pc = 0xffff000000437a08  lr = 0xffff0000004334fc
         sp = 0xffff000000010b10  fp = 0xffff000000010b40

bus_set_pass() at mi_startup+0x238
         pc = 0xffff0000004334fc  lr = 0xffff000000399fd0
         sp = 0xffff000000010b50  fp = 0xffff000000010bb0

mi_startup() at virtdone+0x54
         pc = 0xffff000000399fd0  lr = 0xffff000000001084
         sp = 0xffff000000010bc0  fp = 0x0000000000000000

KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at      0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list