Date: Thu, 02 Mar 2017 18:39:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 216964] boot1.efi: can't boot from ZFS on 4kn HDD Message-ID: <bug-216964-3630-ZmYM5TNwbo@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-216964-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-216964-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216964 Toomas Soome <tsoome@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tsoome@freebsd.org --- Comment #5 from Toomas Soome <tsoome@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 b= oot1 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 r= eads are at least 4k. Hm, I think... probably the best solution is to make sure zfs code does pro= vide at least sector size buffer for reads. It is quite easy to do with 12-curre= nt, for 11, we would need to backport some updates. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216964-3630-ZmYM5TNwbo>