From owner-freebsd-current@FreeBSD.ORG Mon Oct 12 14:55:02 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91291106566B for ; Mon, 12 Oct 2009 14:55:02 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by mx1.freebsd.org (Postfix) with ESMTP id D50AC8FC08 for ; Mon, 12 Oct 2009 14:55:01 +0000 (UTC) Received: by bwz23 with SMTP id 23so1980978bwz.43 for ; Mon, 12 Oct 2009 07:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=4ih3QCVWx9Doe1BaEE8PK4OYt4APD28RwTYrBjjFqKA=; b=X1dLA1Hg0W+q5XnApi7or6amBVl8eZ7mxh5EICcsXAIjkcsmztn9d7XGX+QoLRybjq eEZO5Q/1p+FlqrprD2Ar5PKJfoibgJhn1auLpjN8WeIzOAPRi8zfAXtorgB3e+dvlOUj MC0R5SI8a1Hu6glGyKbS8yHY9VRhcUqoYE+uw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jiEy2ESHfw337qALL91qh6CI4FxOAjbCn5LXLJ5U+rkB7HO4aqrTPlXhEYUxfR5C8X x1CnQt2m4dLTiVBXg08+DiMcz/FWThEXOjRSZ7R6W+aUtgHOXrTKP9vvOkbfI0KJLaCe gBXNQjMw7oKZ+YP6W+kPzQNwIw6PJ7u00PrDU= MIME-Version: 1.0 Received: by 10.239.145.142 with SMTP id s14mr368689hba.144.1255359300585; Mon, 12 Oct 2009 07:55:00 -0700 (PDT) In-Reply-To: <4AD3220B.5030502@icyb.net.ua> References: <4AD3220B.5030502@icyb.net.ua> Date: Mon, 12 Oct 2009 15:55:00 +0100 Message-ID: From: krad To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: zfs boot vs loader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 12 Oct 2009 14:55:02 -0000 2009/10/12 Andriy Gapon > > I am using ZFS for boot-and-root filesystem. gptzfsboot is used for > bootstrapping, > if that matters. > Maybe the following is some kind of a pilot error, but I think that I see a > problem with selecting a different kernel using loader prompt. > That is, I escape to a loader prompt from boot menu. There I do 'unload'. > Then I > 'load' a different kernel, opensolaris.ko and zfs.ko. Then I 'boot'. Then > root > mounting inevitably fails because ZFS root filesystem can not be found. > > This is an unexpected result for me. > I wonder if something important for ZFS get unloaded when I unload > preloaded > kernel and modules. Perhaps I have to manually re-load zpool.cache? > > This happens with recent CURRENT, amd64. > What's strange is that I think that I can switch kernels from loader prompt > without any problems when using RELENG_7 and UFS-boot-plus-ZFS-root > approach. > > -- > Andriy Gapon > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > before you boot the kernels check the values of the following are still set eg vfs.root.mountfrom="zfs:system/root" vfs.root.mountfrom.options=rw