Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292861 - Hal stops working after usb stick mounting using kde4 device manager
Summary: Hal stops working after usb stick mounting using kde4 device manager
Status: RESOLVED DUPLICATE of bug 282341
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 22:48 UTC by Panard
Modified: 2010-02-13 19:13 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 Panard 2009-11-11 22:48:20 UTC
Since KDE 4.3.3 (and perhaps 4.3.2) I can no longer mount my USB devices using graphical KDE interface.
Three scenarios appends:
1) Dolphin shows the device icon in the place pane. But when clicking on it, nothing happen and .xsession-errors shows a lot of:
--
virtual QVariant Solid::Backends::Hal::HalDevice::property(const QString&) const  error:  "org.freedesktop.DBus.Error.ServiceUnknown" ,  ""
--
2) Device notifier popup, but no icon in dolphin. .xsession-errors shows a bunch of:
--
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&)  error:  "org.freedesktop.DBus.Error.ServiceUnknown"

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.ServiceUnknown"
--
3) Nothing happen.

I suspect a concern around Solid / Hal / D-Bus. However, I have tried to remove each configuration files (/etc/hal and /etc/dbus-1), remerged them, and rebooted. The problems still occur.

Any hint? I'm surprised to see no other reports on this issue...


Reproducible: Always

Steps to Reproduce:
1. Plug USB device
2. Try to mount using KDE UI.

Actual Results:  
No way to mount devices.


Portage 2.2_rc49 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================                                     
System uname: Linux-2.6.31-gentoo-r5-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-2.0.1
Timestamp of tree: Wed, 11 Nov 2009 20:55:02 +0000                                                    
ccache version 2.4 [enabled]                                                                          
app-shells/bash:     4.0_p35                                                                          
dev-java/java-config: 2.1.9-r1                                                                        
dev-lang/python:     2.6.4, 3.1.1-r1                                                                  
dev-python/pycrypto: 2.1.0_beta1                                                                      
dev-util/ccache:     2.4-r8                                                                           
dev-util/cmake:      2.6.4-r3                                                                         
sys-apps/baselayout: 2.0.1                                                                            
sys-apps/openrc:     0.5.2-r2                                                                         
sys-apps/sandbox:    2.2                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                    
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                       
sys-devel/binutils:  2.20                                                                             
sys-devel/gcc-config: 1.4.1                                                                           
sys-devel/libtool:   2.2.6a                                                                           
virtual/os-headers:  2.6.30-r1                                                                        
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                        
CBUILD="x86_64-pc-linux-gnu"                                                                          
CFLAGS="-pipe -march=native -O3"                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                           
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/X11/Sessions/ /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"  
CXXFLAGS="-pipe -march=native -O3"                                                                                                       
DISTDIR="/usr/portage/distfiles"                                                                                                         
FEATURES="assume-digests ccache distlocks fixpackages news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"                                                                                              
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles"                                                                                  
LANG="fr_FR.utf8"                                                                                                                        
LDFLAGS="-Wl,-O1"                                                                                                                        
LINGUAS="fr zh"                                                                                                                          
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi aiglx alsa amd64 apache2 avi berkdb branding bzip2 bzlib cairo cddb cdr cjk cli consolekit cracklib crypt cups curl dba dbus dlloader dri dts dvd dvdr dvdread emboss encode evo ffmpeg firefox flac gif gimp gimpprint glx gphoto2 gstreamer hal iconv ieee1394 ipv6 ipv6arpa ithreads jabber jce joystick jpeg kde kdehiddenvisibility koffice-plugin libnotify logwatch mad mikmod ming mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pch pdf pic pie plasma png posix ppds pppd pslib pstricks python qt3support qt4 quicktime readline reflection sdl session simplexml spell spl sse sse2 ssl svg symlink sysfs tcpd theora threads thunar tiff truetype udev unicode usb utf8 v4l v4l2 vim-syntax vorbis wmf x264 xcb xcomposite xfs xine xinerama xml xml2 xorg xsl xulrunner xv xvid zlib" ALSA_CARDS="hda-intel bt87x usb-audio loopback" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr zh" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Panard 2009-11-11 22:58:50 UTC
Another interesting error:

$ solid-hardware list
virtual QStringList Solid::Backends::Hal::HalManager::allDevices()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"

Sounds like a dbus service is not running...
Comment 2 Panard 2010-02-13 18:58:26 UTC
Here are step to reproduce this bug:
1. restart hald (X restarts too) with an usb stick plugged in (not mounted),
2. hal-device is working (it is listing some stuff)
3. using kde4 device notifier, mount the usb stick
4. the usb stick is mount but do not appear in locations of dolphin
5. hal-device no longer works (Could not initialise connection to hald.
Normally this means the HAL daemon (hald) is not running or not ready.)

Current kde version: 4.4.0 (also present with 4.3.X)

I started hald with verbosity, here are the messages when mounting via kde4:
Feb 13 19:41:44 banquise hald[4785]: 19:41:44.714 [I] hald_dbus.c:5198: OK for method 'Mount' with signature 'ssas' on interface 'org.freedesktop.Hal.Device.Volume' for UDI '/org/freedesktop/Hal/devices/volume_uuid_0D5A_4ED4' and execpath 'hal-storage-mount'
Feb 13 19:41:44 banquise hald[4785]: 19:41:44.714 [I] hald_dbus.c:4082: no need to enqueue
Feb 13 19:41:44 banquise hald[4785]: 19:41:44.754 [I] osspec.c:298: /proc/mounts tells, that the mount has tree changed
Feb 13 19:41:44 banquise hald: mounted /dev/sdd1 on behalf of uid 1000
Feb 13 19:41:44 banquise hald[4785]: 19:41:44.756 [I] hald_runner.c:110: runner_server_message_handler: destination=(null) obj_path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local method=Disconnected
Feb 13 19:41:44 banquise hald[4785]: 19:41:44.756 [I] hald_runner.c:151: runner process disconnected
Feb 13 19:41:44 banquise hald[4785]: 19:41:44.756 [I] device.c:1894: Removing locks from ':1.38'


It seems that after this operation, the dbus service associated with hald stops working. Any hints?
Comment 3 Panard 2010-02-13 19:13:12 UTC

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