From nobody Fri Jan 07 16:56:13 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 1FBBA193C88D for ; Fri, 7 Jan 2022 16:56:16 +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 4JVq9q6fkGz3vvT 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 C5EBE6EE1 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 207GuFTV075864 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 207GuFKQ075863 for bugs@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: bugs@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: 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: 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: 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=1641574576; 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=MZ7y5gBfNc+5GW+YCaC/kIGy3cDiLrn0MJl/dHzISzU=; b=q58LLfDKhRwFO2cdUjrBlkQHv8ra82eG4am3SPWpY+hcXWDOUO7fK18NXi2WsL9ek0bDnw ZdQipxfvMMy83Xt1Bu7Hc1bAr2Inr2/Q/YLYKUujT+l+oFHDFE0LkHxatLde5YLfA/YjYk vaX0PrMy5xAu4+CgK9dEkPcR0i0IcfJibi7m3ebZfRo/QQ/z8NkCA5zuwCduOEp55sVJHj NNdHbNMp/69jxGvKqhHH173FjF18d7eMhHZ4AgF4H9cICUWGvk1t+Mpi4B/72iWBFvtL4m zdcJTengXnXVGG+q6J4HszB/IjdkeARSPuoFjC5Ldh0KyrPodvfAQoVXbMSQ7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641574576; a=rsa-sha256; cv=none; b=r2Nng91KtSMzxK4Pj3Qiz7+XUlUc4xTWRcGHcfIDAs8jcPHHMja4t7PradXED4oLKnL0En seqyqpy5dhtEvdKug/fOS69DMp81cCOK8J2UPQNyqh5wQwUo3q0RLeJj16/5+lkMXgDrUh 61Cv24CmbfUz7rgh9UN5NWFjNxbAqAM9ZNcaC0sOvAyOC0baggLWxWaPW+f2ccqfdMRhxI QsCqCRDPzitRzqKCUFhvppYxLGUZoO1XJh3xbylVlGbDlPNzvyluFkecet5LpQ2b891S41 WqyHplkhC/PBOlT0+mX4VWu/mAU2K3GiRvAejoSURaHATcNzaFH6xHLYwlDsLQ== 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 the assignee for the bug.=