[Bug 1215458] Re: Auto-partitioning with LVM on Advanced Format Disks causes parted_server segfault
Colin Watson
cjwatson at canonical.com
Wed Sep 11 16:25:13 UTC 2013
(gdb) bt
#0 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1578
#1 0x00007ffc45d59ca6 in memcpy (__len=3997696, __src=0x9c5ae0, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#2 linux_write (dev=0x9c03a0, buffer=0x9c5ae0, start=48906, count=<optimized out>) at ../../libparted/arch/linux.c:1927
#3 0x00007ffc45d556d0 in ped_geometry_write (geom=<optimized out>, buffer=<optimized out>, offset=10, count=<optimized out>) at ../../libparted/cs/geom.c:392
#4 0x00007ffc45d61c2f in ext2_mkfs_write_meta (timer=0x9c5030, gd=0x9c50a0, sb=0x7fffbf7ae970, handle=0x9c1420) at ../../../../libparted/fs/ext2/ext2_mkfs.c:225
#5 ext2_mkfs (handle=handle at entry=0x9c1420, numblocks=<optimized out>, numblocks at entry=0, log_block_size=<optimized out>, log_block_size at entry=0, blocks_per_group=<optimized out>, blocks_per_group at entry=0, inodes_per_group=3904, inodes_per_group at entry=0,
sparse_sb=1, sparse_sb at entry=-1, reserved_block_percentage=5, reserved_block_percentage at entry=-1, timer=timer at entry=0x9c5030) at ../../../../libparted/fs/ext2/ext2_mkfs.c:611
#6 0x00007ffc45d642c9 in _ext2_create (geom=<optimized out>, timer=0x9c5030) at ../../../../libparted/fs/ext2/interface.c:190
#7 0x00007ffc45d4fed1 in ped_file_system_create (geom=0x9c1248, type=0x7ffc45fb7a40 <_ext2_type>, timer=0x9c5030) at ../../libparted/filesys.c:534
#8 0x00000000004039a2 in ?? ()
#9 0x000000000040baa1 in ?? ()
#10 0x000000000040f42c in ?? ()
#11 0x0000000000402bb1 in ?? ()
#12 0x00007ffc45999de5 in __libc_start_main (main=0x4029d0, argc=1, ubp_av=0x7fffbf7af0d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbf7af0c8) at libc-start.c:260
#13 0x0000000000402bda in ?? ()
--
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 The Dell PowerEdge project:
In Progress
Status in “partman-basicfilesystems” package in Ubuntu:
In Progress
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/dell-poweredge/+bug/1215458/+subscriptions
More information about the foundations-bugs
mailing list