Ejecting a CD/DVD gives "Writing data to storage device" msg

Bug #34274 reported by Gabriel Burt
82
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

When I right click on a CD/DVD in nautilus and Eject it, it pops up a dialog that has a progess bar and says "Writing data to storage device CD-RW/DVD-ROM Drive". This happens on blank CD-Rs, DVDs, etc, where there obviously is no data to be written. Besides being very misleading and wrong, there are two other problems with it: the D in Drive is capitalized, and it says "Please do not remove the device while this operation is in progress" -- which obviously I can't since it hasn't ejected yet!

Changed in nautilus:
assignee: nobody → pitti
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

 nautilus (2.14.0-0ubuntu2) dapper; urgency=low
 .
   * debian/patches/08_unmount_progress_dialog.patch:
     - Remove ugly line break from label and avoid excess padding.
     - Only show the progress dialog for read-write volumes and only for
       certain classes of drives where it makes sense (not for CD-ROMs, for
       example). (Malone #34274)

Changed in nautilus:
status: Confirmed → Fix Released
Revision history for this message
Vytas (vytas) wrote :

I did a full upgrade, but nothing helps, with nautilus 2.14.0-0ubuntu3 the bug is still reproducable. Should I reopen the bug, or is the fix still not applied?

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

At least on my machine, that update instantly cured the problem back then, as advertised.
I no longer get any dialog when ejecting a CD.

Revision history for this message
Vytas (vytas) wrote :

Maybe something is wrong on my system, I'm puzzled here: I get the bug https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/29888 too :(

Maybe it might be because I'm running 686/smp kernel?

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

> Maybe it might be because I'm running 686/smp kernel?

Dunno... possibly, since I don' t use 686 nor SMP, but just the default i386 kernel.

Revision history for this message
Vytas (vytas) wrote :

Ok, reopening because I have latest nautilus installed, rebooted the system and still experience it. Seems that the reporter of bug #36333 (duplicate) is experiencing this too (a recent bug report).

Changed in nautilus:
status: Fix Released → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have a CD or DVD RW to the drive when you get that?

Revision history for this message
Vytas (vytas) wrote :

My device is DVD-RW, but I get that on all types of discs (just tested factory-produced CD-ROM, CD-RW and DVD-R)

Revision history for this message
Martin Pitt (pitti) wrote :

Should be fixed with this hal version:

 hal (0.5.7-1ubuntu9) dapper; urgency=low
 .
   * Disable debian/patches/01_probe_parttable.patch, it causes regressions
     (like CD-ROMs detected as fsusage='partitiontable'). This reopens bug
     #19390, but that one is much less evil.
   * debian/hal-device-manager.desktop:
     - Add X-Ubuntu-Gettext-Domain.
     - Update the German translation to match the changed C one from
       0.5.7-1ubuntu7.
   * Add debian/hal-device-manager.desktop.in: Reduced h-d-m desktop file with
     just _Name and _Comment to add these msgids to the POT.
   * Add debian/patches/desktop-POTFILES.patch: Add debian/h-d-m.desktop.in to
     POTFILES.in.
   * Add debian/patches/10-hdm-nice-keyvalues.patch:
     - Beautify the display of list values: do not show a Python unicode prefix
       (u'foo') and Python list notation ([...]).
     - Closes: LP#35935
   * Rename system user 'hal' to 'haldaemon' to be compatible with upstream
     default (and the documentation in the web) and to avoid name conflicts
     with user accounts for people whose name is 'Hal'.
     - debian/rules: Drop --with-hal-{user,group}
     - debian/hal.postinst, debian/hal.init.dbus: Change user name accordingly.
     - Closes: LP#11957
   * debian/hal.default: Remove the comments about hal running as user/root,
     since this cannot be changed any more.

Please reopen if you still get this.

Changed in nautilus:
status: Unconfirmed → Fix Committed
Revision history for this message
Vytas (vytas) wrote : lshal command output with data DVD in

Unfortunately the bug still remains (I have hal 0.5.7-1ubuntu10 now), rebooted.

The problem with nautilus not showing icons seems to be improved (but got 1 case out of >10 when it didnt show up, need to be checked more), but the notorious message 'Writing data to storage device <insert disc laber here>' occurs an _all_ CDs, DVDs.

Changed in nautilus:
status: Fix Committed → Unconfirmed
Revision history for this message
magilus (magilus) wrote :

The problem appears at my computer, too with hal version 0.5.7-1ubuntu10.
When I unmount devices in Places -> Computer everything is fine. The writing message appears when unmounting an usb stick and it does not appear when unmounting a cd.
But when umounting a device via the icon available on the desktop the writing message appears when unmounting an usb stick and a cd.
I have a DVD-Ram Device.

Changed in nautilus:
status: Unconfirmed → Confirmed
Revision history for this message
Rafaël Carré (funman-videolan) wrote :

I suggest to leave the message when unmounting DVD/CD devices with writable cds inserted in case of packet writing, but to disable it for read-only DVD/CD.

Revision history for this message
Vytas (vytas) wrote :

My suggestion would be just change the label text (like "Ejecting a disc" etc)

Revision history for this message
Martin Bergner (martin-bergner) wrote :

Maybe a general dialog would be better like
"Ejecting a disc

Please do not remove the device while the operation is in progress since there might be pending writes."

This would not fix the problem but be more accurate in all situations

Revision history for this message
magilus (magilus) wrote :

but it is possible that the device is no disc, for example when it is an usb stick.

Revision history for this message
Martin Pitt (pitti) wrote :

I just tried this again in a fully up to date dapper. I do the the progress bar for USB sticks, but I never get it for CD-ROMs. I checked the desktop icon, the icon in the Computer place, and the drivemount applet. Do you confirm that it still happens for you? If so, please do

  lshal > hal.txt

while the CD is inserted and attach hal.txt here.

Seb, is there a tool to show the Gnome VFS drive type? (Like GNOME_VFS_DEVICE_TYPE_HARDDRIVE)

Changed in nautilus:
status: Confirmed → Needs Info
Revision history for this message
Lakin Wecker (lakin) wrote :

I just tested with a DVD, and I appropriately get no warning. And with a USB drive, I still get the warning. For my purposes this is fixed.

Revision history for this message
Andrew Conkling (andrewski) wrote :

Yeah, it's fixed. Someone can reopen if necessary.

Changed in nautilus:
status: Needs Info → Fix Released
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.