Cdrom automount after "hard" ejecting fails

Bug #626874 reported by phanyx
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
udisks
New
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Hello,

when a CD is in use and you "hard" eject it ("hard" = manually click the eject button on the device), next and every after CD you insert won't be automounted. You can still use "mount /dev/sr0 /cdrom -t iso9660 -o loop", but it's not very convenient and far from user-friendly.

The scenario can be particularly reproduced, when CD-ROM is shared over samba network, and someone is actually accessing the CD (or even done accessing it, but samba still "uses" it). This situation isn't that uncommon, since lots of netbooks (all of them?) haven't a CD-ROM, so one way to access CD content on a netbook is to share a CD on PC.

Other way to reproduce this issue is to mount a CD image (e.g. an .iso), that is recorded on a CD/DVD, with e.g. cdemu. Even after releasing the .iso from virtual drive, the real CD still appears "in use", and one way to eject it is to "hard" eject it and trigger the issue. (The other way is to restart cdemud (funny though)).

I believe, that when wine is using a CD (e.g. windows installer), the CD is "in use" forever too, hence the issue occur from here too.

To summarize: "hard" ejecting is cool (allows to eject CDs, that appears "in use"), but triggers an annoying automount malfunction until next system reboot.

Regards,
phan

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ubuntu-desktop (not installed)
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Aug 30 16:04:03 2010
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=pl_PL.utf8
 SHELL=/bin/bash
SourcePackage: ubuntu-meta

WORKAROUND:
Manually mount the cd after inserting it.

Revision history for this message
Andrej Mernik (r33d3m33r-deactivatedaccount) wrote :

I think I'm experiencing the same bug. Steps to reproduce:

1.) Insert disc, it automounts
2.) Eject disc with the button on the DVD drive
3.) Disc ejects, but Icon stays on desktop
4.) Put in blank disc, it automounts and now I have two icons on desktop
5.) Try to burn something with Brasero, the program gets stuck
6.) Eject the blank disc now with the button on DVD drive
7.) Disc ejects and both icons disappear

or

1.) Insert disc, it automounts
2.) Eject disc with the button on the DVD drive
3.) Disc ejects, but Icon stays on desktop
4.) Put in not empty disc with different name, it fails to mount
5.) Eject the disc with the button on the DVD drive, icon stays on desktop
6.) Repeat steps 4. and 5., automount fails everytime, icon from step 1. still there
7.) Unmount on icon, it dissapears, automount still fails

description: updated
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

affects: ubuntu-meta (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
description: updated
Revision history for this message
PCMan (pcman-tw) wrote :

This bug is caused by the same problem as reported in #711549 - pressing physical eject button on CD/DVD drive causes icon to remain on desktop after eject.

https://bugs.launchpad.net/udisks/+bug/711549

They are actually the same bug.
I already provided a patch for #711549.
Please get it tested and if possible fix the bug as soon as possible since it's a severe usability defect.
Thanks a lot.

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.