Parted server appears to hang when attempting to format a swap partition on powerpc.

Bug #450214 reported by Luke Yelavich on 2009-10-13
This bug affects 2 people
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
partman-base (Ubuntu)
Luke Yelavich

Bug Description

When attempting to either manually partition, or install using an entire disk on powerpc hardware, the install process hangs at the step of formatting the swap partition. I can still switch between VTs etc.

Attached are the syslog and partman log to help identify the issue. The syslog is augmented with DEBCONF_DEBUG=developer, as well as -x being used in /lib/partman/commit.d/30parted and /lib/partman/commit.d/45format_swap.

 affects ubuntu/partman-base

Luke Yelavich (themuso) wrote :
Luke Yelavich (themuso) wrote :

Sorry, I should clarify that this is with the alternate installer.

Luke Yelavich (themuso) wrote :

I also get the same behavior with ubiquity on the desktop CD.

Luke Yelavich (themuso) wrote :

Moving to parted, as things go pair shaped when ped_timer_new is called from within timered_file_system_create. ped_timer_new is a libparted function, and as shown by the strace, time(NULL) is the same number twice, before the timer_handler callback is called with information from the libparted timer functions.

affects: partman-base (Ubuntu) → parted (Ubuntu)
Changed in parted (Ubuntu):
assignee: nobody → Luke Yelavich (themuso)
Luke Yelavich (themuso) wrote :

I have now discovered that gparted also fails to create/format a swap partition on a mac partition table. In addition, I have managed to reproduce this using an external drive on both powerpc and x86. The only thing thats baffling, is that gparted doesn't appear to use any of libparted's timer functions, which is where parted_server was choaking for the installer. I'll get an strace of gparted to see if there is anything that may help identify the issue.

Luke Yelavich (themuso) wrote :

SOme developments.

Gparted on jaunty behaves the same as karmic with mac partitions, so it is hitting a different issue, not related to this bug, so gparted evidence is useless here.

After running an ubiquity install on i386, I noticed that a timer exception is also thrown, but things keep on going with no issue.. Attaching i386 logs.

Martin Pitt (pitti) on 2009-10-23
affects: parted (Ubuntu) → partman-base (Ubuntu)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-base - 133ubuntu4

partman-base (133ubuntu4) karmic; urgency=low

  * Build with -O2 on powerpc to avoid a suspected toolchain bug
    (LP: #450214).

 -- Colin Watson <email address hidden> Fri, 23 Oct 2009 15:13:52 +0100

Changed in partman-base (Ubuntu):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package e2fsprogs - 1.41.9-1ubuntu3

e2fsprogs (1.41.9-1ubuntu3) karmic; urgency=low

  * Build e2fsprogs-udeb with -O2 on powerpc to avoid a suspected toolchain bug
    (LP: #450214).

 -- Luke Yelavich <email address hidden> Sat, 24 Oct 2009 17:03:42 +1100

Changed in e2fsprogs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers