From owner-freebsd-current@freebsd.org Tue Aug 27 05:44:03 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E81E3CACA6 for ; Tue, 27 Aug 2019 05:44:03 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-tydg10011801.me.com (pv50p00im-tydg10011801.me.com [17.58.6.52]) (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 46Hd8y286vz4QVG for ; Tue, 27 Aug 2019 05:44:01 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-tydg10011801.me.com (Postfix) with ESMTPSA id 474E66604D1; Tue, 27 Aug 2019 05:43:57 +0000 (UTC) From: Toomas Soome Message-Id: <2F3BAE06-4A3F-4FD2-94ED-886FEDA2ED93@me.com> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: HELP: UEFI/ZFS Boot failure: Ignoring Boot000A: Only one DP found Date: Tue, 27 Aug 2019 08:43:53 +0300 In-Reply-To: Cc: Rebecca Cran , "O. Hartmann" , greg@unrelenting.technology, Karl Denninger , freebsd-current@freebsd.org To: Warner Losh References: <20190821232334.433d285c@thor.intern.walstatt.dynvpn.de> <20190821195847.577a165b@thor.intern.walstatt.dynvpn.de> <48D9A1D1-5A54-4FED-8DC8-40C9A5C9BE3A@me.com> <20190821213052.25d61cb4@thor.intern.walstatt.dynvpn.de> <480F8DE0-A38F-4BCA-9F36-0D812CDB7DD8@me.com> <20190821223140.643f6c63@thor.intern.walstatt.dynvpn.de> <483d59b24a636d0214555610350b8d73@unrelenting.technology> <20190822050509.64c88a51@thor.intern.walstatt.dynvpn.de> <12E83654-1104-408E-9A1E-BE79308B9A92@me.com> <20190826132150.6f748419@freyja> X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-08-26_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1908270064 X-Rspamd-Queue-Id: 46Hd8y286vz4QVG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[6]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; RECEIVED_SPAMHAUS_PBL(0.00)[148.52.235.80.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_IN_DNSWL_LOW(-0.10)[52.6.58.17.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[me.com]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(0.00)[ip: (-5.80), ipnet: 17.58.0.0/20(-3.03), asn: 714(-2.82), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; DWL_DNSWL_LOW(-1.00)[me.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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, 27 Aug 2019 05:44:04 -0000 > On 27 Aug 2019, at 08:08, Warner Losh wrote: >=20 > On Mon, Aug 26, 2019, 5:32 PM Rebecca Cran > wrote: >=20 >> On 8/26/19 5:22 AM, O. Hartmann wrote: >>=20 >>>=20 >>> the other thing is the weird Lenovo handling of the UEFI vars. The = only >> way to >>> boot the E540 (after(!) disabling _BEARSSL in src.conf and = rebuilding >>> everything) was to set the loader's name to EFI/BOOT/BOOTx64.efi. >> Setting the >>> variable to contain EFI/BOOT/loader.efi failed as well as setting >>> EFI/FreeBSD/loader.efi. >>=20 >>=20 >> I've been suggesting FreeBSD should install the loader as >> \EFI\BOOT\BOOTx64.efi for a while (as long as there's not already a >> different vendor's loader there), without much success. Hopefully = this >> finding can cause us to reconsider. >>=20 >=20 > That's the first machine I've seen where you have to set the name like > that... there is a larger story here and we are getting incomplete = reports > because it doesn't quite make sense yet... >=20 > But there are enough reasons not to do that by default. For one thing, = it > messes up rEFInd, or can. Windows doesn't install there. At most we = should > prompt for older machines. We shouldn't mortgage our future to cope = with a > legacy we know will sunset soon... >=20 > Warner >=20 For me it is still confusing if this is path versus upper-lower capital = chars.=20 If that vendor is using suggestion from UEFI Spec 2.7A section 3.5.1.1 = (page 91), then the file name should also end with .EFI. (and yes, I = know, that section is talking about removable media). Therefore the question is, does lenovo accept name like = EFI/FREEBSD/LOADER.EFI? Or what form is used there for windows paths? If we should or should not use EFI/BOOT path - perhaps the installer = should prefer vendor path by default. But till there is confusion, there = should be some notes in some documentation... rgds, toomas=