From owner-freebsd-current@freebsd.org Wed Dec 14 19:29:51 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 B1752C80FFB for ; Wed, 14 Dec 2016 19:29:51 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 73E991554 for ; Wed, 14 Dec 2016 19:29:51 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1cHFFH-000PYn-I0; Wed, 14 Dec 2016 22:29:43 +0300 Date: Wed, 14 Dec 2016 22:29:43 +0300 From: Slawa Olhovchenkov To: Konstantin Belousov Cc: freebsd-current@freebsd.org Subject: Re: Enabling NUMA in BIOS stop booting FreeBSD Message-ID: <20161214192943.GG98176@zxy.spb.ru> References: <20161213152838.GL90287@zxy.spb.ru> <20161213172529.GC54029@kib.kiev.ua> <20161213174345.GB98176@zxy.spb.ru> <20161214095350.GE94325@kib.kiev.ua> <20161214102711.GF94325@kib.kiev.ua> <20161214105211.GC98176@zxy.spb.ru> <20161214113927.GG94325@kib.kiev.ua> <20161214121336.GD98176@zxy.spb.ru> <20161214152627.GF98176@zxy.spb.ru> <20161214190349.GJ94325@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161214190349.GJ94325@kib.kiev.ua> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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, 14 Dec 2016 19:29:51 -0000 On Wed, Dec 14, 2016 at 09:03:49PM +0200, Konstantin Belousov wrote: > On Wed, Dec 14, 2016 at 06:26:27PM +0300, Slawa Olhovchenkov wrote: > > On Wed, Dec 14, 2016 at 03:13:36PM +0300, Slawa Olhovchenkov wrote: > > > > > On Wed, Dec 14, 2016 at 01:39:27PM +0200, Konstantin Belousov wrote: > > > > > > > In other words, it is almost certainly the hang and not a fault causing > > > > hang. This means that the machine is not compliant with the IA32 > > > > architecture, in particular, the region reported as normal memory by > > > > E820 BIOS service does not behave as normal memory. > > > > > > > > Since regardless of the option setting, the memory map is same, and > > > > bootstrap page table only depend on the memory map, we use the same page > > > > table when hanging and when operating correctly. We do not fault or hang > > > > when the option is turned off, which together with the improved early > > > > fault handling in the patch, makes it almost certain that the problem is > > > > in hardware configuration and not in our early setup. > > > > > > > > Of course, the most puzzling part is that memory test makes the hang > > > > go away, while repeating memory test operation only on the msgbuf region > > > > does not. msgbuf is special in that it is located at TOHM (top of high > > > > memory). It spans 128KB from below it to the last byte of the last > > > > physical segment. > > > > > > > > The only ideas I have right now is that there is either a bug in the > > > > Caching Agent/Home agent/IMC configuration in BIOS, in which case there > > > > is nothing OS can do to mitigate it. Or it might be that the memory > > > > map reported by CMS is wrong (you said that you use legacy boot, right > > > > ?). This is not too surprising if true, because non-EFI boot code path > > > > definitely get less and less testing. > > > > > > > > For the later case (potential bug in CMS), could you switch to EFI boot > > > > mode and see whether the issue magically healths itself ? You could boot > > > > from USB stick in EFI mode without reinstalling for test. > > > > > > I can't boot from USB stick -- this is remote DC and IPMI allow only > > > CDROM emulation. > > > > > > OK, I am boot in UEFI 12.0 snapshot ISO. > > > Boot ok. > > > > Sorry. Overload bu work and test wrong combination (NUMA=ON, > > interleave=OFF) > > > > snapshot iso don't boot with NUMA=ON interleave=ON > Ok. > > > > > For test hardware setup (NUMA+interleave), what ISO I can try to boot? > Didn't you already tried ? Different from FreeBSD. For sure about firmware problem and complains to Supermicro. I think FreeBSD problem don't be accepted by Supermicro.