[Bug 1065281] Re: Installer crashed when trying to partition 4k/4k sector hard disks

Kent Baxley 1065281 at bugs.launchpad.net
Mon Mar 25 20:32:08 UTC 2013


I've had a chance to revisit this today.

Part of the problem seems to be related to how the installer is seeing
the 4k/4k disk.

The 4k/4k sector disk is 1TB in size, however, the partitioner only sees
the disk as 125GB.  The installer will partition this space and the
installation will continue, but, we end up with an un-bootable machine.
dmesg and syslog, however, see the full 1TB of space for the disk.

If I run a df -h at the console during install time, we also see the
correct sizes for the partitions (at least they seem to be):

/dev/sdb1    761.7M   32.0K   761.7M   0%  /target/boot/efi
/dev/sdb2   73.2G    658.6M   68.8G  1%  /target
/dev/sdb4   807.9G  72.2M   766.8G  0%  /target/home

Also running parted in rescue mode, here's what we end up with:

Model: SEAGATE ST91000640SS (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt

Number  Start      End        SIze   File System   Name   Flags
1               1049KB  800MB  799MB                                       boot
2               800MB   80.8GB   80.0GB                    
3              80.8GB   119GB    38.0GB
4              119GB    1000GB  881GB

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

Title:
  Installer crashed when trying to partition 4k/4k sector hard disks

Status in The Dell PowerEdge project:
  In Progress
Status in OEM Priority Project:
  Fix Committed
Status in OEM Priority Project precise series:
  In Progress
Status in OEM Priority Project quantal series:
  In Progress
Status in OEM Priority Project raring series:
  Fix Released
Status in Release Notes for Ubuntu:
  Invalid
Status in Release Notes for Ubuntu quantal series:
  Triaged
Status in “dosfstools” package in Ubuntu:
  Fix Released
Status in “efibootmgr” package in Ubuntu:
  Fix Released
Status in “partman-basicfilesystems” package in Ubuntu:
  Fix Released
Status in “partman-efi” package in Ubuntu:
  Fix Released
Status in “dosfstools” source package in Precise:
  Fix Committed
Status in “efibootmgr” source package in Precise:
  Triaged
Status in “partman-basicfilesystems” source package in Precise:
  Fix Committed
Status in “partman-efi” source package in Precise:
  Fix Committed
Status in “dosfstools” source package in Quantal:
  Fix Committed
Status in “efibootmgr” source package in Quantal:
  Triaged
Status in “partman-basicfilesystems” source package in Quantal:
  Fix Committed
Status in “partman-efi” source package in Quantal:
  Fix Committed

Bug description:
  partman_server crashes on Ubuntu 12.10 server for amd64 when trying to
  partition an Advanced Format (4k / 4k sector) hard disk.

  Disks that utilize 4k sectors with 512 emulation work fine.  The
  installer has no problems with those.

  Steps to Reproduce:
  1) Begin the installation in EFI mode. 
  2) At the disk partitioning stage, select "Guided use Entire Disk" or "Manual"
  3) Review and accept the proposed partitioning scheme and write changes to disk. 

  Actual Results:
  The system will attempt to create a the EFIboot partition.  At this stage the installer appears to hang.   Pressing Ctrl+AltF4 reveals that parted_server has crashed with the following message:

  parted_server[13865]: segfault at 22fa000 ip 00007fa6eb74bee7 sp
  00007fffec3ab500 error 4 in libparted.so.0.0.1[7fa6eb735000+64000]

  Expected results:
  Installation should carry on without a crash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-poweredge/+bug/1065281/+subscriptions




More information about the foundations-bugs mailing list