[Bug 1318954] Re: Error formatting disk "Error synchronizing after initial wipe: Timed out waiting for object (udisks-error-quark, 0)"

Yu Ning ning.yu at canonical.com
Mon Jul 7 10:31:50 UTC 2014


If we ignore the timed out error in util-linux/src/udiskslinuxblock.c:
handle_format():

  if (udisks_daemon_wait_for_object_sync (daemon,
                                          wait_for_filesystem,
                                          wait_data,
                                          NULL,
                                          15,
                                          &error) == NULL)
    {
#if 0
      g_prefix_error (&error, "Error synchronizing after initial wipe: ");
      if (invocation != NULL)
        g_dbus_method_invocation_take_error (invocation, error);
      else
        g_clear_error (&error);
      goto out;
#endif
    }

Then gnome-disks can format usb sticks correctly, and usb-creator also works with another patch:
https://code.launchpad.net/~yuningdodo/usb-creator/usb-creator.lp1300361-format-parent-device-to-erase-correctly/+merge/225799

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

Title:
  Error formatting disk "Error synchronizing after initial wipe: Timed
  out waiting for object (udisks-error-quark, 0)"

Status in GNOME Disks:
  Confirmed
Status in “gnome-disk-utility” package in Ubuntu:
  Confirmed
Status in “udisks2” package in Ubuntu:
  Confirmed
Status in “util-linux” package in Ubuntu:
  Confirmed
Status in “gnome-disk-utility” package in Debian:
  New
Status in “util-linux” package in Debian:
  Fix Released

Bug description:
  I get this error "Error synchronizing after initial wipe: Timed out
  waiting for object (udisks-error-quark, 0)" when I try to format a USB
  pendrive. See screenshot.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-disk-utility 3.10.0-1ubuntu3
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue May 13 10:34:46 2014
  ExecutablePath: /usr/bin/gnome-disks
  InstallationDate: Installed on 2014-04-20 (22 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: gnome-disk-utility
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-disk-utility/+bug/1318954/+subscriptions



More information about the foundations-bugs mailing list