[Bug 945433] Re: Incorrect GPT length should be handled better

Ahmad Moawya ahmadmoawya at gmail.com
Tue Aug 7 19:05:07 UTC 2012


Here's the kernel log for the HDD detection:

Aug  7 18:43:03 ubuntu kernel: [    4.308238] ata1.00: HPA detected: current 312579695, native 312581808
Aug  7 18:43:03 ubuntu kernel: [    4.308244] ata1.00: ATA-8: SAMSUNG HD161HJ, GF100-07, max UDMA7
Aug  7 18:43:03 ubuntu kernel: [    4.308247] ata1.00: 312579695 sectors, multi 16: LBA48 NCQ (depth 0/32)
Aug  7 18:43:03 ubuntu kernel: [    4.316237] ata1.00: configured for UDMA/133
Aug  7 18:43:03 ubuntu kernel: [    4.316379] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD161HJ  GF10 PQ: 0 ANSI: 5
Aug  7 18:43:03 ubuntu kernel: [    4.316540] sd 0:0:0:0: [sda] 312579695 512-byte logical blocks: (160 GB/149 GiB)
Aug  7 18:43:03 ubuntu kernel: [    4.316585] sd 0:0:0:0: Attached scsi generic sg0 type 0
Aug  7 18:43:03 ubuntu kernel: [    4.316607] sd 0:0:0:0: [sda] Write Protect is off
Aug  7 18:43:03 ubuntu kernel: [    4.316610] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Aug  7 18:43:03 ubuntu kernel: [    4.316636] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Aug  7 18:43:03 ubuntu kernel: [    4.328993]  sda: unknown partition table
Aug  7 18:43:03 ubuntu kernel: [    4.329204] sd 0:0:0:0: [sda] Attached SCSI disk

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/945433

Title:
  Incorrect GPT length should be handled better

Status in “gdisk” package in Ubuntu:
  New
Status in “parted” package in Ubuntu:
  Triaged

Bug description:
  The GPT LastUsableLba claims the disk is longer than it actually is.
  Parted should handle this error more gracefully and allow for
  repairing it.  gdisk seems to let the error go undetected, possibly
  because it is using the size in the protective MBR rather than
  LastUsableLba.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/945433/+subscriptions




More information about the foundations-bugs mailing list