There is no magic, though. libsa works with disks through the "platform code", i.e., BIOS or UEFI or etc.Error you see is from FreeBSD zfs loader itself. This means you're beyond the FW (bios or uefi).
The loader is using libsa to find and load the kernel. That's where the issue occurs. Quick search doesn't show the limits anywhere; source code doesn't mention this either.
I was in the impression that loader.efi is calling ExitBootServices() and hence it's on its own.There is no magic, though. libsa works with disks through the "platform code", i.e., BIOS or UEFI or etc.
Finally, I wrote over a terabyte of "random" data. I pressed the reset button.
[15:35:17] fbsdforums(/usr)# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 16.0T 1.07T 14.9T - - 0% 6% 1.00x ONLINE -
[15:35:20] fbsdforums(/usr)#
[15:35:22] fbsdforums(/usr)# gpart show
=> 40 34359738288 vtbd0 GPT (16T)
40 1024 1 freebsd-boot (512K)
1064 1048576 2 efi (512M)
1049640 984 - free - (492K)
1050624 34358685696 3 freebsd-zfs (16T)
34359736320 2008 - free - (1.0M)
=> 40 34359738288 vtbd1 GPT (16T)
40 1024 1 freebsd-boot (512K)
1064 1048576 2 efi (512M)
1049640 984 - free - (492K)
1050624 34358685696 3 freebsd-zfs (16T)
34359736320 2008 - free - (1.0M)
[15:35:23] fbsdforums(/usr)#
I am quite sure that loader (efi or not) does not implement controller drivers, disk drivers, etc, so it must rely on the firmware.I was in the impression that loader.efi is calling ExitBootServices() and hence it's on its own.
I stand corrected.I am quite sure that loader (efi or not) does not implement controller drivers, disk drivers, etc, so it must rely on the firmware.
Exactly.I am quite sure that loader (efi or not) does not implement controller drivers, disk drivers, etc, so it must rely on the firmware.
lenovofix
attribute for irregular (mostly on Lenovo PCs) firnwares (basically on legacy boot with MBR scheme, though).Are you able to repeat your first tests re ZFS on FreeBSD with a single 16 TB partition?I feel like a moron... but pretty sure I got it working.
Under PCIe/PCI/PnP Configuration in the BIOS:
"Launch Storage OpRom Policy"
It was "Legacy Only". I set it to "EFI Compatible."
Debian on 16TB now boots. UFS on 16TB boots. I'm doing some writes to try and confirm it, but am finally feeling pretty confident.
I guess, to be fair, this isn't the most obvious BIOS setting and it certainly deserves some additional documentation in the BIOS itself and the manual (which I've poured over quite a bit.)
I hope this helps someone else!
Glad to hear.I did a reinstall with a 2x 16TB ZFS mirror. I've put 8TB total on the mirror. It reboots just fine now .
Wonderful news!I did a reinstall with a 2x 16TB ZFS mirror. I've put 8TB total on the mirror. It reboots just fine now .