From owner-freebsd-current@freebsd.org Tue Jun 4 14:16:42 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 2710B15B23B4 for ; Tue, 4 Jun 2019 14:16:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D6FE6AF55 for ; Tue, 4 Jun 2019 14:16:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x831.google.com with SMTP id i34so500591qta.6 for ; Tue, 04 Jun 2019 07:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ok8qAvEm2Y9PZ3+TXkn+9dY8s60G1t6s7hgOONMBBQE=; b=xH8LS5PbOzwyK7bNe2aF0ibUZK/ZX3kDU6A1xI8GGe5usNouCZ34f69grgeg7vYaqn YBp30Z5MV6IAdnIxgoNoShOWVfiLLNJQLyqh3YJALBuvQFX2ZeOxsqPRmCFALdauMIpf WRpAEWyAzEC3exLqjEaEsqg3mEFqeTJb0tZHQ1bVU50SW9XPg1b0+NHjGEDo4Ny6x57q eonGrMLtjR5xYJvxx3BOAyIHdMG4Tt9DeqTzqIpT+5Xedzj2SXXBgkehB68W+ZHVoKzy Y4Za6Ku5JeNvEUFrKNMZJnNHhRCdA80NrCpVdAccbDqEkfFQ5ARqWm9WRDOWXRGoaT05 40Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ok8qAvEm2Y9PZ3+TXkn+9dY8s60G1t6s7hgOONMBBQE=; b=jOmlgWGudopb/eYNfu24o3RXgHn0mQh1VSBJRKztDu908q/kW0pB4ATE13XAybjhEc jUSG8vRjSzJD0vk0BXJQDuGNnKRTkw6evCJlBPxDz/UUmoCouyXRSPQeDSGEhrG79qz7 22z/MaGZ9soLgPOTCDf6bLRP9JwUQDsoMqDOe54Ggxxt2fX8HLLyPb73ob6ZlQ7nVSEm CWSLyaLw428jGQ9+h2tNP57sacDp3YrPD/2ewZ961J4WfuYVkYLmbsJDy0iWESx1111a YhMk18+HJCBHS1+71Nzvx9vJousP00kXW83QYHSAO2CWc+8zxyndlbgPfwYRnePOirMr kz6w== X-Gm-Message-State: APjAAAUqn5Rn690Ntzip10SNzNAs7pxS446FYDkq4fdj5lpAGeOGiBeX 69er86K1cy4pit6859BhylnVOXwtNV6aYU48+7dfVg== X-Google-Smtp-Source: APXvYqyW+rTl3L+ITS294c80PVyTsjyV60kPYYeCilPs+55jpf9iposgPqGvQzEoxrFpm1r5VTKab7UWkVRBHgF5U44= X-Received: by 2002:ac8:6105:: with SMTP id a5mr28207593qtm.242.1559657800398; Tue, 04 Jun 2019 07:16:40 -0700 (PDT) MIME-Version: 1.0 References: <71a0c9f7-0b1f-3757-fc04-4c0d0a1e1085@FreeBSD.org> <20190604212831.360fd1a0c34c9f329e3084fc@dec.sakura.ne.jp> In-Reply-To: <20190604212831.360fd1a0c34c9f329e3084fc@dec.sakura.ne.jp> From: Warner Losh Date: Tue, 4 Jun 2019 08:16:29 -0600 Message-ID: Subject: Re: UEFI boot broken in 13? To: Tomoaki AOKI Cc: FreeBSD Current , Johannes Lundberg , Warner Losh X-Rspamd-Queue-Id: 3D6FE6AF55 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=xH8LS5Pb X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; IP_SCORE(-3.00)[ip: (-9.39), ipnet: 2607:f8b0::/32(-3.24), asn: 15169(-2.29), country: US(-0.06)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[1.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.93)[-0.931,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 14:16:42 -0000 On Tue, Jun 4, 2019 at 7:11 AM Tomoaki AOKI wrote: > Hi. > > Try attached patch for stand/efi/boot1/boot1.c. > This partially reverts r347193 and works at least for me. > > Without this, boot1.efi (bootx64.efi) forcibly boot from > first physical HDD/SSD, even if forcibly booted from other > physical drive via BIOS (UEFI firmware) menu. > > Remaining parts of r347193 and following some commits does not > affect. > > *Hand-crafted reverse patch from commit mail [1]. > Reverting whole r347193 is fine, too. > > [1] > https://lists.freebsd.org/pipermail/svn-src-head/2019-May/124677.html I'll take a look. My experience is that even prior to this patch, forcibly booting also failed though due to ordering issues... Warner