[Bug 1215458] [NEW] Auto-partitioning with LVM on Advanced Format Disks causes parted_server segfault

Kent Baxley 1215458 at bugs.launchpad.net
Thu Aug 22 14:07:53 UTC 2013


Public bug reported:

When installing Ubuntu Server 13.10 (as well as 13.04, 12.10, and
12.04.{2,3}) on Advanced Format hard drives with native 4k/4k sectors,
we encounter a crash in partman_server when electing to auto-partition
using LVM.  This also happens on the desktop versions.

Steps to reproduce:

1) Obtain a 4k/4k Advanced Format drive.
2) Begin installing Ubuntu Server 13.10.
3) At the partitioning phase select the "Guided - Use Entire Disk and Configure LVM" option.

Actual Results:
Once that is selected, the installer will try to partition the disk, but then it won't move past that point.  If you switch over the Ctrl+Alt+F4 screen you'll see a segfault in parted_server.    I've attached the crash dump from a recent attempt on the 13.10 desktp version. 

Expected Results:
Successful auto-partitioning using LVM.

Notes:
Manual partitioning and auto-partitioning without LVM works fine.  No crashes and the installer runs to completion.

If no Advanced Format disk is available, this could possibly be
replicated using qemu like so:

 qemu-system-x86_64 -enable-kvm -monitor stdio -m 1024 -bios
/usr/share/ovmf/OVMF.fd -cdrom raring-mini-amd64.iso -global ide-
drive.physical_block_size=4096 -global ide-drive.logical_block_size=4096
-drive file=t.img,if=ide,index=0,media=disk

** Affects: partman-basicfilesystems (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1215458

Title:
  Auto-partitioning with LVM on Advanced Format Disks causes
  parted_server segfault

Status in “partman-basicfilesystems” package in Ubuntu:
  New

Bug description:
  When installing Ubuntu Server 13.10 (as well as 13.04, 12.10, and
  12.04.{2,3}) on Advanced Format hard drives with native 4k/4k sectors,
  we encounter a crash in partman_server when electing to auto-partition
  using LVM.  This also happens on the desktop versions.

  Steps to reproduce:

  1) Obtain a 4k/4k Advanced Format drive.
  2) Begin installing Ubuntu Server 13.10.
  3) At the partitioning phase select the "Guided - Use Entire Disk and Configure LVM" option.

  Actual Results:
  Once that is selected, the installer will try to partition the disk, but then it won't move past that point.  If you switch over the Ctrl+Alt+F4 screen you'll see a segfault in parted_server.    I've attached the crash dump from a recent attempt on the 13.10 desktp version. 

  Expected Results:
  Successful auto-partitioning using LVM.

  Notes:
  Manual partitioning and auto-partitioning without LVM works fine.  No crashes and the installer runs to completion.

  If no Advanced Format disk is available, this could possibly be
  replicated using qemu like so:

   qemu-system-x86_64 -enable-kvm -monitor stdio -m 1024 -bios
  /usr/share/ovmf/OVMF.fd -cdrom raring-mini-amd64.iso -global ide-
  drive.physical_block_size=4096 -global ide-
  drive.logical_block_size=4096 -drive
  file=t.img,if=ide,index=0,media=disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-basicfilesystems/+bug/1215458/+subscriptions




More information about the foundations-bugs mailing list