From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=96.73.9.1; helo=muon.bluestop.org; envelope-from=rebecca@bluestop.org; receiver=edk2-devel@lists.01.org Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 87661211CC3B3 for ; Mon, 25 Feb 2019 16:08:35 -0800 (PST) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 9A77378B43 for ; Mon, 25 Feb 2019 17:09:24 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluestop.org; s=mail; t=1551139764; bh=HHfAuZRy2vUCb8ss3rAK+KDfYmHvSgOYHVdG22RdlPg=; h=To:From:Subject:Date:From; b=ZRPY8Ubnoq8rHv1ntNt7/Q2Vsp8KXu3U2/XhAjl2Hvje+bKVQmhfu4O/X6bgdasqB KKUOqwzFh8NSbHXv/OjqTq9nAOkmYbDIxh3lquXDfU524CpLwK55sK/cKO77mWPmye 8zH6YCoZUoUFjwkdnfqgxnDr+yngAHbbPFYkb8Is= Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id K7yO_VKh2bvk for ; Mon, 25 Feb 2019 17:09:24 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA for ; Mon, 25 Feb 2019 17:09:24 -0700 (MST) To: edk2-devel@lists.01.org From: Rebecca Cran Message-ID: <794b312c-44bf-f482-4933-e8fbb2a48c74@bluestop.org> Date: Mon, 25 Feb 2019 17:08:33 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Subject: Hang when calling ExitBootServices on IA32 firmware v1.0 on MinnowBoard Turbot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 00:08:35 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US I've been trying to test a boot loader on my MinnowBoard Turbot board. It's running the latest 1.0 firmware from firmware.intel.com, and I'm seeing a hang at the point when gBS->ExitBootServices is called. The last debug output is: ConfigSccBootableDevicesAtExitBootService() End SetUefiImageMemoryAttributes - 0x00000000787EB000 - 0x0000000000004000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787E8000 - 0x0000000000003000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787E5000 - 0x0000000000003000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787E1000 - 0x0000000000004000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787DB000 - 0x0000000000006000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787D5000 - 0x0000000000006000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787CC000 - 0x0000000000009000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787C6000 - 0x0000000000006000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787C3000 - 0x0000000000003000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787BD000 - 0x0000000000006000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787B8000 - 0x0000000000005000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787B2000 - 0x0000000000006000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787AC000 - 0x0000000000006000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787A9000 - 0x0000000000003000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787A5000 - 0x0000000000004000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x00000000787A2000 - 0x0000000000003000 (0x0000000000000008) SetUefiImageMemoryAttributes - 0x000000007879F000 - 0x0000000000003000 (0x0000000000000008) The X64 firmware works fine: the boot loader finishes and the kernel starts running. I looked to see where ConfigSccBootableDevicesAtExitBootService might be, and unfortunately it seems it's in one of the binary modules. The code for the boot loader is in https://svnweb.freebsd.org/base/head/stand/efi/loader/bootinfo.c?revision=338022&view=markup . -- Rebecca Cran