From owner-freebsd-stable@freebsd.org Sun Oct 21 05:04:45 2018 Return-Path: Delivered-To: freebsd-stable@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 E0E39FCE022 for ; Sun, 21 Oct 2018 05:04:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-10.consmr.mail.gq1.yahoo.com (sonic315-10.consmr.mail.gq1.yahoo.com [98.137.65.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A31E7BA35 for ; Sun, 21 Oct 2018 05:04:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: P3yGGcwVM1l_HSjX0D8ng5EdbqnEz9XguxC1nynD_9j3v9gc2PTuf.wR4vRq0Vl bRR5ZCC4_.q0cM5r_OaAP0VJgCcbXDk_gn.EAbayITR1Ze6YpanFVPkLIKRcCE4ThtUseVR2f34t 8HwLhF8zIICTYDfBiFnYbyZvFfE66VmQ9bZR.PJllavbBr8wF3NGUfIDmZt2X2fRELWfEL3xkkd9 AxFg6IRyyV81GjQhBV_y9nfAPgmcGGRFDfUarHWz4zueyVqDrC2zvAahWggwAEz_qYMazyaZK.KV sMRHjXa7Y16CeJWMw.X5CEBceWCQpH1KVQbTTAxLnlpqHl.m_.w_kDo.AalUgiY7O5kXFkuxeqNC Ca2kPRsNWVmUCOPjkbtJrZr7xYNpKzudiyD__0XhwnAzYvsF3q7H4_cDVlp.h6P67Eeb0yADod_Y R2b1GxIwjlWwCt1ser2QVNjHKmC7neA5MbrbMSa0ap2NeEnxawauyfBlsGtnsrBVBBkSyQKtO4ti fL4yqYZnPd9.f1kYNPxhEpPZ_VTwLnT3b5z1MDe8GVrph8bdq37k.JeBlDp2yWyIAFX61tGs8aoe IAovRvkQT9u.IcejPMIc683biLCjCafItptQ3ILO2c0.sw4M3ozYP3k1U2tQDHVVRQ67BZVlUtxN 8asdBujo.VVzXfOd2j1lUNXU_Yy1cgnbs3nYKiVyQkUHOgoDt2UkbKDDXyYoFhlIhaqGhGcjndXh BZpO31YeLSih8.tftX.rboEy_5nCreCkFlUzrsNIHdQh4bm0EFmgtyswtmAfvnMJ8wnNaXDp5JBR YptNvDpAmzwPKKAPH4RLtoTe5nZ.LxAo0PB_PicBc8u6.xEIP9IWN_mb.pxiRRrLGyQR_pzoRXG8 0d..cs8ZaKW2TV7RSsMuoj3ASnXBv6DfVtIwkGNAzYQiRSYpGJq90SK5yYDun4EJrmssr6uIYcum ZeAhfKtPfdkTC0rwZEFEU.UDOeBW9dQsC5vcPCGIkIwXXsGWzpxrMTDnwOhh5NB72yutP6ykaDJl EqEaym1GH5U.9AZMjdOa5fDQM1v6pxwWQhIKCVaj44vPYHBMj4nt6JaTjwjD8VmCrujO_piE1gU. 5YkxB_Z0. Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sun, 21 Oct 2018 05:04:42 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp428.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5bc75eeb86c3ebe70c4e718968e9b5b0; Sun, 21 Oct 2018 05:04:37 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: head -r339076's boot loader fails to boot threadripper 1950X system (BTX halted); an earlier version works [ -r336532 broke it ] Date: Sat, 20 Oct 2018 22:04:36 -0700 References: <2A425DE4-2B5B-474D-8B95-81890DE4D8A1@yahoo.com> To: Warner Losh , FreeBSD Current , freebsd-stable@freebsd.org In-Reply-To: <2A425DE4-2B5B-474D-8B95-81890DE4D8A1@yahoo.com> Message-Id: <9D2A6528-F888-4833-A52B-8F9B4D66592C@yahoo.com> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2018 05:04:45 -0000 [I found what change lead to the 1950X boot crashing with BTX halted.] On 2018-Oct-20, at 12:44 PM, Mark Millard wrote: > [Adding some vintage information for a loader > that allowed a native boot.] > > On 2018-Oct-20, at 4:00 AM, Mark Millard wrote: > >> I attempted to jump from head -r334014 to -r339076 >> on a threadripper 1950X board and the native >> FreeBSD boot failed very early. (Hyper-V use of >> the same media did not have this issue.) >> >> But copying over an older /boot/loader from another >> storage device with a FreeBSD head version that has >> not been updated yet got past the problem being >> reported here. (For other reasons, the kernel has >> been moved back to -r338804 --and with that, >> and the older /boot/loader, the 1950X native-boots >> FreeBSD all the way just fine.) > > I found one /boot/loader.old that was dated > in the update'd file system as 2018-May 20, > instead of 2018-Apr-03 from the older file > system. May 20 would apparently mean a little > below -r334014 . It native-booted okay, as did > the April one. > > [I do not know how to inspect a /boot/loader* > to find out what -r?????? it is from.] > > Unfortunately, I had done more than one -r339076 > install from -r334014 before rebooting and > no -r334014 loaders were still present: > the other *.old files from a few minutes before > the ones I had the boot problem with. > > I might be able to extract loaders from various: > > https://artifact.ci.freebsd.org/snapshot/head/r*/amd64/amd64/base.txz > > materials and try substituting them in order to > narrow the range for works -> fails. If I can, > this likely would take a fair amount of time in > my context. > > Other notes: > > It turns out that only Hyper-V based use needed > a -r334804 kernel: Native booting with the older > loaders and newer kernels works fine. > > Windows 10 Pro 64bit also has no problems > booting and operating the machine. > > The native-boot problem does seem to be freeBSD > loader-vintage specific. > >> For the BTX failure the display ends up with >> (hand transcribed, ". . ." for an omission): >> >> BTX loader 1.00 BTX version is 1.02 >> Console: internal video/keyboard >> BIOS drive C: is disk0 >> . . . >> BIOS drive P: is disk13 >> - >> int=00000000 err=00000000 efl=00010246 eip=000096fd >> eax=74d48000 ebx=74d4e5e0 ecx=00000011 edx=00000000 >> esi=74d4e380 edi=74d4e5b0 ebp=00091da0 esp=00091d60 >> cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 >> cs:eip=66 f7 77 04 0f b7 c0 89-44 24 0c 89 5c 24 04 8b >> 45 08 89 04 24 83 64 24-10 00 c7 44 24 08 01 00 >> ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 >> 00 00 00 00 00 00 00 00-f0 1d 89 00 00 00 00 00 >> BTX halted > > I've no clue what of that output might be loader vintage > specific. It might not be of use without knowing the > exact build of the loader. > >> The board is a GIGABYTE X399 AORUS Gaming 7 (rev 1.0). >> It has 96 GiBytes of ECC RAM, just 6 DIMMs installed. > > For reference for the board's BIOS: > > Version: F11e > Dated: 2018-Sep-17 > Description: Update AGESA 1.1.0.1a Using: https://artifact.ci.freebsd.org/snapshot/head/r*/amd64/amd64/base.txz materials I found that: -r336492: worked (loader vs. zfsloader: not linked) (no more amd64 builds until . . .) -r336538: failed (loader vs. zfsloader: linked) (Later ones that I tried also failed.) Looks like this broke for booting the 1950X system in question when the following was checked in: Author: imp Date: Fri Jul 20 05:17:37 2018 New Revision: 336532 URL: https://svnweb.freebsd.org/changeset/base/336532 Log: Collapse zfsloader functionality back down into loader. . . . === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)