From owner-freebsd-current@freebsd.org Tue Aug 14 16:04:59 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FEC1107C7F0 for ; Tue, 14 Aug 2018 16:04:59 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2083576CA1 for ; Tue, 14 Aug 2018 16:04:58 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [10.101.2.76] (unknown [176.12.107.132]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 08B12721BBD15 for ; Tue, 14 Aug 2018 18:04:55 +0200 (CEST) From: Michael Tuexen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Panic in efi_get_time() on EPCY system when booting Message-Id: <697FCAD9-6295-4F84-8B3E-269255520844@freebsd.org> Date: Tue, 14 Aug 2018 18:04:53 +0200 To: FreeBSD Current X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 16:05:00 -0000 Dear all, r337761 panics on boot with a GENERIC kernel on a EPYC system: Copyright (c) 1992-2018 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 12.0-ALPHA1 #3 r337761: Tue Aug 14 17:59:05 CEST 2018 tuexen@epyc.nplab.de:/usr/home/tuexen/head/sys/amd64/compile/TCP = amd64 FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on = LLVM 6.0.1) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 1024x768 CPU: AMD EPYC 7551P 32-Core Processor (2000.05-MHz = K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x800f12 Family=3D0x17 Model=3D0x1 = Stepping=3D2 = Features=3D0x178bfbff = Features2=3D0x7ed8320b AMD Features=3D0x2e500800 AMD = Features2=3D0x35c233ff Structured Extended = Features=3D0x209c01a9 XSAVE Features=3D0xf AMD Extended Feature Extensions ID = EBX=3D0x1007 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 TSC: P-state invariant, performance statistics real memory =3D 137438953472 (131072 MB) avail memory =3D 133661786112 (127469 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: < > FreeBSD/SMP: Multiprocessor System Detected: 64 CPUs FreeBSD/SMP: 1 package(s) x 4 groups x 2 cache groups x 4 core(s) x 2 = hardware threads random: unblocking device. ioapic0: Changing APIC ID to 128 ioapic1: Changing APIC ID to 129 ioapic2: Changing APIC ID to 130 ioapic3: Changing APIC ID to 131 ioapic4: Changing APIC ID to 132 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard ioapic2 irqs 56-87 on motherboard ioapic3 irqs 88-119 on motherboard ioapic4 irqs 120-151 on motherboard Launching APs: 14 6 52 16 28 44 42 36 20 13 37 4 54 15 21 5 55 18 30 8 = 26 9 29 58 53 10 56 38 31 11 49 46 22 48 43 12 35 45 41 23 39 51 32 24 = 27 61 63 33 1 62 60 7 59 40 34 47 2 3 17 19 50 25 57 Timecounter "TSC" frequency 2000054700 Hz quality 1000 random: entropy device external interface netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff81126100, 0) error 19 kbd1 at kbdmux0 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 panic: mutex pmap not owned at ../../../amd64/amd64/efirt_machdep.c:268 cpuid =3D 60 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xffffffff826ce810 vpanic() at vpanic+0x1a3/frame 0xffffffff826ce870 panic() at panic+0x43/frame 0xffffffff826ce8d0 __mtx_assert() at __mtx_assert+0xb4/frame 0xffffffff826ce8e0 efi_arch_enter() at efi_arch_enter+0x30/frame 0xffffffff826ce910 efi_get_time() at efi_get_time+0xbd/frame 0xffffffff826ce960 efirtc_probe() at efirtc_probe+0x17/frame 0xffffffff826ce990 device_probe_child() at device_probe_child+0x164/frame = 0xffffffff826ce9f0 device_probe() at device_probe+0x98/frame 0xffffffff826cea20 device_probe_and_attach() at device_probe_and_attach+0x32/frame = 0xffffffff826cea50 bus_generic_attach() at bus_generic_attach+0x18/frame 0xffffffff826cea70 device_attach() at device_attach+0x3f3/frame 0xffffffff826ceab0 device_probe_and_attach() at device_probe_and_attach+0x71/frame = 0xffffffff826ceae0 bus_generic_new_pass() at bus_generic_new_pass+0xdd/frame = 0xffffffff826ceb10 bus_set_pass() at bus_set_pass+0x8c/frame 0xffffffff826ceb40 configure() at configure+0x9/frame 0xffffffff826ceb50 mi_startup() at mi_startup+0x118/frame 0xffffffff826ceb70 btext() at btext+0x2c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why db>=20 Any idea what is wrong? Best regards Michael