From nobody Fri Jan 7 16:56:13 2022 X-Original-To: amd64@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 6DB9E193C821 for ; Fri, 7 Jan 2022 16:56:15 +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 4JVq9q1zk3z3w9G for ; Fri, 7 Jan 2022 16:56:15 +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 2508F709F for ; Fri, 7 Jan 2022 16:56:15 +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 207GuFwb075830 for ; Fri, 7 Jan 2022 16:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 207GuFpf075829 for amd64@FreeBSD.org; Fri, 7 Jan 2022 16:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE Date: Fri, 07 Jan 2022 16:56:13 +0000 X-Bugzilla-Reason: CC 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: dasebek@gmail.com 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: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641574575; 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=9qUkcV4odvMmo/aYFig7LusQAebvVVWfNqbxiO2yYvA=; b=KHpCM9H9W7M2yifjO3Icb23jOlas0K3700f0HteIgEvbkt8LzXJloUBOeozYdqOzFcYDZg 8VexULm19jT6s5GYUwvG56jN0NR2Av4HEIhHfCsUqZ892yNWDuu6VwagtrCMjoxrw/dUG2 8RvgCFiNLqQM2Yl5BtKM9ub1F6RpsDjU/EgIXfEvZ8u4hR65LxLKAulE0lePPU1ZCjimTX RatM83xPGbhFUuwdEITLZnoxUbBJQEEBv32pXTg/qjh8gdLpK7LtDdVC3sh9wX76QgugqO VH9qlozJAxJKgQuNzCdwJvE3Fbfns2tqTiIgPy68l3FpAAVzw6QYBD+JUARdgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641574575; a=rsa-sha256; cv=none; b=PWnlCjnG51oYewrNRw37afnEpXVtcEov+lSdiciop8Yk6lQkJYIdFxdgAz0iAMki5xMbmD zm2KOL1TcD2NArhG8IIxTOSrzVwVHySDrZrYJVCe1nhapZ8P5lU02Wlq7sda2y5xgJVxXG 8vRcOUKIX/fO/9mWQZdwlfL4d7KY+0xQMLE7j4MQpRgxxKJxdiaSopA7fBgzNYs/4GOq+m D3nmhyVEuDavm0Co5y5fkY18fQ3QPeIBjBzvtySRMTXYO4G6ORssjC8EMO+ymvEktvZS0E SwVoPMCf6owovqKfHd43HhvfHszv5bHGF4nozHRJkoWQgGVMSFSh6Fql0F73Ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209821 --- Comment #66 from David Sebek --- (In reply to Dani from comment #65) I think there were two reasons why UEFI boot froze on some systems. Before = the changes in 13-STABLE and 14-CURRENT, the kernel needed to be loaded to a specific physical memory location. Copying the kernel to a specific locatio= n in memory could cause problems: 1. The target location could contain the boot loader code. When the boot lo= ader was copying the kernel to the expected address in memory, it accidentally overwrote the boot loader=E2=80=99s code that was responsible for the copy = operation, which resulted in a freeze of the system. 2. The target location could contain hardware-reserved addresses. Copying t= he kernel over those memory addresses could freeze the system. The patch from #41 fixes only the problem (1.) by not using the boot loader code that may get overwritten. FreeBSD 14-CURRENT and 13-STABLE fix both problems (1.) and (2.) by not requiring the kernel to be copied to a specific memory address. The patch #41 needed some minor modifications in order to be applied to Fre= eBSD 12. I can take a look at it and update for FreeBSD 12. --=20 You are receiving this mail because: You are on the CC list for the bug.=