[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: EFI/ZFS Update: successful tests, need more complex vdevs
From:       Dimitry Andric <dim () FreeBSD ! org>
Date:       2015-12-11 11:04:12
Message-ID: FD7D72CB-63B8-4E24-A673-D23D089EE3C7 () FreeBSD ! org
[Download RAW message or body]

On 11 Dec 2015, at 11:47, Steven Hartland <killing@multiplay.co.uk> wrote:
> 
> On 11/12/2015 08:10, Dimitry Andric wrote:
> > On 10 Dec 2015, at 19:26, Steven Hartland <killing@multiplay.co.uk> wrote:
> > > We've used Eric's hard work which is currently under review here:
> > > https://reviews.freebsd.org/D4104
> > > 
> > > I'm pleased to report we can now successfully EFI boot root ZFS from a raidz2 \
> > > pool on Intel P3700 NVMe drives :) 
> > > Here's a guide for those interested:
> > > http://blog.multiplay.co.uk/2015/12/freebsd-10-2-release-efi-zfs-root-boot/
> > The patch set linked there, at:
> > 
> > http://blog.multiplay.co.uk/dropzone/freebsd-10-efi-zfs-boot.tgz
> > 
> > results in a 404.  Where is it? :-)
> > 
> Ooops, link corrected its at: \
> http://blog.multiplay.co.uk/dropzone/freebsd/freebsd-10-efi-zfs-boot.tgz

Thanks, that one works.

Meanwhile, I setup a -CURRENT VM for testing
https://reviews.freebsd.org/D4104 directly.  I can build the boot1.efi
loader just fine, and install it into an EFI partition, but the
resulting VM does not boot.

The console looks like this:

> > FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
Could not load file
Could not load file
panic: No bootable partitions found!

Any clue?  (It would be very nice if it printed *which* file it could
not load, btw.)

The VM was setup with two mirrored disks, using the Auto ZFS option
during installation, like this:

$ gpart show
=>       40  209715120  da0  GPT  (100G)
         40       1024    1  freebsd-boot  (512K)
       1064        984       - free -  (492K)
       2048    8388608    2  freebsd-swap  (4.0G)
    8390656  201322496    3  freebsd-zfs  (96G)
  209713152       2008       - free -  (1.0M)

=>       40  209715120  da1  GPT  (100G)
         40       1024    1  freebsd-boot  (512K)
       1064        984       - free -  (492K)
       2048    8388608    2  freebsd-swap  (4.0G)
    8390656  201322496    3  freebsd-zfs  (96G)
  209713152       2008       - free -  (1.0M)

After rebuilding and reinstalling world with the D4104 patch, I deleted
the freebsd-boot partitions, created EFI partitions in their place,
created msdosfs filesystems on them, and copied the boot1.efi loader
to those filesystems.

-Dimitry


["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.28

iEYEARECAAYFAlZqrawACgkQsF6jCi4glqOidQCgwfpv+xKKjnGRs1iWCv2drWv3
4xoAn3FH0VoiTgq/VcpiXP6E1YptRvC1
=PPUQ
-----END PGP SIGNATURE-----


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic