From owner-freebsd-current@freebsd.org Thu Oct 18 18:26:48 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 0CEEFEFDBA5 for ; Thu, 18 Oct 2018 18:26:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7444676903; Thu, 18 Oct 2018 18:26:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id w9IIQa6f027411 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Oct 2018 21:26:39 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w9IIQa6f027411 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w9IIQZ4W027410; Thu, 18 Oct 2018 21:26:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 18 Oct 2018 21:26:35 +0300 From: Konstantin Belousov To: Mike Tancsa Cc: FreeBSD-Current , Konstantin Belousov Subject: Re: boot hang at r339386 Message-ID: <20181018182635.GB5335@kib.kiev.ua> References: <52b5186f-8c93-8702-450f-4a35290549c9@sentex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <52b5186f-8c93-8702-450f-4a35290549c9@sentex.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 18 Oct 2018 18:26:48 -0000 On Thu, Oct 18, 2018 at 11:12:11AM -0400, Mike Tancsa wrote: > > On r339386 I am seeing a 100% hang at boot up time.  Boot ends at > > 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-ALPHA10 r339415 GENERIC 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(vga): resolution 640x480 > CPU: AMD Ryzen 5 1600X Six-Core Processor            (3593.34-MHz > K8-class CPU) >   Origin="AuthenticAMD"  Id=0x800f11  Family=0x17  Model=0x1  Stepping=1 >   > Features=0x178bfbff >   > Features2=0x7ed8320b >   AMD Features=0x2e500800 >   AMD > Features2=0x35c233ff >   Structured Extended > Features=0x209c01a9 >   XSAVE Features=0xf >   AMD Extended Feature Extensions ID EBX=0x1007 >   SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 >   TSC: P-state invariant, performance statistics > real memory  = 34359738368 (32768 MB) > avail memory = 33255837696 (31715 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs > FreeBSD/SMP: 1 package(s) x 2 cache groups x 3 core(s) x 2 hardware threads > random: unblocking device. > Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid > Length but zero Address: 0x0000000000000000/0x1 (20181003/tbfadt-796) > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-55 on motherboard > Launching APs: 10 1 2 3 9 11 8 5 7 6 4 > Timecounter "TSC-low" frequency 1796668938 Hz quality 1000 > random: entropy device external interface > module_register_init: MOD_LOAD (vesa, 0xffffffff810e6a80, 0) error 19 > kbd1 at kbdmux0 > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > netmap: loaded module > [ath_hal] loaded > nexus0 > vtvga0: on motherboard > aesni0: on motherboard > cryptosoft0: on motherboard > acpi0: on motherboard > > Adding boot verbose, shows the lines below before the hang. > > > ACPI: 7 ACPI AML tables successfully acquired and loaded > PCIe: Memory Mapped configuration base @ 0xf8000000 > > The box is hard locked up and I cannot break to debugger either. > > Going back to r339385 works. But going to the next commit hangs the box > > https://lists.freebsd.org/pipermail/svn-src-head/2018-October/118853.html Try the patch at https://reviews.freebsd.org/D17612