← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1059872] Re: Error formatting disk using disk utility

 

On 27 July 2014 03:16, Phillip Susi <psusi@xxxxxxxxxx> wrote:
> Dimitri, are you going to revert that patch?  I was going to revert it
> locally to verify that installing the new util-linux 2.24 from debian
> experimental fixed it, but it seems that the bzr branch is significantly
> out of date for some reason...
>

I've tested locally both 2.24 and 2.25 from pkg-util-linux and the
sample python script to format a drive using UDisks2 API still fails
with a timeout syncing after initial wipe.
I see no reason to revert that patch, given that UDisks still fails to
format drives, by default. And all that patch does is introduces an
extra option to be less safe.
I also have preliminary scripts to make this into an autopackagetest
using loop mounts.

At the moment though, udisks2 API users are a bit broken e.g. "Disks"
gui utility most importantly.

If there is an urgent desire to revert this harmless by-default patch,
I can stop using UDisks2 api in usb-creator altogether and instead use
something like pyparted or just manual set of low-level commands
(wipefs, mkfs, parted...)

-- 
Regards,

Dimitri.

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

Title:
  Error formatting disk using disk utility

Status in “udisks2” package in Ubuntu:
  Triaged
Status in “util-linux” package in Ubuntu:
  Triaged
Status in “util-linux” package in Debian:
  New

Bug description:
  Formatting a SD card using the disk utility fails with an error
  message

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

  Steps to repro:
  Launch the disk utility
  Plug a SD card into the computer
  Select the SD card and click on the gears icon at the top right of the application
  From the drop down menu, select "Format Disk"
  maintain the default setting and select Format
  Acknowledge warnings
  After format process has been going for a while, the error message shown above pops up

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: udisks 1.0.4-6
  ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4
  Uname: Linux 3.5.0-15-generic x86_64
  ApportVersion: 2.6.1-0ubuntu1
  Architecture: amd64
  CustomUdevRuleFiles: 51-android.rules 51-android.rules~
  Date: Mon Oct  1 15:07:46 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120720.1)
  MachineType: FOXCONN NT-A2400&NT-A3500
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-15-generic root=UUID=fcc445e4-9662-47cc-855d-ca17ad1c2a87 ro quiet splash vt.handoff=7
  SourcePackage: udisks
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/29/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.4
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: NT-A2400&NT-A3500
  dmi.board.vendor: FOXCONN
  dmi.board.version: FAB 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 4
  dmi.chassis.vendor: FOXCONN
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.4:bd03/29/2011:svnFOXCONN:pnNT-A2400&NT-A3500:pvrFAB1.0:rvnFOXCONN:rnNT-A2400&NT-A3500:rvrFAB1.0:cvnFOXCONN:ct4:cvrToBeFilledByO.E.M.:
  dmi.product.name: NT-A2400&NT-A3500
  dmi.product.version: FAB 1.0
  dmi.sys.vendor: FOXCONN

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1059872/+subscriptions


References