[Bug 216964] boot1.efi: can't boot from ZFS on 4kn HDD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 2 18:39:12 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216964

Toomas Soome <tsoome at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tsoome at freebsd.org

--- Comment #5 from Toomas Soome <tsoome at freebsd.org> ---
(In reply to Sergey Kozlov from comment #4)

The hint is on the screenshot; error 4 is EFI_BAD_BUFFER_SIZE; and indeed, the
read size is 2048, thats half the sector. So the solution is that we need boot1
to use buffer if the sector size is >512B.

The similar problem most likely will hit us in loader.efi.

The UFS is working because the ufs is using 4k data blocks - that is, all reads
are at least 4k.

Hm, I think... probably the best solution is to make sure zfs code does provide
at least sector size buffer for reads. It is quite easy to do with 12-current,
for 11, we would need to backport some updates.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list