← Back to team overview

kernel-packages team mailing list archive

[Bug 1082861] Re: udisks: Trying to backup an usb flash memory require manual unmounting

 

jlord87, could you please confirm this issue exists with the latest
development release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains,
could you please run the following command in the development release
from a Terminal (Applications->Accessories->Terminal), as it will
automatically gather and attach updated debug information to this
report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** This bug is no longer a duplicate of bug 1082920
   usb-storage: Not Ready: Medium not present after scsi eject command

** Package changed: udisks (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

** Tags added: needs-full-computer-model needs-upstream-testing
regression-potential

** Description changed:

  If you try to backup and usb pen drive with the (nice) preinstalled tool
  "udisk" the program fails with this error:
  
  "Error opening /dev/sdb: Device or resource busy (udisks-error-quark,
  0)"
  
  HOW TO REPRODUCE
  1) insert an usb pen drive
  2) start udisk
  3) select "create image disk" (not really shure about the english text string)
  4) you will be prompted for the user password, than the program will exit with the error written above.
  
  HOW TO FIX
  1) insert the usb pen drive
  2) manual umount it (for me "sudo umount /dev/sdb1")
  3) launch udisks (you can obviously umount the drive after launching udisks)
  4) start the "create image disk" process
  5) it will work.
  
- For shure a small bug, but I really believe is that kind of bugs that negatively influence end-user's experience.
- It shouldn't be too hard for some developer to add an "umount step" to the script that back up your drive.
- 
- have a nice day
- 
- Francesco (aka moro)
- 
- ps.
- $ lsb_release -rd
- Description:	Ubuntu 12.10
- Release:	12.10
- 
- $ apt-cache policy udisks
- udisks:
-   Installato: 1.0.4-6
-   Candidato:  1.0.4-6
-   Tabella versione:
-  *** 1.0.4-6 0
-         500 http://it.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
-         100 /var/lib/dpkg/status
- 
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: udisks 1.0.4-6
  ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
  Uname: Linux 3.5.0-19-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sun Nov 25 10:55:04 2012
  InstallationDate: Installed on 2012-11-01 (23 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. Q210/P210
  MarkForUpload: True
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=it_IT.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=it_IT.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-19-generic root=UUID=3dc6ee43-3807-4684-91b3-8179053aa87a ro quiet splash vt.handoff=7
  SourcePackage: udisks
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/02/2010
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: 11LE.M009.20100402.KSY
  dmi.board.name: Q210/P210
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: Not Applicable
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr11LE.M009.20100402.KSY:bd04/02/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnQ210/P210:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnQ210/P210:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:
  dmi.product.name: Q210/P210
  dmi.product.version: Not Applicable
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1082861

Title:
  udisks: Trying to backup an usb flash memory require manual unmounting

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  If you try to backup and usb pen drive with the (nice) preinstalled
  tool "udisk" the program fails with this error:

  "Error opening /dev/sdb: Device or resource busy (udisks-error-quark,
  0)"

  HOW TO REPRODUCE
  1) insert an usb pen drive
  2) start udisk
  3) select "create image disk" (not really shure about the english text string)
  4) you will be prompted for the user password, than the program will exit with the error written above.

  HOW TO FIX
  1) insert the usb pen drive
  2) manual umount it (for me "sudo umount /dev/sdb1")
  3) launch udisks (you can obviously umount the drive after launching udisks)
  4) start the "create image disk" process
  5) it will work.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: udisks 1.0.4-6
  ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
  Uname: Linux 3.5.0-19-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sun Nov 25 10:55:04 2012
  InstallationDate: Installed on 2012-11-01 (23 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MachineType: SAMSUNG ELECTRONICS CO., LTD. Q210/P210
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-19-generic root=UUID=3dc6ee43-3807-4684-91b3-8179053aa87a ro quiet splash vt.handoff=7
  SourcePackage: udisks
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/02/2010
  dmi.bios.vendor: Phoenix Technologies Ltd.
  dmi.bios.version: 11LE.M009.20100402.KSY
  dmi.board.name: Q210/P210
  dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.board.version: Not Applicable
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr11LE.M009.20100402.KSY:bd04/02/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnQ210/P210:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnQ210/P210:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:
  dmi.product.name: Q210/P210
  dmi.product.version: Not Applicable
  dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

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