Error formatting disk using disk utility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DarGUI |
New
|
Undecided
|
Unassigned | ||
util-linux (Debian) |
Fix Released
|
Unknown
|
|||
util-linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Triaged
|
High
|
Unassigned |
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-
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-
# 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
ProcVersionSign
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.6.1-0ubuntu1
Architecture: amd64
CustomUdevRuleF
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=
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.
dmi.board.name: NT-A2400&NT-A3500
dmi.board.vendor: FOXCONN
dmi.board.version: FAB 1.0
dmi.chassis.
dmi.chassis.type: 4
dmi.chassis.vendor: FOXCONN
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: NT-A2400&NT-A3500
dmi.product.
dmi.sys.vendor: FOXCONN
Related branches
- Mathieu Trudel-Lapierre: Needs Information
-
Diff: 710 lines (+338/-140)11 files modifieddebian/changelog (+17/-0)
libblkid/src/blkid.h.in (+3/-0)
libblkid/src/blkid.sym (+8/-0)
libblkid/src/blkidP.h (+2/-0)
libblkid/src/partitions/gpt.c (+9/-0)
libblkid/src/partitions/partitions.c (+12/-4)
libblkid/src/partitions/ultrix.c (+10/-0)
libblkid/src/probe.c (+133/-0)
libblkid/src/superblocks/superblocks.c (+0/-15)
libblkid/src/superblocks/superblocks.h (+0/-2)
misc-utils/wipefs.c (+144/-119)
Changed in udisks (Debian): | |
status: | Unknown → New |
Changed in udisks (Debian): | |
status: | Unknown → Confirmed |
tags: | added: trusty |
Changed in udisks (Debian): | |
status: | Confirmed → Fix Released |
Changed in udisks (Debian): | |
status: | Fix Released → Confirmed |
Changed in udisks (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in util-linux (Debian): | |
status: | Confirmed → New |
Changed in util-linux (Debian): | |
status: | New → Fix Released |
Changed in udisks2 (Ubuntu Trusty): | |
milestone: | none → ubuntu-14.04.2 |
Changed in util-linux (Ubuntu Trusty): | |
milestone: | none → ubuntu-14.04.2 |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in util-linux (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in gnome-disk-utility: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gnome-disk-utility: | |
importance: | Medium → Undecided |
status: | Confirmed → New |
status: | New → Invalid |
no longer affects: | gnome-disk-utility |
description: | updated |
Changed in util-linux (Debian): | |
status: | Fix Released → New |
Changed in util-linux (Debian): | |
status: | New → Incomplete |
Changed in util-linux (Debian): | |
status: | Incomplete → Fix Released |
Changed in udisks2 (Ubuntu Trusty): | |
milestone: | ubuntu-14.04.2 → none |
Changed in util-linux (Ubuntu Trusty): | |
milestone: | ubuntu-14.04.2 → trusty-updates |
no longer affects: | udisks2 (Ubuntu Trusty) |
description: | updated |
description: | updated |
no longer affects: | udisks2 (Ubuntu) |
Changed in oem-priority: | |
status: | New → Incomplete |
no longer affects: | oem-priority |
Status changed to 'Confirmed' because the bug affects multiple users.