From nobody Sun Jan 09 01:29:34 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 77B81193FCAA for ; Sun, 9 Jan 2022 01:29:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JWfWk3HBsz3N4v for ; Sun, 9 Jan 2022 01:29:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0ED651067 for ; Sun, 9 Jan 2022 01:29:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2091TbCA005596 for ; Sun, 9 Jan 2022 01:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2091TbGq005595 for bugs@FreeBSD.org; Sun, 9 Jan 2022 01:29:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE Date: Sun, 09 Jan 2022 01:29:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641691778; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WWW2bn0FGofc+fJ/rXjO9g0E9/o2rT0Yy2GiylMEoas=; b=lUL7XTOrH5y0cTKshvGvYGZXc4/fTUBscp12U+YdApWLGUM+cjj7hVuGzX4Rd4rjZTvOxW IcQjBs1x8icTSakGN+zt/6g+HTfWa0mv/u93gxTBnwyycSQuPzsUaaV4SVk5EZZq39BPyd xkd5xY8c0H85ZIDg/cW2OMpPQUUdLHWmVuHcg5gkgwuQEhCQg76NSkgaNabr4nAlvwMseP 1Us/vBLyghiMFRmo7BSJZRwTsMU+7XtWExrHb8a5ZN4SdEvt2Z9ssgxjHaYLekbuc+djXz EIFJp3BXKdljTJ9TMJbvBxH0eF+Q65Ox1NkraiZf8eS2Fj86rPOpjTJ/zfo4qQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641691778; a=rsa-sha256; cv=none; b=VCN4GjK3CVYLMWfMzLg9jnGF+fSzdiB1cw50qqQuXu7VLkialdcUkfZKMeloEuvwUomypW 3RQbTXhKNOthhi4TJUE7PXcJ37piMzJ0d2gaUbga5+J+tNjGzbFpMAZ3LDfFGinjVvZFzc 2sW3xCMMimmxlgpWQj4z7pWRUmwxBoa7jBVRe06LWH8pbQYx/LyIpraprFK2v6Jdw8wToM V1IKi+9a3cwqnA4EHr/maFwmGYvI+C5Nci84HONXTVQRtf3t+tX4mX2GhLsMNVGHqRlPIa jd+YzLNfcgrVyd9Pabg6hA/R/k1cE+PMw3aSrbJC0+EFxRU1PQwlhbhKNEUWOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209821 --- Comment #73 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df131d68e21fc360f5c8e63377f25cf607= 06d9afa commit f131d68e21fc360f5c8e63377f25cf60706d9afa Author: David Sebek AuthorDate: 2022-01-07 20:18:49 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-09 01:28:01 +0000 efi: loader: Inline copy_finish function in amd64 trampoline Instead of calling the efi_copy_finish function from amd64_tramp, include the copy instructions in the trampoline code itself. This avoids boot hangs and restarts in the cases when the efi_copy_finish code happens to be located at a memory location that is overwritten during the copy process. This is a direct commit to stable/12 since no-copy loader mode requires the kernel update not suitable for the branch. PR: 209821 stand/efi/loader/arch/amd64/amd64_tramp.S | 59 +++++++++++++++++++------= ---- stand/efi/loader/arch/amd64/elf64_freebsd.c | 18 +++++---- stand/efi/loader/copy.c | 8 ++++ stand/efi/loader/loader_efi.h | 1 + 4 files changed, 60 insertions(+), 26 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=