Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with file manager on 2.6.39-gentoo-r3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
lariano
n00b
n00b


Joined: 14 Aug 2011
Posts: 14
Location: Berlin (Germany)

PostPosted: Sun Aug 14, 2011 10:18 am    Post subject: Problems with file manager on 2.6.39-gentoo-r3 Reply with quote

Hi,

I have installed 2.6.39-gentoo-r3 on my Sun Blade 1500 for testing it as an alternative for the Solaris/Opensolaris operating environment and oracle jail. I am very surprised at the stability and functionality of the system. Hardware (sound, graphics, usb, network) is recognized and many applications work out of the box.

For one problem concerning the gnome desktop I have not found a solution so far: when clicking Places/Home Folder or any other location of the file manager in the top panel of the desktop I won't get a window but some error messages in ~/.xsession_errors and the system log file. The same happens when right-clicking on the date-time-panel and selecting 'Preferences'.

System log file (on activating Places/Home Folder):
Code:

Aug 14 12:00:45 [dbus] [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.84" (uid=1000 pid=3474 comm="nautilus ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=1387 comm="/usr/sbin/console-kit-daemon --no-daemon ")


.xsession_errors:
Code:

nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Initializing nautilus-gdu extension
** Message: Initializing gksu extension...


The file manager window first starts, is visible in the bottom panel of the desktop and then terminates. Nautilus is restarted with a new process id.

Code:

emerge --info
Portage 2.1.10.3 (default/linux/sparc/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 sparc64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-sparc64-sun4u-with-gentoo-2.0.3
Timestamp of tree: Tue, 09 Aug 2011 17:15:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gcc64 gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session sparc spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any ideas appreciated.

Hinrich
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 362

PostPosted: Sun Aug 14, 2011 1:10 pm    Post subject: Reply with quote

It looks like dbus and/or consolekit might not have been started.
_________________
My 1U Dual 833 MHz Alphaserver DS20L
The AlphaLinux.org Wiki
Back to top
View user's profile Send private message
lariano
n00b
n00b


Joined: 14 Aug 2011
Posts: 14
Location: Berlin (Germany)

PostPosted: Mon Aug 15, 2011 9:44 am    Post subject: Reply with quote

Thank your for the reply. It seems that dbus and console-kit are started. I can find the following processes with ps -ef:
Code:

101       1258     1  0 11:24 ?        00:00:00 /usr/bin/dbus-daemon --system
root      1396     1  0 11:24 ?        00:00:00 /usr/sbin/console-kit-daemon --no-daemon
myuser    1487     1  0 11:24 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/ssh-agent -- gnome-session
myuser    1488     1  0 11:24 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 8 --session


In the system log file I can find the following log entries concerning dbus and console-kit after booting the system and logging in as user:

Code:

Aug 15 11:24:42 [dbus] [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Aug 15 11:24:42 [dbus] [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Aug 15 11:24:43 [dbus] [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Aug 15 11:24:43 [dbus] [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Aug 15 11:24:45 [dbus] [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Aug 15 11:24:46 [dbus] [system] Successfully activated service 'org.freedesktop.UDisks'
Aug 15 11:24:48 [polkitd(authority=local)] Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.11 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale C)
Aug 15 11:24:48 [dbus] [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Aug 15 11:24:48 [dbus] [system] Successfully activated service 'org.freedesktop.UPower'
Aug 15 11:24:51 [dbus] [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.15" (uid=1000 pid=1524 comm="nautilus ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=1396 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Aug 15 11:24:53 [dbus] [system] Activating service name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)
Aug 15 11:24:53 [dbus] [system] Successfully activated service 'org.gnome.SettingsDaemon.DateTimeMechanism'


There is already on of this messages of type 'Rejected send message'. What could be the reason that messages are rejected? I have not change anything in /etc/dbus-1.
Back to top
View user's profile Send private message
lariano
n00b
n00b


Joined: 14 Aug 2011
Posts: 14
Location: Berlin (Germany)

PostPosted: Mon Aug 15, 2011 11:28 am    Post subject: Reply with quote

I have added an 'allow-rule' to /etc/dbus-1/system.d/ConsoleKit.conf:

Code:

    <allow send_destination="org.freedesktop.ConsoleKit"
           send_interface="org.freedesktop.DBus.Properties"
           send_member="GetAll" />


This way I've got rid of the error message concerning 'rejected messages' in the system log file, but I have no improvement of functionality. The file manager remains unaccessible. If I am alone with this error I doubt that my installation is sane.
Back to top
View user's profile Send private message
lariano
n00b
n00b


Joined: 14 Aug 2011
Posts: 14
Location: Berlin (Germany)

PostPosted: Wed Aug 17, 2011 10:42 am    Post subject: Reply with quote

I took the time to reinstall the whole system paying particular attention not to have interrupts while emerging gnome. I have got a clean install and no errors :) . The problems with the file manager are still there - no improvements. I noticed furthermore that nautilus attempts to restart in a 1-second-loop without success when saving some file to the Desktop folder until I finally remove the file:
Code:

touch ~/Desktop/testfile


Result in .xsession-errors:
Code:

nautilus: /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/xcb_io.c:140: dequeue_pending_request: Assertion `req == dpy->xcb->pending_requests' failed.
Multiple segmentation faults occurred; can't display error dialog
Initializing nautilus-gdu extension
** Message: Initializing gksu extension...
nautilus: /var/tmp/portage/x11-libs/libX11-1.4.3/work/libX11-1.4.3/src/xcb_io.c:140: dequeue_pending_request: Assertion `req == dpy->xcb->pending_requests' failed.
Multiple segmentation faults occurred; can't display error dialog
Initializing nautilus-gdu extension
** Message: Initializing gksu extension...
...


Any ideas what to do?
H.
Back to top
View user's profile Send private message
lariano
n00b
n00b


Joined: 14 Aug 2011
Posts: 14
Location: Berlin (Germany)

PostPosted: Sun Aug 21, 2011 9:01 am    Post subject: Reply with quote

Thanks to the very good documentation of gentoo I am staying a step ahead now. I have used gdb as explained in the 'Bug Reporting Guide' and was able to debug two of the four applications which have problems on my system (nautilus, gedit, evince, clock-applet/Preferences). Gedit and evince show the same stack trace:

Code:

(gdb) run
Starting program: /usr/bin/gedit gedit_test.txt
[Thread debugging using libthread_db enabled]
[New Thread 0xf6617b70 (LWP 2074)]

Program received signal SIGBUS, Bus error.
meta_journal_iterate (journal=0x299ce0, path=0x4e4b9037 <Address 0x4e4b9037 out of bounds>, key_callback=0xf5dffa80
<enum_keys_iter_key>,
    path_callback=0xf5dfd440 <enum_keys_iter_path>, user_data=0xffffc214) at metatree.c:1306
1306   metatree.c: No such file or directory.
   in metatree.c
(gdb) bt
#0  meta_journal_iterate (journal=0x299ce0, path=0x4e4b9037 <Address 0x4e4b9037 out of bounds>,
    key_callback=0xf5dffa80 <enum_keys_iter_key>, path_callback=0xf5dfd440 <enum_keys_iter_path>, user_data=0xffffc214) at
metatree.c:1306
#1  0xf5dff400 in meta_tree_enumerate_keys (tree=0x29be78, path=0x299c58 "/gedit_test.txt", callback=0xf5de94c0
<enumerate_keys_callback>,
    user_data=0x28a818) at metatree.c:2131
#2  0xf5de945c in g_daemon_vfs_local_file_add_info (vfs=0x12baf0, filename=0x299b78 "/home/hinrich/gedit_test.txt", device=833,
    matcher=0x299bc8, info=0x28a818, cancellable=0x0, extra_data=0xffffc448, extra_data_free=0xffffc44c) at gdaemonvfs.c:1153
#3  0xf779b100 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0xf779b100 in ?? () from /usr/lib/libgio-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)



For me the error is in frame #1 of the backtrace: the file gedit_test.txt is not under / but in the home directory. I played around with this result and found that doing 'su -' from my user desktop I was able to launch the above gedit command successfully. Finally I have found a workaround which gives me full functional applications:

Code:

unset DBUS_SESSION_BUS_ADDRESS


I have created a wrapper around nautilus and gnome-applet (for a more elegant solution please advise) which unsets this environment variable and then launches the target. Furthermore I have added this line to .bash_profile in my home directory. Most things are working now (exception clock-applet/preferences).
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 362

PostPosted: Mon Aug 22, 2011 11:08 pm    Post subject: Reply with quote

This is very strange. I'd probably be good if you filed a bug report about it. I wonder if there are people in the #gentoo-sparc IRC channel that have had the same problem. It might be worth investigating.
_________________
My 1U Dual 833 MHz Alphaserver DS20L
The AlphaLinux.org Wiki
Back to top
View user's profile Send private message
JohnQMetro
n00b
n00b


Joined: 26 Jun 2011
Posts: 12

PostPosted: Wed Aug 15, 2012 9:56 pm    Post subject: Reply with quote

This is a rather late response, but I now realize that this post is about the same issue I have been having. However, I'm not really certain about how to go about this 'wrapper' thing. Does this mean renaming the binaries and calling them from scripts that have the same names the binaries previously had, or is it something else?
Back to top
View user's profile Send private message
lariano
n00b
n00b


Joined: 14 Aug 2011
Posts: 14
Location: Berlin (Germany)

PostPosted: Wed Aug 22, 2012 7:38 pm    Post subject: Reply with quote

https://bugzilla.gnome.org/show_bug.cgi?id=658794
Back to top
View user's profile Send private message
JohnQMetro
n00b
n00b


Joined: 26 Jun 2011
Posts: 12

PostPosted: Tue Aug 28, 2012 11:49 pm    Post subject: Reply with quote

lariano wrote:
https://bugzilla.gnome.org/show_bug.cgi?id=658794


Thanks for this. I was a bit late in responding because I was rebuilding my entire system from scratch :roll: , but things (mostly) work now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum