From owner-freebsd-current@freebsd.org Wed Dec 21 11:58:52 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD477C89B33 for ; Wed, 21 Dec 2016 11:58:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54A4D15C0; Wed, 21 Dec 2016 11:58:52 +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 uBLBwklL069356 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 21 Dec 2016 13:58:46 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua uBLBwklL069356 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id uBLBwkY8069355; Wed, 21 Dec 2016 13:58:46 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 21 Dec 2016 13:58:46 +0200 From: Konstantin Belousov To: Steve Wills Cc: John Baldwin , freebsd-current@freebsd.org, Adrian Chadd , Slawa Olhovchenkov Subject: Re: Enabling NUMA in BIOS stop booting FreeBSD Message-ID: <20161221115846.GJ94325@kib.kiev.ua> References: <20161214102711.GF94325@kib.kiev.ua> <20161215224500.GM98176@zxy.spb.ru> <1995191.rPAPaoHxgb@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 21 Dec 2016 11:58:52 -0000 On Tue, Dec 20, 2016 at 04:49:29PM -0500, Steve Wills wrote: > Hi, > > On 12/16/2016 16:20, John Baldwin wrote: > > On Thursday, December 15, 2016 03:57:58 PM Adrian Chadd wrote: > >> heh, an updated BIOS that solves the problem will solve the problem. :) > >> > >> I think you have enough information to provide to supermicro. Ie, > >> "SMAP says X, when physical memory pages at addresses X are accessed, > >> they don't behave like memory, maybe something is wrong". > >> > >> All I can think of is some hack to add a blacklist for that region so > >> you can boot the unit. But it makes me wonder what else is going on. > > > > We have the blacklist: it is the memory test. That is the way to workaround > > this type of BIOS breakage. This is just the first time in over a decade that > > test has been relevant. > > I've got a SuperMicro X10SRA board that I bought back in March, I think. > It was run CURRENT fine since then, until last month, when it started > hanging during boot. I was about to update it to a new version of > CURRENT when it started hanging at boot, but hadn't updated yet. The > hang is after (verbose boot): What is the exact version of the kernel you are running and which hangs ? Try to bisect. Do you have EARLY_AP_STARTUP option in the kernel config ? > > ACPI APIC Table: > Package ID shift: 4 > L3 cache ID shift: 4 > L2 cache ID shift: 1 > L1 cache ID shift: 1 > Core ID shift: 1 Send NMI with 'ipmi power diag' and show the machine state from ddb. > > Recently I've tried booting 9.3 and 10.3 on it without success. Other > operating systems boot fine. Thinking the hang was similar to the one in > this thread (or at least the board is), I tried many different BIOS > changes and also tried enabling the memory test, but none of that > changes anything. This is a single socket board so there are no NUMA or > memory interleaving options in the BIOS. The BIOS is up to date (2.0a). > It will boot if SMP is disabled. That's obviously sub-optimal, but is > useful for building updated kernels, which I've tried. If anyone has any > suggestions or ideas, I'd appreciate it. > > Thanks, > Steve >