From nobody Fri May 27 00:15:42 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 4D3E31B50115 for ; Fri, 27 May 2022 00:15:42 +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 4L8QLk0JM3z4XRj for ; Fri, 27 May 2022 00:15:42 +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 DF75B18215 for ; Fri, 27 May 2022 00:15:41 +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 24R0FfnD090596 for ; Fri, 27 May 2022 00:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24R0FfwY090595 for bugs@FreeBSD.org; Fri, 27 May 2022 00:15:41 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 264267] UEFI Booting on Azure Generation 2 VMs crashes Date: Fri, 27 May 2022 00:15:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mbaptist.opensource@gmail.com X-Bugzilla-Status: New 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=1653610542; 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=hQbgmzg8JdRX2vietxQAwH6Y6im62IUGqGSPXyjxWHg=; b=hUuE99aD+TDoCkfMMcL9NhfYg7bp7zh0L7MLOQfTcXT9YBbDl9XBGJam3Dej9OAAO0UgAB dZzmF/Yvep+/x7Wjq3+4TQ8riqbf/xw1TgbL2kSMC3aslM15FLlv+44CKHzFlCuOrhb6bZ Lh5PjMYfAyKZLmRS6NJyKVbhkL/2PMeTqey8I4RWZu0N6e/ovZhHvDAS6ZKQXeHAPdvuoX 3AEGjOuoRBMnl5tiNdxeGmvINVkn0xcq2TLbKTqp5yydH3yE85T2PogYYQyV/u22y9hiG9 tl/ahM0kGdoKOE7vGv8G2e3uom9VyveJrRwJNgkNNMfw/RT26MzrRJZS+5wB8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653610542; a=rsa-sha256; cv=none; b=Gx0yGmKn0BTLGepCH2bjREO9/2XunPAva++AdgOEicGrOw/SS12WOBiZUnDh6eSVYIKl+X W2qODlftH8ki2teVa/lYLCGwLTeUfcYEfL3XAlOnJdz9h0BELJDrZZKPHMD12TN0woK02J +qQv6aeDfJi2+e5pfNy2jVFlBJR+0WDgP1pGkL1IY/BgT/ToVrQDgBx/EcuI6zL6hMwXvL FsYPXMZKdw2DHUFrHCF7AWnDSv94qU73gaaQMcNjFAu5GAVCU9CbLq0gwF0R0cMwoY9SrP ApnWdLjfBN/u48ZyY+lKoKfBVT1xv26W4DXfNgMN48JEneTh36YZerpFXImfOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264267 --- Comment #1 from Michael Baptist --- A little more background the Azure EFI firmware has a free memory region at 0x200000, however for larger kernels the EFI copy will write into EFI memory and cause a fault. The before we trampoline the new EFI_COPY_DISABLE option will allow us to s= kip copying and sets up page tables for 4G of physical memory (I think) and sho= uld map in our kernel in place. This all seems to work fine. Once the Kenrnel is loaded and we run sysinit I can see the trademark, copyright, an (boottag) stuff printing and then the console dies. I assume those sysinit functions are not the problem but others might be causing it to crash in so= me way. (Maybe vm subsystem code?) --=20 You are receiving this mail because: You are the assignee for the bug.=