[Bug 1589028] [NEW] Improper blocksize set by usb-creator, leads to problems during formatting

Severus Tux severustux at gmail.com
Sat Jun 4 03:36:29 UTC 2016


Public bug reported:

When ever I create a bootable USB using usb-creator , and when I try to
format it after my work is done, I get this error

“The Driver descriptor says physical block size is 2048 bytes, but Linux
says it is 512” in Gparted. (screen shot in the attachment)

Furthermore , The USB is divided into strange partitions (image
attached). and shows the 16GB partition as 60GB partition.

I presume that this is because of setting the blocksize to 1000000 by
this tool : as in the source code here : https://bazaar.launchpad.net
/~usb-creator-hackers/usb-creator/trunk/view/474/bin/usb-creator-
helper#L111

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: usb-creator-gtk 0.3.2
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Jun  4 08:53:43 2016
InstallationDate: Installed on 2016-05-30 (4 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: usb-creator
UpgradeStatus: No upgrade log present (probably fresh install)
UsbCreatorLog:
 usb-creator 2016-06-04 08:53:29,852 (DEBUG) backend.py:24: UDisks2Backend
 usb-creator 2016-06-04 08:53:30,152 (DEBUG) backend.py:64: detect_devices
 usb-creator 2016-06-04 08:53:30,157 (DEBUG) backend.py:104: drive added: /org/freedesktop/UDisks2/block_devices/sr0
 usb-creator 2016-06-04 08:53:30,157 (DEBUG) backend.py:118: not adding device: 0 byte disk.
 usb-creator 2016-06-04 08:53:32,702 (DEBUG) backend.py:181: cancel_install

** Affects: usb-creator (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Attachment added: "Weird partitioning done by SDC"
   https://bugs.launchpad.net/bugs/1589028/+attachment/4676527/+files/BSU0I.png

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

Title:
  Improper blocksize set by usb-creator, leads to problems during
  formatting

Status in usb-creator package in Ubuntu:
  New

Bug description:
  When ever I create a bootable USB using usb-creator , and when I try
  to format it after my work is done, I get this error

  “The Driver descriptor says physical block size is 2048 bytes, but
  Linux says it is 512” in Gparted. (screen shot in the attachment)

  Furthermore , The USB is divided into strange partitions (image
  attached). and shows the 16GB partition as 60GB partition.

  I presume that this is because of setting the blocksize to 1000000 by
  this tool : as in the source code here : https://bazaar.launchpad.net
  /~usb-creator-hackers/usb-creator/trunk/view/474/bin/usb-creator-
  helper#L111

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: usb-creator-gtk 0.3.2
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Jun  4 08:53:43 2016
  InstallationDate: Installed on 2016-05-30 (4 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  SourcePackage: usb-creator
  UpgradeStatus: No upgrade log present (probably fresh install)
  UsbCreatorLog:
   usb-creator 2016-06-04 08:53:29,852 (DEBUG) backend.py:24: UDisks2Backend
   usb-creator 2016-06-04 08:53:30,152 (DEBUG) backend.py:64: detect_devices
   usb-creator 2016-06-04 08:53:30,157 (DEBUG) backend.py:104: drive added: /org/freedesktop/UDisks2/block_devices/sr0
   usb-creator 2016-06-04 08:53:30,157 (DEBUG) backend.py:118: not adding device: 0 byte disk.
   usb-creator 2016-06-04 08:53:32,702 (DEBUG) backend.py:181: cancel_install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1589028/+subscriptions



More information about the foundations-bugs mailing list