From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id CDF7194129B for ; Tue, 14 Jan 2025 08:35:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=w24LRxB2g1McQdv1W5SEhLcBU2zxmR49LU3abAruOmI=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1736843736; v=1; x=1737102935; b=GFJSzAAtuJzDwzCFQTGaQLXYfkQLFxbOeiHc1iavxJe1IMOOHolFa0jQjv/s+eCzckuT92RG /+BIjNyC/1esoBQfopgkqrso3FB9nUTfNObWzkN41QuFzPmS2qBEM+rus5/vjDWDLUIf38G1hMF lqA4hB9Soi2AYZXfxZFLUMr0X9n7R6eV67PhlQO+P+ygqfi+aCJo7mz0f6bk2c5VpDuMW5PtrT6 TGPcdYJbeE9Od3Jr+Qg2fuwjMzBdpJfG0B7CChwnIHavIhIctkXvPNYH+H1jgiYlnRQ1MVFfCUS G0yyI5cew98awTVFVG9mGrnZk5FQgyH18nVeiLsh/b2+g== X-Received: by 127.0.0.2 with SMTP id VaJbYY7687511xb5UQZftmZP; Tue, 14 Jan 2025 00:35:35 -0800 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.40651.1736843734648733427 for ; Tue, 14 Jan 2025 00:35:34 -0800 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 42A9F5C5753 for ; Tue, 14 Jan 2025 08:34:53 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1ADAC4CEDF for ; Tue, 14 Jan 2025 08:35:33 +0000 (UTC) X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5401d3ea5a1so5174019e87.3 for ; Tue, 14 Jan 2025 00:35:33 -0800 (PST) X-Gm-Message-State: z7soEcZdXNmsLuj8ZcHrjODbx7686176AA= X-Google-Smtp-Source: AGHT+IFVX/rk3ZOzM2epaA9KNG+VLRiyx76xwhSNVSSaauWCQt8U25c4kF/TFDr+Kl7jPgGSXGudczUhGA1P252Hi4M= X-Received: by 2002:a05:6512:4004:b0:542:29ec:d5be with SMTP id 2adb3069b0e04-5428450706fmr6539032e87.10.1736843732178; Tue, 14 Jan 2025 00:35:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Ard Biesheuvel via groups.io" Date: Tue, 14 Jan 2025 09:35:21 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AbW1kvabKMtLdJi9VK1sim_BYoAAzMFFK3D35f9pauR3i2eUx48mztRuqAyx_8c Message-ID: Subject: Re: [edk2-devel] PR#5939 broke the legacy VM bootup To: "Xu, Min M" Cc: "devel@edk2.groups.io" , "crystallee@ami.com" , "POLUDOV, FELIX" , "davidhsieh@ami.com" , "jameswang@ami.com" , "Ni, Ray" , "Sun, CepingX" , "Yao, Jiewen" , Gerd Hoffmann , Tom Lendacky , Ard Biesheuvel Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 14 Jan 2025 00:35:34 -0800 Resent-From: ardb@kernel.org Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=GFJSzAAt; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Tue, 14 Jan 2025 at 09:31, Xu, Min M wrote: > > On Tuesday, January 14, 2025 4:22 PM, Ard Biesheuvel wrote: > > > > On Tue, 14 Jan 2025 at 03:54, Xu, Min M wrote: > > > > > > Hi, Crystal > > > > > > PR#5939 (https://github.com/tianocore/edk2/pull/5939) was merged yesterday > > but it seems it broke the legacy VM bootup. > > > > > > > > > > > > Below is the crash log of the failure. > > > > > > > I take it this crash occurs after loading shim? > > That's right. It seems in the EDK2 CI, there are only cases of "run to shell". So it is not triggered in CI test. > This is a long standing bug in shim, that has been fixed 2 years ago [0] but the distros keep shipping outdated versions, due to the reluctance of MS to sign new shim builds. The solutions are: - disable the EFI memory attributes protocol altogether. - ignore the distros so they are forced to clean up their mess. [0] https://github.com/rhboot/shim/commit/c7b305152802c8db688605654f75e1195def9fd6 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120990): https://edk2.groups.io/g/devel/message/120990 Mute This Topic: https://groups.io/mt/110601533/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-