From owner-freebsd-current@freebsd.org Tue Jun 4 02:48:54 2019 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 4107B15C58B8 for ; Tue, 4 Jun 2019 02:48:54 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BA3E82B99; Tue, 4 Jun 2019 02:48:53 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [192.168.0.83] (ip72-208-182-43.ph.ph.cox.net [72.208.182.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id C2C3719700; Tue, 4 Jun 2019 02:48:52 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: UEFI boot broken in 13? To: "Rodney W. Grimes" Cc: FreeBSD Current References: <201906040225.x542Pjb5045842@gndrsh.dnsmgr.net> From: Johannes Lundberg X-Tagtoolbar-Keys: D20190603194851358 Message-ID: <04c65c1b-35c3-5bd9-afdb-02e24d6aa521@FreeBSD.org> Date: Mon, 3 Jun 2019 19:48:51 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <201906040225.x542Pjb5045842@gndrsh.dnsmgr.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 3BA3E82B99 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.92 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.92)[-0.920,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] 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: Tue, 04 Jun 2019 02:48:54 -0000 On 6/3/19 7:25 PM, Rodney W. Grimes wrote: >> Hi >> >> I'm using poudriere-image to create usb memstick images. The images are >> identical except OS version. They are tested on a laptop with 13-CURRENT >> installed as only OS, having UEFI boot and root on zfs. >> >> 12-STABLE memstick boots fine with in UEFI mode. > Does it actually boot via a UEFI, or did UEFI fall back to CSM > and do a legacy boot? > > What does "sysctl machdep.bootmethod" say? > machdep.bootmethod: BIOS It says UEFI (it is also easy to see the difference between legacy and uefi boot on the font / font size used so I didn't doubt this). >> With 13-CURRENT memstick it boots the installed FreeBSD from the SSD >> instead (I choose USB UEFI OS in boot menu but it silently boots from >> the SSD instead). If I switch to legacy boot, the memstick image boots fine. >> >> Any ideas? > The .iso building was updated to create hybrid boot images some > time back, these .iso images should be usable as boot .iso on a > cd/dvd and as memstick images. I would encourage there use over > the memstick images, as there is a plan to remove them once we > get better experience with the hybrid .iso. I don't think that would affect things built with poudriere image. (poudriere image -t usb ....) The jails used are download via ftp for both 12 and 13 (created by poudriere as well). > > It is also possible that something has munged the boot in head. > Have you tried a downloaed ^/head snapshot from the last week, > as it could also be your build system that is not producing > a proper boot image? My 13-CURRENT jail is always latest snapshot. poudriere image does the same regardless of release: download tarballs, extract to dir, makefs, mkimg. I don't see why it would work for 12 but not 13. I can try a newer snapshot later. > >> /Johannes