Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85179 - gnome doesn't see mounted devices, even when mounted
Summary: gnome doesn't see mounted devices, even when mounted
Status: RESOLVED DUPLICATE of bug 74285
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugs.gnome.org/show_bug.cgi?id...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 01:24 UTC by aethyr
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aethyr 2005-03-14 01:24:28 UTC
Originally posted here, but it works on my laptop with Ubuntu, so it must be something with Gentoo on my desktop:
http://bugs.gnome.org/show_bug.cgi?id=170287

This is a pretty weird bug.  I have udev-045, dbus 0.23.2, hal-0.4.5 and
gnome-volume-manager-1.2.0, gamin-0.0.25, vanilla linux-2.6.11 patched w/ inotify-0.20-rml-2.6.11-3.patch.

Basically, I can stick in a DVD and it will get mounted, but apps like nautilus
and totem do not see it as mounted.

Relevant line from /etc/fstab:
/dev/hdd                /media/cdrecorder       auto    exec,user,noauto,managed 0 0

gnome-volume-manager:
 gnome-volume-manager 
manager.c/993: mount_all: mounting /dev/hda1
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab
manager.c/993: mount_all: mounting /dev/hdc
mount: block device /dev/hdc is write-protected, mounting read-only
manager.c/993: mount_all: mounting /dev/hde2
mount: only root can mount /dev/hde2 on /boot
manager.c/849: Mounted: /org/freedesktop/Hal/devices/block_FALLENANGELS

mount:
/dev/hdc on /media/cdrom type udf (ro,noexec,nosuid,nodev,user=aethyr)

$ ls /media/cdrom
AUDIO_TS  VIDEO_TS

Yet if I go to computer in Nautilus and right click on "CD-ROM/DVD-Rom Drive" it
says "Mount Volume".  And when I go to play the movie in totem I get the
following error:
Failed to play Audio/Video Disc
Unexpected error status 8192 while mounting /media/cdrom

It is not until AFTER I click on "Mount Volume" from the Computer folder that
everything works.  What happens when I do that is it brings up a dialog box that
says:

Mount Error
Unable to mount the selected volume.
mount: block device /dev/hdc is write-protected, mounting read-only
mount: /dev/hdc already mounted or /media/cdrom busy
mount: according to mtab, /dev/hdc is already mounted on /media/cdrom

I can click "OK" there, and then in the same Computer window I can see
"CD-ROM/DVD-ROM Drive: FALLENANGELS" (with a nice little movie icon).

At that point totem will play the movie OK.

I notice that nothing else happens in the gnome-volume-manager output (i.e. no
new events), and nothing changes in /etc/fstab or in the `mount` output, so I
have no idea what nautilus and totem are seeing differently.

Reproducible: Always
Steps to Reproduce:





Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.11-ck2 i686)
=================================================================
System uname: 2.6.11-ck2 i686 Intel(R) Celeron(TM) CPU                1400MHz
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1,
Jan  8 2005, 03:56:13)]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/
http://gentoo.mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa avi berkdb bitmap-fonts cdr curl dga dvd emboss encode
font-server foomaticdb fortran gdbm gif gnome gtk gtk2 hal imagemagick imlib
java jpeg libg++ libwww mikmod mmx motif mp3 mpeg mysql ncurses nls opengl oss
pam pdflib perl png python quicktime readline samba sdl slang spell sqlite sse
ssl svga tcpd truetype truetype-fonts type1-fonts xml xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 aethyr 2005-03-14 01:37:57 UTC
I noticed something weird.

If I go to the command line and add/remove files, they show up instantly in nautilus.  However, if I go to the command line and mount/unmount partitions, the changes do not show up in Computer.  The changes do not show up until I do a "/etc/init.d/dbus restart".

I'm stumpted :P
Comment 2 foser (RETIRED) gentoo-dev 2005-03-14 01:57:19 UTC

*** This bug has been marked as a duplicate of 74285 ***