FS#9537 - [hal] will not mount or eject cd's with Xfce/Thunar

Attached to Project: Arch Linux
Opened by Jules (Misfit138) - Tuesday, 12 February 2008, 02:12 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 10 November 2009, 23:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No

Details

Description:While running hal, Inserting a cd in xfce environment results in the following error:

Failed to mount "Name-of-CD".
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.

CD can only be mounted from command line. After manually mounting and hitting eject button on CD ROM drive, the following error is received:

Failed to eject "/org/freedesktop/Hal/devices/storage_model_RW/DVD_GCC_4240N".
Given device "/org/freedesktop/Hal/devices/storage_model_RW/DVD_GCC_4240N" is not a volume or drive.

Additional info:IBM Thinkpad T23. Several other users claim similar behavior in this forum thread:
http://bbs.archlinux.org/viewtopic.php?pid=329100#p329100

* package version(s) thunar 0.9.0-2
xfce-utils 4.4.2-1
hal 0.5.10-1

* config and/or log files etc.


Steps to reproduce:
Insert cd in xfce environment, observe error. Manually mount cd, hit eject button, observe error.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 10 November 2009, 23:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Assuming fixed per last comment.
Comment by Jules (Misfit138) - Tuesday, 12 February 2008, 13:12 GMT
Same trouble reported with Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=199615
Comment by Glen (fishbowl42) - Tuesday, 12 February 2008, 21:45 GMT
With hal being integrated into thunar and the XFCE desktop I would consider this a critical bug
Comment by Tobias Kieslich (tobias) - Wednesday, 13 February 2008, 03:11 GMT
both XFCE4 and Thunar are still functional without hal even enabled, so it's not that critical. And if it appears in other distros as well it's even upstream.
Comment by Jules (Misfit138) - Friday, 28 March 2008, 15:43 GMT Comment by Glen (fishbowl42) - Saturday, 29 March 2008, 19:03 GMT
I finally figured this out and it is a very simple fix. Install pmount and ivman

pacman -S pmount ivman

*be sure that your user is in the optical and storage group

and then edit the rc.conf and ad ivman as a deamon and reboot.

Problem solved!
Comment by Roman Kyrylych (Romashka) - Sunday, 06 April 2008, 07:40 GMT
that's ugly, I don't like pmount/ivman way to (un)mount/eject things
patches seem better
Comment by Smith Dhumbumroong (zodmaner) - Sunday, 06 April 2008, 07:50 GMT
Jules's patch and PKGBUILD fix the problem on my machine. So I'll also vote for us to use the patch.
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 23:26 GMT
What's the status of this issue? Is the patch still required for newer versions of HAL?
Comment by Smith Dhumbumroong (zodmaner) - Saturday, 06 December 2008, 08:42 GMT
I can confirm that the patch is still required even with the latest version of HAL.
Comment by name withheld (Gullible Jones) - Monday, 15 December 2008, 17:41 GMT
This bug is still present with Thunar 0.9.3-1 and exo 0.3.4-1...
Comment by Alessandro Doro (adoroo) - Sunday, 15 February 2009, 21:29 GMT
thunar 0.9.3-1, hal 0.5.11-7, xfce-utils 4.4.3-1

Tested on a bare new installation and defaults settings; installed DEs: lxde and xfce4.
Graphic login manager: slim.
~/.xinitrc:
exec ck-launch-session startxfce4

I can mount data CDs inside thunar without problems.
Comment by Nagy Gabor (combo) - Sunday, 15 March 2009, 12:22 GMT
This bug is still present in xfce 4.6.0 with Thunar 1.0.0-1 and exo 0.3.100-1...
Comment by Leonardo (sud_crow) - Sunday, 05 April 2009, 22:30 GMT
I can confirm its still there.
Xfce 4.6.0, Thunar 1.0.0-1 and exo 0.3.100-1 and hal 0.5.11-7.

Comment by Anonymous (xyrico) - Monday, 13 April 2009, 15:34 GMT
I have the same bug. Right clicking on the drive and choosing Eject Volume works, but pressing the physical eject button does not. It can automount it fine, though. I've got the same versions as the guy above.
Comment by Jan de Groot (JGC) - Sunday, 08 November 2009, 22:26 GMT
Status with 0.5.13-3 (testing)?
Comment by Nagy Gabor (combo) - Sunday, 08 November 2009, 23:51 GMT
Well, the bug disappeared with 0.5.13-2 here. Shall I test with 0.5.13-3, too?

Loading...