Forgot to mention, there is nothing useful in the journal. The only message is this when the timeout happens:
Apr 23 15:12:35 ubuntu udisksd[3116]: Error synchronizing after formatting with type `vfat': Timed out waiting for object ** Description changed: There is a regression somewhere between udisks, udev, and dosfstools. Formatting a device with vfat hangs and fails: - # blkid -p /dev/sda (nothing) - busctl call org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 'sa{sv}' vfat 0 + # busctl call org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 'sa{sv}' vfat 0 (long pause) Call failed: Error synchronizing after formatting with type `vfat': Timed out waiting for object # blkid -p /dev/sda /dev/sda: PTUUID="3690494f" PTTYPE="dos" OTOH, formatting as ext4 works fine: # wipefs -a /dev/sda; wipefs -a /dev/sda # busctl call org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 'sa{sv}' ext4 0 (immediately succeeds) # blkid -p /dev/sda /dev/sda: UUID="8bea7475-6af5-4835-86d0-0e5b2cb5500e" VERSION="1.0" BLOCK_SIZE="4096" TYPE="ext4" USAGE="filesystem" I tested this to a QEMU emulated disk, but it reproduces equally well against a `modprobe scsi_debug` device. Package: udisks2 2.9.2-1 DistroRelease: Ubuntu 21.04 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to udisks2 in Ubuntu. https://bugs.launchpad.net/bugs/1925822 Title: [21.04 regression] formatting vfat times out Status in udisks2 package in Ubuntu: New Bug description: There is a regression somewhere between udisks, udev, and dosfstools. Formatting a device with vfat hangs and fails: # blkid -p /dev/sda (nothing) # busctl call org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 'sa{sv}' vfat 0 (long pause) Call failed: Error synchronizing after formatting with type `vfat': Timed out waiting for object # blkid -p /dev/sda /dev/sda: PTUUID="3690494f" PTTYPE="dos" OTOH, formatting as ext4 works fine: # wipefs -a /dev/sda; wipefs -a /dev/sda # busctl call org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 'sa{sv}' ext4 0 (immediately succeeds) # blkid -p /dev/sda /dev/sda: UUID="8bea7475-6af5-4835-86d0-0e5b2cb5500e" VERSION="1.0" BLOCK_SIZE="4096" TYPE="ext4" USAGE="filesystem" I tested this to a QEMU emulated disk, but it reproduces equally well against a `modprobe scsi_debug` device. Package: udisks2 2.9.2-1 DistroRelease: Ubuntu 21.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1925822/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp