Currently there is a bug in u-boot Ext4 filesystem driver that causes a
"read outside partition" error. This bug only shows when the HDD is
greater than 2TB in capacity (i.e. driver using uint64 lbaint_t). But all
users will see is u-boot silently failed to read the HDD file system
directory.

For example, ext4ls command will return with an empty directory list,
and without any indication that the command has failed.

This was tested with the Synology DS116 (Armada 385) board, and a 4TB
Seagate HDD. Linux kernel 6.14.6 Ext4 driver handles the same 4TB HDD correctly.



Tony Dinh (1):
  fs: fs_devread should log error when read outside partition

 fs/fs_internal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.39.5

base-commit: 126a88d49bcae04bbfc0d6723097cd6341355ade
branch: master

Reply via email to