From owner-freebsd-bugs@freebsd.org Sun Mar 3 21:10:39 2019 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 AB18C151AFF1 for ; Sun, 3 Mar 2019 21:10:39 +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 41BE76C852 for ; Sun, 3 Mar 2019 21:10:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F36D0151AFEF; Sun, 3 Mar 2019 21:10:38 +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 D122C151AFEE for ; Sun, 3 Mar 2019 21:10:38 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 684206C84B for ; Sun, 3 Mar 2019 21:10:38 +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 7AA93403C for ; Sun, 3 Mar 2019 21:10:37 +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 x23LAbTE020605 for ; Sun, 3 Mar 2019 21:10:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x23LAbxC020599 for bugs@FreeBSD.org; Sun, 3 Mar 2019 21:10:37 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 236187] /boot/loader.efi doesn't import a mirrored pool on UEFI system Date: Sun, 03 Mar 2019 21:10:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: list1@gjunka.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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2019 21:10:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236187 Bug ID: 236187 Summary: /boot/loader.efi doesn't import a mirrored pool on UEFI system Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: list1@gjunka.com There are two nvd disks, nvd0 and nvd1. freebsd-swap and freebsd-zfs are created as partitions 2 & 3 on both disks respectively. The EFI partition contains standard files: /efi/boot/BOOTx64.efi /efi/boot/startup.nsh BOOTx64.efi is copied from /boot/loader.efi from the memstick installation media. When booting from the memstick and importing the pool "zpool status" shows the following: pool: tank7 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank7 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 nvd0p3 ONLINE 0 0 0 nvd1p3 ONLINE 0 0 0 errors: No known data errors zfs list shows (when mounted with altroot=3D/mnt: NAME USED AVAIL REFER MOUNTPOINT tank7 2.62G 220G 88K none tank7/ROOT 1.87G 220G 88K none tank7/ROOT/default 1.87G 220G 1.87G /mnt (...) efibootmgr -v gives the following BootCurrent: 0005 Timeout : 5 seconds. BootOrder: 0000, 0005, 0006, 0003 Boot0* Windows Boot Manager HD(5,GPT,5804e565-b8f6-4f47-9314-9eb4cfb79697,0x1d55e000,0x32000)/File(\EFI= \MICROSOFT\BOOT\BOOTMGFW.EFI) nvd1p5:/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI (null) * Boot5* UEFI OS HD(1,GPT,f4ec62c3-b000-4a60-aaa6-7079751a497d,0x800,0x64000)/File(\EFI\BOOT= \BOOTX64.EFI) nvd1p1:/EFI/BOOT/BOOTX64.EFI (null) Boot6* Hard Drive BBS(HD,,0x0) Boot3 UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8= 012) When trying to boot the UEFI shell prints the following: >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Load Path: \efi\boot\BOOTx64.efi Load Device: PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x2)/Pci(0x4,0x0)/Pci(0x0,0x0)/NVMe(0x1,8= D-7F-B1-71-55-38-25-00)/HD(1,GPT,F4EC62C3-B000-4A60-AAA6-7079751A497D,0x800= ,0x64000) BootCurrent: 0003 BootOrder: 0000 0005 0006 0003[*] Probing 12 block devices......+...*.... done ZFS found the following pools: tank7 UFS found no partitions Failed to load '/boot/loader.efi' panic: No bootable partions found! Note that the zpool.cache is not created/present in the pool (which I understand is no longer needed?) --=20 You are receiving this mail because: You are the assignee for the bug.=