Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2019 14:35:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 240538] Rock Pi 4 runtime time error panic: clknode_init_parent_idx: Invalid parent index 5 for clock sclk_sdmmc
Message-ID:  <bug-240538-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240538

            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@FreeBSD.org
          Reporter: me@mko.io

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


Loading kernel...                                                        :=
=20=20=20=20=20
/boot/kernel/k0rnel text=3D0x9538ac data=3D0x193f50+0x778414
syms=3D[0x8+0x13b690+0x8+
0x126eke]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
8+
Loading configured modules...    3                                      690=
+0=20=20=20
can't find '/boot/entropy'       4=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
Using DTB pr/vided by EFI at 0x80f0000.                                 ;=
=20=20=20=20=20=20=20
---<<BOOT>>---                             H=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
?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 devi=
ce
because it was not yet seeded and the knob 'bypass_before_seeding' was enab=
led.
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 ofw=
bus0
rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem
0xff750000-0xff750fff on ofwbus0
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760f=
ff
on ofwbus0
panic: clknode_init_parent_idx: Invalid parent index 5 for clock sclk_sdmmc
cpuid =3D 0
time =3D 1
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x28
         pc =3D 0xffff00000071b018  lr =3D 0xffff00000010ffe8
         sp =3D 0xffff000000010450  fp =3D 0xffff000000010660

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240538-7>