From owner-freebsd-current@freebsd.org Tue Jul 26 23:16:07 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6908EBA6C6A for ; Tue, 26 Jul 2016 23:16:07 +0000 (UTC) (envelope-from kevans91@ksu.edu) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0060.outbound.protection.outlook.com [104.47.40.60]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FB131CBD for ; Tue, 26 Jul 2016 23:16:06 +0000 (UTC) (envelope-from kevans91@ksu.edu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=KSUemailProd.onmicrosoft.com; s=selector1-ksu-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fqV/HEKTxcPWrLd6U/4aR123vamHrlh0OpcNs/8pwkQ=; b=k60m+J3rm9YM6walgBVr346SY9MJxgTHKKzg6hbXtpaO34f0qqx/KEhwNUH6DUQWjwAj9P0n4wRsAoz1G2yecgPfN2EUEfSkOqTNKrcOakBqcnKL2u419udlWJW1fS+8OYC41cNmKFjZBT/wVjm3eWd5pvbJjUgYNF3CNooZeNE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kevans91@ksu.edu; Received: from mail-qt0-f181.google.com (209.85.216.181) by CY1PR0501MB1323.namprd05.prod.outlook.com (10.160.226.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.557.8; Tue, 26 Jul 2016 23:16:02 +0000 Received: by mail-qt0-f181.google.com with SMTP id x25so20621662qtx.2 for ; Tue, 26 Jul 2016 16:16:03 -0700 (PDT) X-Gm-Message-State: AEkoouu2vbJTjBHmqhCTFP/CwkB9vkbWZd1PwYZV5dt9LK3chzOaEjY5QHhuATj7iHuBDSEAZGiRPl93Y2fvgw== X-Received: by 10.200.57.34 with SMTP id s31mr42722217qtb.49.1469574957957; Tue, 26 Jul 2016 16:15:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.41.4 with HTTP; Tue, 26 Jul 2016 16:15:38 -0700 (PDT) In-Reply-To: References: From: Kyle Evans Date: Tue, 26 Jul 2016 18:15:38 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI Booting on a Thinkpad Yoga 11e w/ Security Chip To: Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [209.85.216.181] X-ClientProxiedBy: CY1PR14CA0072.namprd14.prod.outlook.com (10.164.65.168) To CY1PR0501MB1323.namprd05.prod.outlook.com (10.160.226.140) X-MS-Office365-Filtering-Correlation-Id: 245842a1-1d85-4bd4-b6bd-08d3b5aad012 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1323; 2:av9wEsja1qt8AHveLZ9VcDWurHo+LHptNTYr0MLLXKaZExCMe8GjjjwrstwHs9sshZmFkRKxCLlANzihFL+NINWnsSrFEGr0tBkCxo6/53k03V7z5qK9qfmUtDuFQD1raOZPd7Magd3MChq8YXGwF1lo5XhV8imtWFvUn1lWM3pkgZI9Px2WkzpSe5WbAp0b; 3:uZjeefqL7P7C3x8XGAq4h3Rn96gRiQZifc3Vi2rcAxxoVsgzOjMnmXrkqbENpBwJO0envk+obVwfBxcjcfj/IHMhyqAkEfQPT6Ghe7U0Y3xe4b+wSgDAZMnoRRcEFRFV; 25:wgjvj5KpPBzrAGoC8HVnEGTvCu297Gi7gXyE6dPNXsY4sTIc8sJ8anyX5K6aLaR+TRvjtb8H++01Xpii7Ck2yuvIx/1FXiTRB2QiazNdQNVXjl3QdBAsUsGoJpr0NjWZ9QOaQy/ZrehWWBzCj4GViIKlrxHDPxHMm89UIX1SUAmb22NuaJnnQUeSOw+2XBoIj16rJYa8rM22bxKyW7D+XzLvhVgi8LTc5O5Amj3u8yuDRbl/36dL8KIoeW2up5EYiSemMmmJB2ENIPHX1s5qNaivkARcdPy8+0Paz6WNA3KVrGHCxij4hVYV7vPnTCV0zMc9yiySEqBQEw4yahSJ+XhcQZAj8XAxFhChX6T52715HI8IIHUaFMRT+RJCcXoUFJb5HMAOlyBDBIoSIRLvjnr6r9NfRaBx8m2ktSxk744= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1323; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1323; 31:3DCu5mJHJi+jyiHNXJACby2DZyvV03uga7MUz7iXOaUzWdASOJp+9wmRQFq7aCtm0KRumuYIeETPrT3GI6ieaxPqJxu8zqalnRD0pApvaa3PdUBzGShHs/k5SLrxhJRjtn5Px1tqhP13FZcJq7kvol+3jHba08+sN9IOSmx37ZaVd46hhBHQCfutpDD0mSyOYGW7hYS8i8603l6e9FFpng==; 20:ku6qFSg6tVM5/4aKW2TRFjpqIuzBkHaHw76WmHg0TK8YrQUNftPHjL4onozEFClIoJSGk5HFcs1NaoTD8S7llcX4nSrHpWLrneBY57g9S15WXsastViGXIAWJPbBIkK904tEhBfTfe4Tjfwuhaha214yGLY02uybWCn2YDcakZzq377Tq7dh3IxSFzYz1LXhf06M89dJuCAf2KF3PrzGF1UfmLVJiVY5mMDQvQxCBrzoJhGxFznRBV0falKvo2As2AlzF969pt5t7um5BAE329rwwuVFriTgXKolxbesHgc6P6i8/TdGQSPNXMqc8+f5i+lNImHvFg0EazSOmT/QUCmbX4zXxLX6WgA5KIwTa+P7VHZBm0R6q2Rlmupi+oYvLnCqxz7nNljVDKe5Gtv58MaCUwNHddouenvO/kIsdNwekLsCEFdgqm3oYLfLMTtTXAehpqvvbfo+Lurp2B10u0bmzM3onJBR4KZ94QuoJep5Hy1ZlYSr2T+weuSzXXLt X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(112903893386949); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:CY1PR0501MB1323; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1323; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1323; 4:s/7KF5Cs5+53KfE6m4GZfR1riw2a+UBuBdJwotfgrdwal52AeA6iOmzbppHSRxkDiLqOm6RkyKu4KFWGqM22sVixf5gtkHw2uplk+HBlMv9+k0IC6yIh6H47CUBPLowvGsVuSqUgd2R67aUOuPE4ln3nXdbMYPgB/S9/u2xhnElrZ37Gm6N6KZllD7DEmUbn4T5HH2468FcbTo/YdCwy/XVB+EEchYyzPubx3J9A2kTeuT8TUeNNCAHb+ev9JkMF3UDnTvZKrGR2n2G3HwXt3o1Ein/C6wY2fKXKqOb9ufuC+86vwt2dPSwvJddSH+9cvnPr2iGi6+IleuvrCtYfSZatC+XQ1SClCr+ESkjaBhJJJFRiyDO/1V6P/7265UiTywo2wNz+phP4HPrkovnptyGAmyaKdnVv0jNBatKqTZBove5rqCTYwbpvlyuFSo7X X-Forefront-PRVS: 00159D1518 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(377454003)(24454002)(86362001)(101416001)(19580405001)(19580395003)(55446002)(98316002)(93516999)(50466002)(54356999)(76176999)(63696999)(50986999)(42186005)(69596002)(105586002)(2906002)(15650500001)(107886002)(88552002)(122856001)(450100001)(6116002)(3846002)(586003)(9686002)(81166006)(81156014)(8676002)(23676002)(7846002)(7736002)(305945005)(92566002)(97736004)(9896002)(68736007)(5820100001)(110136002)(189998001)(75432002)(90282001)(66066001)(106356001)(59536001)(61266001)(47776003)(2950100001)(61726006)(89122001)(2351001)(55456009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0501MB1323; H:mail-qt0-f181.google.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: ksu.edu does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA1MDFNQjEzMjM7MjM6dEp0UUIxSUpmMlFnbnRETndlTmc0dlB2?= =?utf-8?B?dm1Nd21iYmVUMmszMkppdUs2dzFRd2dSOHE4VzdjU1ptY2FUR1p0YVhJWWlB?= =?utf-8?B?OGkxQklTOWRvSk1RajNMTkRFM2JhYTNmeUw2aU5hZmtodmYyb2RpN2hteGJE?= =?utf-8?B?YVlmUlZ1RkRVdGlTMXhqckl4SFUrZXBMNmhOMjkydVo4ZmV2aXhQdzl3OVc1?= =?utf-8?B?M0hQZHpnTzFJTHphM1A0dXdSTXI4MDZrdklDdFJsRDJrOHdBKzRUQzNvVVRY?= =?utf-8?B?SjRqTWNyd2phUzA0aWtXajlET1JVTWRqUnJuZWp3aVBQS2txNlZhRDlIQjdq?= =?utf-8?B?cVIyZ2NDL0U1TkhkbU5ERnNUOGhhcXNZZy9xSXVWSlZkUzdIMXZmY2JrSm9D?= =?utf-8?B?OFhjczdzanBJVmFkVk5QV25xQXd2eVVqVzBzaUEwRGpaTktCci9CNytiSElE?= =?utf-8?B?NDF3ZlhTVnBZenhZOHdNdGRKOWxmVUhJM2JReFZwT21XUjZMdXpJb2NJcjg5?= =?utf-8?B?VVRSMHpjLzVRZ24xd01MaFFRR1UreFp0amhGSjBBUCtpQ3BVN0ZLV2s0RHJO?= =?utf-8?B?d0NKSmZGN2J1UjRRR2JSb0JsMnNaNFZ1bGQ4RG53d0ZxUHFqR3NpV2FGclFp?= =?utf-8?B?Z2tQbVJiQ2t2VGFRK3hxOUVzZ3NCazczUk1hK1hDcXZnTHVmTkthaDFKRWl2?= =?utf-8?B?MUt6UW90dnhWTDJZMklyTVVoR1B2akhTbks0Wi9lMCsxdHN0Y1ZvOFZqNGU3?= =?utf-8?B?R3hTcW9uTVJiMUFibWZsUzJtSVQraDlQR3ViT05FWUNwWis2WDh3Myt1Ykhh?= =?utf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L5Tv2V8hiAULpUyh4a6PmxZr7LGJInVpGTUX5IPO8A+ZmxTm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1323; 20:tV2+rBHihkQKjbcgOKKQ+vBV7AJZ8FTtabFV0FQRbU24ZGrMWzhNAzH4WtP7hsWFOxXp2YLr46LfMeV6r7aX9l4826Gb8qNIvRjAccmjLqgvcF0EAPD7324jAPbkg7KgIFWddNAuS6d7oSWdB+POu7IF+tK2Zi0+3IaMXoSEA10= X-OriginatorOrg: ksu.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2016 23:16:02.9297 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1323 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2016 23:16:07 -0000 On Fri, Mar 18, 2016 at 3:54 PM, Kyle Evans wrote: > Hello! > > I recently purchased an older Thinkpad Yoga 11e and now I've installed > 10.3RC2 to it. It appears that the Security Chip feature causes > problems in attempting to boot 10.3RC2 (and a slightly older -CURRENT, > as well, but re-tested with 10.3RC2 just for the sake of > verification). The following output is written when attempting to boot > from the `amd64-uefi-memstick.img`: > > == > >>> FreeBSD EFI boot block > Loader path: /boot/loader.efi > LoadImage failed with error 2 > HandleProtocol failed with error 2 > StartImage failed with error 2 > panic: Load failed > > == > > Rebooting and disabling the security chip fixes this, and everything > runs along nicely. Re-enabling the Security Chip after 10.3RC2 is > installed and attempting a boot yields the slightly different (while > slightly expected, given the above, but I'm adding this anyways): > > == > >>> FreeBSD EFI boot block > Loader Path: /boot/loader.efi > > Initializing modules: ZFS UFS > Probing 4 block devices. . . . . .* done > ZFS found the following pools: zroot > UFS found no partitions > Failed to load image provided by ZFS, size: 2033504512, (2) > panic: No bootable partitions found! > > == > > Is this expected behavior? I was under the impression that the > "Security Chip" was largely unrelated to anything in the boot process. Hi, This might be unlikely, but what are the odds that devpath_last (sys/boot/efi/boot1/boot1.c:135) isn't quite returning the correct device path to be passed to bs->LoadImage() (sys/boot/efi/boot1/boot1.c:405) in the case that a TPM chip is present? This would seem to line up with the EFI_INVALID_PARAMETER error that LoadImage is returning -- especially given that the ZFS bits here are correctly enumerating my device's pool. Thanks, Kyle Evans