From owner-freebsd-arm@freebsd.org Thu Sep 12 14:35:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA542F7AF8 for ; Thu, 12 Sep 2019 14:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ThCC42qSz4Ky2 for ; Thu, 12 Sep 2019 14:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E90120253 for ; Thu, 12 Sep 2019 14:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8CEZprS083666 for ; Thu, 12 Sep 2019 14:35:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8CEZpOv083665 for freebsd-arm@FreeBSD.org; Thu, 12 Sep 2019 14:35:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 12 Sep 2019 14:35:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: me@mko.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2019 14:35:51 -0000 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 ---<>--- 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: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on ofw= bus0 rk3399_pmucru0: mem 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: 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.=