From owner-freebsd-bugs@freebsd.org Wed Jun 27 06:38:36 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 349A310047D8 for ; Wed, 27 Jun 2018 06:38:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B87A896DCD for ; Wed, 27 Jun 2018 06:38:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6EABA10047D7; Wed, 27 Jun 2018 06:38:35 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49A6010047D6 for ; Wed, 27 Jun 2018 06:38:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C345396DCC for ; Wed, 27 Jun 2018 06:38:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EBC1F27D0A for ; Wed, 27 Jun 2018 06:38:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5R6cXKi061301 for ; Wed, 27 Jun 2018 06:38:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5R6cXQY061300 for bugs@FreeBSD.org; Wed, 27 Jun 2018 06:38:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229357] bootpool is not imported after boot (separated bootpool/zroot due to zroot encryption) Date: Wed, 27 Jun 2018 06:38:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: petr.fischer@me.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 06:38:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229357 Bug ID: 229357 Summary: bootpool is not imported after boot (separated bootpool/zroot due to zroot encryption) Product: Base System Version: 11.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: petr.fischer@me.com I have encrypted zroot partition, so, my bootpool is separated from zroot zpool. Encryption classic, via GELI, password prompt before boot. But on freshly updated 10.2, after every reboot, bootpool is not imported, = so, no access to the kernel modules, resulting in other related issues (some autoloaded modules from rc.conf, like vbox, can crash the whole system duri= ng boot, because bootpool is just not available/auto imported)... This is similar to bug #212258, but I have GPT (not MBR). Workaround is probably to import bootpool in rc.local and then, load all necesary kernel modules (like linux, vbox etc.) manualy again (also in rc.local). This bug occurs probably only on separated bootpool/zroot systems, due to z= root encryption. Also - I have GPT partitions, but I am booting in CMS BIOS Mode (classic BI= OS way), not UEFI, because with UEFI, my i915kms Intel Graphics does not work (tested on 11.0 and 11.1). Is there any new way how to config encrypted zroot, than separated bootpool/zroot? --- gpt output ---- =3D> 40 500118112 ada0 GPT (238G) 40 2008 - free - (1.0M) 2048 1024 1 freebsd-boot (512K) 3072 1024 - free - (512K) 4096 204800 2 efi (100M) 208896 2048 - free - (1.0M) 210944 4194304 3 freebsd-zfs (2.0G) 4405248 8388608 4 freebsd-swap (4.0G) 12793856 487324296 5 freebsd-zfs (232G) --- loader.conf (selection) --- ... geli_ada0p5_keyfile0_load=3D"YES" geli_ada0p5_keyfile0_type=3D"ada0p5:geli_keyfile0" geli_ada0p5_keyfile0_name=3D"/boot/encryption.key" geom_eli_load=3D"YES" geom_eli_passphrase_prompt=3D"YES" vfs.root.mountfrom=3D"zfs:zroot/ROOT/default" kern.geom.label.disk_ident.enable=3D"1" kern.geom.label.gptid.enable=3D"1" zpool_cache_load=3D"YES" zpool_cache_type=3D"/boot/zfs/zpool.cache" zpool_cache_name=3D"/boot/zfs/zpool.cache" ... --=20 You are receiving this mail because: You are the assignee for the bug.=