Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106905 - media ioslave does not show contents of mounted volume
Summary: media ioslave does not show contents of mounted volume
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 10:52 UTC by Robert Führicht
Modified: 2007-02-03 14:57 UTC (History)
2 users (show)

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


Attachments
hal-0.5.5.1.ebuild (hal-0.5.5.1.ebuild,3.89 KB, text/plain)
2005-12-10 01:37 UTC, Gleb Litvjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Führicht 2005-09-22 10:52:14 UTC
problem exists in KDE 3.5_alpha1 and KDE 3.5_beta1
hal-0.5.4
dbus-0.36.2
pmount-0.9.4

When clicking on a volume in the media:/ ioslave, it mounts it, but the contents
section remains empty. The volume seems to be mounted correctly though, it shows
up when calling 'mount' and the contents can be listed using ls. When clicking
the entry again, the ioslave tries to mount the volume again, but fails because
it's already mounted. The contents list remains empty again though. This happens
with fixed drived which are listed in /etc/fstab as well as with hotpluggable
device like an usb stick.

Reproducible: Always
Steps to Reproduce:
1. open media:/ in konqueror
2. click any entry


Actual Results:  
no contents listed :-/

Expected Results:  
List the table of contents

Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/skel /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl dga
dillo directfb dts dvd dvdr dvdread emboss encode fam firefox flac foomaticdb gd
gif gtk gtk2 hal icq imagemagick imlib insecure-savers java jpeg junit kde
libwww lzw lzw-tiff matroska motif mp3 mpeg mplayer ncurses nls nptl nptlonly
offensive ogg oggvorbis openal opengl pam pdflib png ppds qt quicktime readline
samba sdl ssl svg symlink sysfs tcpd tetex tiff truetype-fonts type1-fonts usb
userlocales vorbis xml2 xpm xrandr xscreensaver xv xvid zlib linguas_de
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-11 02:49:38 UTC
You have permissions to access the mounted device? If it's a device that uses 
unix file permissions, check the owner and the permissions set. 
 
Comment 2 Robert Führicht 2005-10-11 03:04:58 UTC
Yes, I do have the required permissions:

hephaestos ~ # ls -lh /dev/hdd1
brw-rw----  1 root disk 22, 65 Oct 10 21:32 /dev/hdd1
hephaestos ~ # id fuero
uid=1000(fuero) gid=100(users)
groups=100(users),5(tty),6(disk),7(lp),10(wheel),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),250(portage),413(stats),414(plugdev)
hephaestos ~ # ls /media/ -lh
total 4.0K
drwxr-xr-x  2 root root   88 Sep 21 16:47 disk
drwxr-xr-x  2 root root   88 Sep 21 16:51 hdc1
drwxr-xr-x  5 root root 4.0K Oct 10 19:17 hdd1
drwxr-xr-x  2 root root   88 Sep 25 15:00 hdd5
drwxr-xr-x  2 root root   88 Sep 25 15:01 hdd6
drwxr-xr-x  2 root root   48 Sep 20 17:01 ieee1394disk
drwxr-x---  2 root root   88 Oct  3 16:46 sr0
drwxr-xr-x  2 root root   48 Mar 28  2005 usbdisk
Comment 3 Robert Führicht 2005-10-19 16:34:58 UTC
occurs with 3.5_beta2 too
Comment 4 yardbird 2005-11-03 18:15:51 UTC
FYI, this was discussed thoroughly on bugs.kde.org: 
 
http://bugs.kde.org/show_bug.cgi?id=113349 
 
The consensus here is that it is a Gentoo specific problem. Have the gentopia 
folks been notified? 
Comment 5 Ruben Jenster 2005-12-02 02:17:14 UTC
I'm having the same problem here with KDE 3.5 final.   
I tried all versions of hal/dbus/pmount but doesn't help anything. 
 
Is there any solution for now?    
Comment 6 Gleb Litvjak 2005-12-10 01:36:30 UTC
It might be because newer versions of HAL in gentoo are compiled w/o 
fstab-sync. I have modified hal ebuild to include fstab-sync USE flag (see my 
attachment). See if it helps. 
Comment 7 Gleb Litvjak 2005-12-10 01:37:31 UTC
Created attachment 74418 [details]
hal-0.5.5.1.ebuild

Modified ebuild (with fstab-sync USE flag)
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-29 10:32:39 UTC
Is this still an issue with KDE 3.5.2 and the latest stable dbus/hal? 
Comment 9 Gleb Litvjak 2006-04-29 13:09:06 UTC
Yes, it is still a problem (I'm using ~amd64). Present on other distros too (I tested kubuntu, same result).
Comment 10 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-03 14:26:34 UTC
If this is still an issue with KDE 3.5.6 please file a bug upstream and post the URL here.

Comment 11 Gleb Litvjak 2007-02-03 14:43:48 UTC
As far as I can tell, this has been fixed a long time ago. At least I cannot reproduce it anymore.
Comment 12 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-03 14:57:35 UTC
(In reply to comment #11)
> As far as I can tell, this has been fixed a long time ago. At least I cannot
> reproduce it anymore.
 
Thanks, closing