From owner-freebsd-current@FreeBSD.ORG Tue Sep 17 19:17:49 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D2153DA5 for ; Tue, 17 Sep 2013 19:17:49 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 604532C30 for ; Tue, 17 Sep 2013 19:17:49 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id eo20so4841108lab.31 for ; Tue, 17 Sep 2013 12:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7RDnef/cXw3UZCzixYKo1Vhpg2EsJ3Tyq4ug7hAqONY=; b=KOFS8HuuagNm6on9V+p37urPeu2HUiE9qekdAhHVh2rxcC5MtREv+FCRRhdSRZsp7N 7Z4WorPMNzJYi009x2hG9EPWWPZyVpPNQzkGuF1GcwY8HKry0CtbtHgm0JBByadNVMun lQV3UUeIl/IDwKttqZRoo/4COTKU+e1m2cf6bBc38SB5uncVAdPBMO41XRa6ZIVB7kYY rvjgRRZEaDZZOpnX3lGWTlFEVoJdWsTTTclbNtAds98A0uFK8eXPIl3WuIKD/Bxx3eSM FHvqYqZYChYXTqvm/NFVYNakx4ExxwiO9BEAhPWJ/UZ2fArdrox4m2/MKdCCfuxiXe2r SAPg== MIME-Version: 1.0 X-Received: by 10.152.8.12 with SMTP id n12mr31278797laa.10.1379445466729; Tue, 17 Sep 2013 12:17:46 -0700 (PDT) Received: by 10.114.13.36 with HTTP; Tue, 17 Sep 2013 12:17:46 -0700 (PDT) Date: Tue, 17 Sep 2013 15:17:46 -0400 Message-ID: Subject: Missing /boot on ZFS+GEOM_ELI setup at boot time From: Johannes Dieterich To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 17 Sep 2013 19:17:49 -0000 Dear all, there seems to be a regression in FBSD-10 w.r.t. ZFS+GELI setups again. For a reference to the first time this happened: http://lists.freebsd.org/pipermail/freebsd-fs/2013-July/017899.html . After that time, I added (as recommended) the previously default lines on the zpool caches to /boot/loader.conf. zpool_cache_load="YES" zpool_cache_type="/boot/zfs/zpool.cache" zpool_cache_name="/boot/zfs/zpool.cache" The setup is as follows: one drive, two ZFS pools, one for /boot (bootdir) and one on a GEOM_ELI layer for the rest of / (zroot). This setup is probably very close to what e.g. pjd@ runs according to above reference (so it is not quite the oddball config it was made to sound like in above thread). /boot then is a softlink to the other pool (bootdir/boot) After upgrading to r255479 from a maximum two weeks old CURRENT the following happens: * kernel loads and boots fine (including modules specified in loader.conf) * DRM load fails, iwn firmware load fails * VESA based Xorg works * /boot is a broken symlink as bootdir vanished, zpool list only shows the GELI based pool Same happens in single user mode. I can zpool import the missing pool (at least something) after that. Could somebody help me to get my bootdir back permanently and at boot time? That would be great since as of now, I am stuck with VESA mode graphics and no WLAN. Also, if this continues to break at random times: can I consider this setup officially unsupported and advised against? If so, it would be great if there was an officially recommended setup for this rather standard problem (notebook: one drive, all ZFS, encryption wanted)? Thanks a lot Johannes