From owner-freebsd-current@freebsd.org Mon Dec 16 06:30:43 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 BC60B1DA14F for ; Mon, 16 Dec 2019 06:30:43 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (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 "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47brxZ3LZCz4Pvw; Mon, 16 Dec 2019 06:30:42 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id xBG6UT0w024756 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 16 Dec 2019 07:30:29 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1576477829; bh=XYEOvLUKcBa9BaQiAhJaq9PgRW4+o5hbvxB6prcediA=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=FlYL4g6tStlSICbefsT3vOcGn7wfrZzqqk7KCENCbvn/O17eV8/EnTa3RlWSS8/QT UFO1d2y9/g/4m3nQZBJajD7KYFmYped/xwAaDE12oD3spKmbqHgUvK/YVW3KOTzofw nsflICXhKN2+QpHHQMTlEYdIX75wsSzjimX57zWhuAR3/oicofct6UWDO5PiII+8kv e7wn6p21GGSMoB/VoE1QSd30JJI20NvzjqIdRlzd4wl8CGsxxmyxpHCZoVqAbm6hOU RWI9qV0lIhPjK1GCPDnPkisRVybhjr29eSwX7ggPZUTlQKxpXFa266Z2Hi0kBE6hPj TS+qzNh1GPNcg== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id xBG6UT76024342; Mon, 16 Dec 2019 07:30:29 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 16 Dec 2019 07:30:29 +0100 (CET) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-current@freebsd.org cc: tsoome@freebsd.org Subject: Re: UEFI and loader.efi in base/head past r355103 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_INVALID, DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.3 X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on enterprise.ximalas.info X-Rspamd-Queue-Id: 47brxZ3LZCz4Pvw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=FlYL4g6t; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-3.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ximalas.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.91)[ip: (-7.66), ipnet: 2001:700::/32(-1.18), asn: 224(-0.69), country: NO(-0.01)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT 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: Mon, 16 Dec 2019 06:30:43 -0000 On Sun, 15 Dec 2019 20:41+0100, Trond Endrestøl wrote: > I updated the loader.efi stored in the ESP of my laptop, Lenovo > ThinkPad E590T (20NB), running boot firmware 1.22, as I wanted to try > out base/head r355441. > > As soon as I press a button, say 2 or 3, the loader freezes. > Ctrl+Alt+Delete is being recognized. > r355347 is a good candidate as it affects the reading of keystrokes. > I have therefore CC-ed tsoome@. > > In the meantime, I'll revert to r355346 and try that loader.efi. loader_lua.efi from base/head r355346 is a good one, whereas r355347 introduces a bug/feature incompatible with Lenovo TP E590T (20NB) running boot firmware 1.22. Should I file a PR? -- Trond. From owner-freebsd-current@freebsd.org Mon Dec 16 08:27:39 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 01D771DD991 for ; Mon, 16 Dec 2019 08:27:39 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-hyfv10021501.me.com (pv50p00im-hyfv10021501.me.com [17.58.6.48]) (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 47bvXV0Wdrz4WVt for ; Mon, 16 Dec 2019 08:27:37 +0000 (UTC) (envelope-from tsoome@me.com) Received: from [192.168.150.41] (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-hyfv10021501.me.com (Postfix) with ESMTPSA id 275A6B40993; Mon, 16 Dec 2019 08:27:34 +0000 (UTC) From: Toomas Soome Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: UEFI and loader.efi in base/head past r355103 Date: Mon, 16 Dec 2019 10:27:32 +0200 In-Reply-To: Cc: freebsd-current To: =?utf-8?Q?Trond_Endrest=C3=B8l?= References: X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-12-16_01:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=3 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=937 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1912160076 X-Rspamd-Queue-Id: 47bvXV0Wdrz4WVt X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RECEIVED_SPAMHAUS_PBL(0.00)[148.52.235.80.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_IN_DNSWL_LOW(-0.10)[48.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: (-2.43), ipnet: 17.58.0.0/20(-1.95), asn: 714(-2.21), 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=utf-8 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: Mon, 16 Dec 2019 08:27:39 -0000 > On 16. Dec 2019, at 08:30, Trond Endrest=C3=B8l = wrote: >=20 > On Sun, 15 Dec 2019 20:41+0100, Trond Endrest=C3=B8l wrote: >=20 >> I updated the loader.efi stored in the ESP of my laptop, Lenovo=20 >> ThinkPad E590T (20NB), running boot firmware 1.22, as I wanted to try=20= >> out base/head r355441. >>=20 >> As soon as I press a button, say 2 or 3, the loader freezes.=20 >> Ctrl+Alt+Delete is being recognized. >=20 >> r355347 is a good candidate as it affects the reading of keystrokes. >> I have therefore CC-ed tsoome@. >>=20 >> In the meantime, I'll revert to r355346 and try that loader.efi. >=20 > loader_lua.efi from base/head r355346 is a good one, whereas r355347=20= > introduces a bug/feature incompatible with Lenovo TP E590T (20NB)=20 > running boot firmware 1.22. >=20 > Should I file a PR? >=20 definitely.=20 Also make sure you do have updated firmware. r355347 by itself does not really look like it should cause infinite = loop on normal input, but there we would need to check what we do get = from keypress and then we will see. Unfortunately I do not have hw to check, so we would need to use your = help to check what is really happening there. Please poke me directly if you need help about constructing the printf() = statements to extract the information. thanks, toomas=