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

Johann Popper lethedrinker999 at gmail.com
Tue Apr 19 11:18:30 UTC 2016


"If it bothers you that much, run 15.10 or 16.04."

I tried both, Phillip, but the bug is still present. I couldn't conceive
of such a basic malfunction affecting the previous LTS, so I switched
back to 14.04, only to be shocked and horrified to discover that the bug
has been around this long.

Imagine, a fundamental function broken for years is still tolerated in
the NEXT LTS release. I don't know how to describe that level of
lethargy.

(This makes at least two default apps in the current release of Ubuntu
that manifest total failure to function, since Transmission just deletes
torrents as soon as the downloads complete, probably due to some complex
permissions clusterfrell casual users shouldn't be expected to
understand or rectify.)

Anyone, I'll be trying out upgrading util-linux from Ivan's ppa to see
if that works.

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

Title:
  Error formatting disk using disk utility

Status in DarGUI:
  New
Status in OEM Priority Project:
  New
Status in udisks2 package in Ubuntu:
  Invalid
Status in util-linux package in Ubuntu:
  Fix Released
Status in util-linux source package in Trusty:
  Triaged
Status in util-linux package in Debian:
  Fix Released

Bug description:
  [Impact]

  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)"

  The underlying problem is that the "wipefs" tool from util-linux does
  not work any more.

  You can work around this bug in gnome-disk-utility using these steps:

  * After selecting the SD card, instead of clicking the gear icon to format,
    click the partition in the "Volumes" section.

  * Delete the partition ("minus" icon)

  * Create a new partition

  [Test Case]

  $ sudo modprobe scsi_debug dev_size_mb=200
  # this creates a new /dev/sdX, usually /dev/sdb; check dmesg!

  # now create a partition table
  $ cat <<EOF | sudo sfdisk /dev/sdb
  # partition table of /dev/sdb
  unit: sectors

  /dev/sdb1 : start=       32, size=   409568, Id=83
  /dev/sdb2 : start=        0, size=        0, Id= 0
  /dev/sdb3 : start=        0, size=        0, Id= 0
  /dev/sdb4 : start=        0, size=        0, Id= 0
  EOF

  # now create an ext4 file system:
  $ sudo mkfs.ext4 /dev/sdb1

  # check contents:
  $ sudo blkid -p /dev/sdb /dev/sdb1
  /dev/sdb: PTTYPE="dos"
  /dev/sdb1: UUID="4bd1c542-a61f-43c4-a7e5-cc50e66e6b5a" VERSION="1.0" TYPE="ext4" USAGE="filesystem" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x83" PART_ENTRY_NUMBER="1" PART_ENTRY_OFFSET="32" PART_ENTRY_SIZE="409568" PART_ENTRY_DISK="8:16"

  # wipe:
  $ sudo wipefs -a /dev/sdb

  # now check contents again
  $ sudo blkid -p /dev/sdb /dev/sdb1

  # in the broken case, you will still see a "dos" partition table and
  the ext4 partition; in the working case, /dev/sdb won't show anything
  and /dev/sdb1 does not exist any more

  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/dargui/+bug/1059872/+subscriptions



More information about the foundations-bugs mailing list