From owner-freebsd-current@freebsd.org Fri Jan 29 02:58:13 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 E236EA70D27 for ; Fri, 29 Jan 2016 02:58:12 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78A51155E for ; Fri, 29 Jan 2016 02:58:12 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x232.google.com with SMTP id p63so50248477wmp.1 for ; Thu, 28 Jan 2016 18:58:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=e8BAVxWKVbYpNhA3Tuz13TgNQizCiS33A5e6cFfcbtE=; b=JPY1y7uhqonJvHYbc8TjYvGdsMLl5ownyFme0tS3RY+rqo0W1GA0ok6eYvaPz5G/uS cZD6jl6gsQ5zCL1Yg/x+0vC7CUb+PQ8dWk7SfUapqUXREvPO8XyN2O6Wcht2DFBAIDtt fbTIFKwf8KNX3ScQniBVGZSSbsfQBs6cN0UOx2dIjIPJtcSh8agOkIWR2MdRmxch07TO 0hGeA6QqCCrIVPh6I6KoNzuOSYOvTc0RxHpmQMXopXz7g09MeKdSkIZ7OPe/CWkWjQ+E RaA+Eg2Htx8Qp/WIJgZyDIqjqA0+kIKgSEbU9izZvoOXPLUSVxeeV9MoKdJbTJNYy9E8 la3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=e8BAVxWKVbYpNhA3Tuz13TgNQizCiS33A5e6cFfcbtE=; b=M7RnVPt5RG1Buonsls9iCQvcVZ+Xc+KGIz/dFQPw+7WM1xzJQpfXFV8jxLR5tXP0RG bLQEavAZrOdaJdroE7mo9H28QyWw+ah67iSoHE/OzCvLLIabusQTUc0ZJU0EpaeDNNKR 6NNE7dPxF1FgI3SPbeaaXaH2sqtvfTvBqER+cURODIaYy0OTDcuH/fXgGmg9GeFsi8lg x1DvcdcJZT2/ivqOAa3VbT1Kyjszu8VMr2DDf51qqoLxT0/YqAX38Vw9bRTWnIIQ7IZV ObgjsSM8RA6d0mmPZ26nvhCO/zt46eyQamQf2YtyM1AzU3+FGn9X2wQP3JQ9GDOP1O0q zKjQ== X-Gm-Message-State: AG10YORv7tTOolZbXZDhwwnf7Z3vyPm3hd8worpjIr80I5MQKB82NR2RATy9mSfB8r0c3N+V X-Received: by 10.194.95.72 with SMTP id di8mr6023999wjb.144.1454036291061; Thu, 28 Jan 2016 18:58:11 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id ei9sm13543920wjd.40.2016.01.28.18.58.10 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 18:58:10 -0800 (PST) Subject: Re: ZFSROOT UEFI boot To: freebsd-current@freebsd.org References: <8991747525093115430@unknownmsgid> <20160124215300.4cd7f1207f5a4c7b28ef7ffc@dec.sakura.ne.jp> <56A51A4C.1040808@multiplay.co.uk> <20160129000344.feaf5f828e5d43d5fbbb652a@dec.sakura.ne.jp> From: Steven Hartland Message-ID: <56AAD552.9090202@multiplay.co.uk> Date: Fri, 29 Jan 2016 02:58:26 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 29 Jan 2016 02:58:13 -0000 On 28/01/2016 16:22, Doug Rabson wrote: > On 28 January 2016 at 15:03, Tomoaki AOKI wrote: > >> It's exactly the NO GOOD point. The disk where boot1 is read from >> should be where loader.efi and loader.conf are first read. >> > I just wanted to note that gptzfsboot and zfsboot behaves this way. Boot1 > looks for loader in the pool which contains the disk that the BIOS booted. > It passes through the ID of that pool to loader which uses that pool as the > default for loading kernel and modules. I believe this is the correct > behaviour. For gptzfsboot and zfsboot, it is possible to override by > pressing space at the point where it is about to load loader. I believe I understand at least some of your issue now, could you please test the code on the following review to see if it fixes your issue please: https://reviews.freebsd.org/D5108 Regards Steve