Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1533456ybb; Thu, 9 Apr 2020 04:10:13 -0700 (PDT) X-Google-Smtp-Source: APiQypLmqUkIrIqvctC4SVZvCzQiwpf1OG3oKkyWyM5+vD4PQCR9ZsgtEGoJ+xxQnr1deH91fbo1 X-Received: by 2002:a4a:c819:: with SMTP id s25mr9417993ooq.6.1586430613752; Thu, 09 Apr 2020 04:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586430613; cv=none; d=google.com; s=arc-20160816; b=giMFs4KxMmsyENQzrorzqwYGJ2daPYMDDGdJJRnRDMd38Szx/5zkIVdVL5epL21GbS 83DSo04S0XvxwEps/EFrUh4irWF0Py8mqojpXecJsSSLyJgoaHP0MJt+bgtgxFXuASjP 8i+kJxKAfNGGBJMsCrPBYvzg53mI0tXxzjnNxXpwRP/FrM1LKD08GyfZkUuf5DE9+BUC hWfa2s1JgA98689HS3Sq5NeQKM77vMtLwicl636jf4LyqMKamsPalThmNMVFUj3R1HGQ 5cmhH/7ZICDqGGueIaAdXhO/2WXaQivcHsYznTuyP5aDTnjhSOMkY51YFrWLbSxmsBzR 8CTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nKcVNNbDsBhlfWYnZ08AXKiy6f8voXP4SBw/qoRDLGQ=; b=Mf3cVPH903hf7x/jcBDdFT6tRXQbTeMeTvAELCbOXYqCTUQYTPtx1X/s1lJElJxDH2 UhYRe/g98SVcSa1o+DPquexw2W7VpV0vu3VZIfx1geSDWMwv8NyMNEaT64MdTS9DDQau +iCTre/4qduCCQuGf1Vr49vE+c1k8HOUQaM/79Koq0tvA4/zePR/+UtOnVErlKfHls/J m3d2qd9Np3tZRMkPYBTzsw9sBsinQTQzJOa/bUtbgoqznHGbSfH/j+Ad29HmFgkmIhby fFmZBYR7tT81KeMjtE8lFiNy9Jh7PsBrvAfDkVZUkYyF4NJW+1+DefpsIwF1L3TQIU7W snXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y12xfx2j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q196si3395657oic.143.2020.04.09.04.09.59; Thu, 09 Apr 2020 04:10:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y12xfx2j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726651AbgDILI3 (ORCPT + 99 others); Thu, 9 Apr 2020 07:08:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:38176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgDILI3 (ORCPT ); Thu, 9 Apr 2020 07:08:29 -0400 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D42721473; Thu, 9 Apr 2020 11:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586430509; bh=nKcVNNbDsBhlfWYnZ08AXKiy6f8voXP4SBw/qoRDLGQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=y12xfx2jHRcz7Xj8E4KiAetwNxAJMpYhu6JAGkfDwGc+VtDlb163jkT8V+hvG5UJZ UutyhRP02DmPiGjvugQLGdOYiTlPCiQ/jyO8+5/3Ey0LngkDM02WqoBgCeUrAcEkHC J6FLLRIW6gu5xCWuBL92O3RIwS1mHjeEvR45/6NI= Received: by mail-io1-f48.google.com with SMTP id f19so3407785iog.5; Thu, 09 Apr 2020 04:08:29 -0700 (PDT) X-Gm-Message-State: AGi0PuZyw9Hkhycpxj1oqOqZ4OSkX4QvBsah9D6mci9lj5Ukj4zkbQbz VWQH/qEwASrW7SaYEfAU3tXV3IoC8aABgy5E/uM= X-Received: by 2002:a02:969a:: with SMTP id w26mr2026088jai.71.1586430508859; Thu, 09 Apr 2020 04:08:28 -0700 (PDT) MIME-Version: 1.0 References: <20200113172245.27925-1-ardb@kernel.org> <20200113172245.27925-6-ardb@kernel.org> <63b125a4-6c62-fcdf-de22-d3bebe2dcbf5@suse.cz> <972b66a9-92c7-9a15-1aa1-e3236abe90df@suse.cz> <20200409080626.GV5951@GaryWorkstation> <984a2b3c-a9d4-e733-6372-4abf0f99be1f@suse.cz> In-Reply-To: From: Ard Biesheuvel Date: Thu, 9 Apr 2020 13:08:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 05/13] efi/x86: don't map the entire kernel text RW for mixed mode To: Jiri Slaby Cc: Gary Lin , linux-efi , Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , Anshuman Khandual , Arnd Bergmann , Dan Williams , Dave Young , Saravana Kannan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Apr 2020 at 12:45, Ard Biesheuvel wrote: > > On Thu, 9 Apr 2020 at 12:09, Jiri Slaby wrote: > > > > On 09. 04. 20, 11:09, Ard Biesheuvel wrote: > > > On Thu, 9 Apr 2020 at 10:36, Jiri Slaby wrote: > > >> > > >> On 09. 04. 20, 10:19, Ard Biesheuvel wrote: > > >>>>>> $ rpm -qlp ~/Downloads/ovmf-202002-1.1.i586.rpm > > >>>>>> warning: /home/ardbie01/Downloads/ovmf-202002-1.1.i586.rpm: Header V3 > > >>>>>> RSA/SHA256 Signature, key ID 3dbdc284: NOKEY > > >>>>>> /usr/share/doc/packages/ovmf > > >>>>>> /usr/share/doc/packages/ovmf/README > > >>>>> > > >>>>> Hmmm, it's weird that OBS doesn't list all derived files. > > >>>>> Anyway, the ia32 ovmf is available in > > >>>>> http://download.opensuse.org/tumbleweed/repo/oss/noarch/qemu-ovmf-ia32-202002-1.1.noarch.rpm > > >>>> > > >>>> It indeed does: > > >>>> https://build.opensuse.org/package/binaries/openSUSE:Factory/ovmf/standard > > >>>> > > >>>> Note that the ia32 version is noarch, built on i586. > > >>>> > > >>> > > >>> I am not able to reproduce this issue using the linked firmware image > > >>> and a 5.6 x86_64_defconfig with efivarfs built in. > > >> > > >> Yeah, I had to use the distro config too. Not sure what the trigger is. > > >> Maybe some NUMA configs or something. > > >> > > >>> Could anyone share the full log, please, along with the kernel config > > >>> that was used? > > >> > > >> Both uploaded: > > >> http://decibel.fi.muni.cz/~xslaby/err/ > > >> > > > > > > With the same config, I am still not seeing the issue. > > > > > > > > >> Note that I switched the for-me-necessary =m configs to =y. So that it > > >> is enough to build bzImage, w/o modules... > > >> > > > > > > Could you please try running it again with CONFIG_EFI_PGT_DUMP=y enabled? > > > > No problem: > > http://decibel.fi.muni.cz/~xslaby/err/dmesg2.txt > > > > > In the mean time, I will try to install Tumbleweed from scratch. Do > > > you have any steps I could follow to reproduce your setup? > > > > Not really, just installed TW 64-bit and used efi and grub 32 bit. > > > > OK, so you installed using a 64-bit EFI, and then switched to a 32-bit > one? Or is there a special mixed-mode capable installer? > > (The ones I found are x86_64 only) OK, I have managed to install tumbleweed into a 64-bit VM with 64-bit GRUB. Could you give any instructions how to convert to 32-bit GRUB please?