[Bug 253574] buffers passed to efi readblocks needs to be block aligned on arm.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 17 02:40:18 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253574
Bug ID: 253574
Summary: buffers passed to efi readblocks needs to be block
aligned on arm.
Product: Base System
Version: 12.2-RELEASE
Hardware: arm
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: bugzilla at ChrisBowman.com
in stand/efi/boot1/ufs_module.c init_dev allocates a buffer and calls dskread
which passes the buffer to the efi entry readblocks from u-booot.
Likewise in stand/efi/libsa/ufsread.c there are calls to dskread.
according to
https://gitlab.denx.de/u-boot/u-boot/-/commit/f59f0825e8b9fdeb8abe43ffd10c5119ca1a032f
as of f59f0825 lib/efi_loader/efi_disk.c checks for block alignment of the
buffer passed to readblocks.
on my armv7 system u-boot insists on 512 byte alignment.
The blocks allocated in init_dev and fsread should be block aligned.
There probably exists a similar problem in zfs_module.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list