8748 loader: ptblread() is broken with >512B sectors

Review Request #690 — Created Oct. 31, 2017 and submitted

tsoome
illumos-gate
8748
4ff9b01...
general
The loader strategy() function is assuming 512B blocks, so we need to adjust
ptblread() for other sector sizes.

https://reviews.freebsd.org/D12847

UEFI boot to verify 512B and 4k disks and zfs pools.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
rm
  1. 
      
  2. usr/src/boot/sys/boot/common/disk.c (Diff revision 1)
     
     
    How about:
    
    The strategy function assumes the offset is in units of 512 byte sectors. For larger sector sizes, we need to adjust the offset to match the actual sector size.
  3. 
      
tsoome
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...