aboutsummaryrefslogtreecommitdiffstats
path: root/src/fw/paravirt.h
diff options
context:
space:
mode:
authorMax Tottenham <mtottenh@akamai.com>2024-01-25 10:00:50 -0500
committerGerd Hoffmann <kraxel@redhat.com>2024-01-26 15:59:34 +0100
commit82faf1d5c8b25375b9029f2d6668135e62455a8c (patch)
treeb272a5171b796d9e34a793be56611b3afc41ac16 /src/fw/paravirt.h
parent3f082f38bf0050270dc65abf256f7014f6c0c4a8 (diff)
downloadseabios-82faf1d5c8b25375b9029f2d6668135e62455a8c.tar.gz
Add LBA 64bit support for reads beyond 2TB.
When booting from a >2TB drive/filesystem, it's possible what the kernel/bootloader may be updated and written out at an LBA address beyond what is normally accessible by the READ(10) SCSI commands. If this happens to the kernel grub will fail to boot the kernel as it will call into the BIOS with an LBA address >2TB, and the BIOS will return an error. Per the SCSI spec, >2TB drives should return 0XFFFFFFFF, and a READ CAPACITY(16) command should be issued to determine the full size of the drive, READ(16) commands can then be used in order to read data at LBA addresses beyond 2TB (64 bit LBA addresses) Signed-off-by: Max Tottenham <mtottenh@akamai.com> Message-ID: <20240125150050.3775834-2-mtottenh@akamai.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/fw/paravirt.h')
0 files changed, 0 insertions, 0 deletions