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

Bug #1082861 reported by jlord87
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
New
Undecided
Unassigned

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.
---
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 2773 F.... pulseaudio
CasperVersion: 1.336
DistroRelease: Ubuntu 13.10
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130822)
MachineType: SAMSUNG ELECTRONICS CO., LTD. Q210/P210
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 nouveaufb
ProcKernelCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash --
ProcVersionSignature: Ubuntu 3.11.0-3.7-generic 3.11.0-rc6
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-3-generic N/A
 linux-backports-modules-3.11.0-3-generic N/A
 linux-firmware 1.113
Tags: saucy
Uname: Linux 3.11.0-3-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
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.

Revision history for this message
jlord87 (moro-87) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in udisks (Ubuntu):
status: New → Confirmed
Revision history for this message
Lesser (j-brouwers) wrote :

Thanks for the workaround!

Revision history for this message
penalvch (penalvch) wrote :

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.

affects: udisks (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-full-computer-model needs-upstream-testing regression-potential
description: updated
Changed in linux (Ubuntu):
importance: Undecided → Medium
affects: linux (Ubuntu) → udisks (Ubuntu)
Changed in udisks (Ubuntu):
importance: Medium → Undecided
status: Incomplete → New
penalvch (penalvch)
tags: removed: needs-upstream-testing
Revision history for this message
jlord87 (moro-87) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected saucy
description: updated
Revision history for this message
jlord87 (moro-87) wrote : BootDmesg.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : CRDA.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : CurrentDmesg.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : IwConfig.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : Lspci.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : Lsusb.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : ProcEnviron.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : ProcInterrupts.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : ProcModules.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : PulseList.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : RfKill.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : UdevDb.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : UdevLog.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote : WifiSyslog.txt

apport information

Revision history for this message
jlord87 (moro-87) wrote :

The bug is still here in the daily build.
The only difference is that now I'm not even prompted for the user password (but it may be related to the fact that I'm using a live-usb-pen...)

I'll try to understand how to test with the upstream kernel, but I don't think It's a kernel related problem.

cheers

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.