[haiku-bugs] [Haiku] #11796: Support for "4K-native" hard disks.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Jan 2015 13:57:24 -0000

#11796: Support for "4K-native" hard disks.
-------------------------+------------------------------
 Reporter:  pulkomandy   |        Owner:  nobody
     Type:  enhancement  |       Status:  new
 Priority:  normal       |    Milestone:  Unscheduled
Component:  - General    |      Version:  R1/Development
 Keywords:               |   Blocked By:
 Blocking:               |  Has a Patch:  0
 Platform:  All          |
-------------------------+------------------------------
 For some time now hard disks and SSDs have switched to 4K sectors instead
 of 512 bytes. They have, however, hidden this from the OS as it would
 break too much things (motherboard chipsets, BIOSes, etc). So the drives
 report secotrs of 512 bytes to the system and make adjustments on the
 firmware side.

 However, we're starting to see some (high-end) drives which expose 4K
 sectors to the system. With an UEFI system and well-designed chipset the
 hardware issues should be solved, but the software needs to be adjusted as
 well. We need to check our MBR/GPT code, our stage1 loader, and the
 releated tools (drivesetup, writembr, makebootable, etc). We also need to
 check the ATA stack, block cache, filesystems, and make sure they don't
 hardcode the 512 bytes value anywhere and can handle 4K sectors properly.
 I suspect most of the issues would be in the bootloader and MBR, which is
 probably ok as these are skipped on EFI systems and it is currently
 unclear if an MBR is supposed to work on 4K-sector disks at all.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11796>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: