Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome semi-functional [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 687

PostPosted: Fri Mar 30, 2012 1:58 pm    Post subject: Gnome semi-functional [SOLVED] Reply with quote

Hello everyone.

I have a 700 MHz PPC machine that has been running Gentoo quite well for years. I've connected it to a TV and used it as a media center, not as a workstation or desktop.

I do not update it frequently :-(

After waiting 3-4 months, I recently ran 'emerge --sync' and then 'emerge -vDu world'

This machine is comparatively slow, I had originally installed the entire Gnome package on it but have always cursed each time an update included the Evolution package, which takes hours to build.

When performing the latest update, I saw Evolution in the list again and decided to fix the problem once and for all.

I ran the command 'emerge --unmerge gnome' and then 'emerge -vDe gnome-light'

Three days later, the installation terminated after reinstalling 400-odd packages.

I followed ALL the postbuild instructions. This meant another three days of running 'revdep-rebuild --library xxx' commands to fix breakages.

Now, the computer boots and I can log into Gnome but the desktop is behaving strangely.

- The desktop background is black and has no icons on it.
- Right-clicking on the desktop does not open a context menu.
- Gnome-panel itself loads but one applet crashes.
- The Gnome foot-menu can be opened and displays its menu items correctly but runnning ANY program results in no effect.
- Applications invoked by either the foot menu or by clicking their launchers on the panel are apparently running because I can see them in the listing of the 'ps' command but they do not display themselves.

Stangely enough, I can connect by VNC to the desktop.

Does anyone have any suggestions as to what I can try to get it working again?

Thanks.

Here's the system info:


Portage 2.1.10.49 (default/linux/powerpc/ppc32/10.0, gcc-4.4.6, glibc-2.13-r4, 2.6.39-gentoo ppc)
=================================================================
System uname: Linux-2.6.39-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.0.3
Timestamp of tree: Fri, 30 Mar 2012 13:00:01 +0000
app-shells/bash: 4.2_p20
dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 3.4.6-r2, 4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo x-my_overlays
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/my_overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl alsa altivec artworkextra avahi berkdb bluetooth bzip2 cairo cdda cddb cdio cdparanoia cli cpudetection cracklib crypt css cups cxx dbus dga dia divx djbfft doomsday dri dts dv dvb dvd dvdnav dvdr dvdread emf encode evo exif expat extrafilters fame fbcondecor ffmpeg fftw firefox flac fltk fontconfig fortran ftp fuse gdbm gif gimp glitz gnome gnutls gpac gphoto2 gpm graphviz gs gstreamer gtk guile hdri hvm iconv id3tag ieee1394 inkjar introspection iptc jbig jpeg jpeg2k ladspa lame latex lcms libnotify libsamplerate live lyx lzo mad matroska md5sum midi mjpeg mng modules mozilla mp2 mp3 mp4 mp4live mpeg mplayer mudflap musepack mysql ncurses nemesi network networking nls nptl nptlonly nuv offensive ogg openal openexr opengl openmp pam pcre pdf plib plotutils png pnm postproc postscript ppc pppd pvr qemu qt3support quicktime radio raw rdesktop readline rtsp samba sdl session smp sndfile soundtouch sox speex spell srt ssl subtitles svg sysfs tcpd teletext tga theora threads threadsafe tiff tivo tk trayicon truetype twolame unicode usb v4l2 vamp vcd vcdx videos vlm vnc vorbis wmf wmp xanim xcomposite xine xml xorg xv xvid zlib zoran zvbi" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dshare dsnoop empty extplug file hooks ioplug ladspa lfloat linear meter 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="kexi words flow plan sheets stage tables krita karbon braindump" 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" LINGUAS="en fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by Progman3K on Fri May 25, 2012 4:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Mar 30, 2012 2:16 pm    Post subject: Reply with quote

First, why Gnome? lxde is lighter and xfce is functional yet light.

This issue is related to the configs in ~.*

What version of gnome do you have installed? As of the current time Gnome 3 is stable and gnome 3 ain't gonna run on that 700 MHZ PPC.
_________________
My blog
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 687

PostPosted: Fri Mar 30, 2012 2:31 pm    Post subject: Reply with quote

Thanks for taking the time to reply, dE_logics!

dE_logics wrote:
First, why Gnome? lxde is lighter and xfce is functional yet light.

Sounds interesting, I'll probably install it alongside Gnome to give it a spin first.

dE_logics wrote:
This issue is related to the configs in ~.*

Any idea specifically which files or folders I should delete? I don't mind losing all my user settings, as this machine had no real customization.

dE_logics wrote:
What version of gnome do you have installed? As of the current time Gnome 3 is stable and gnome 3 ain't gonna run on that 700 MHZ PPC.

gnome-light-2.32.1-r1
I believe Gnome3 is not stable on PPC yet. Hopefully I can fix this before it is.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Mar 31, 2012 4:49 am    Post subject: Reply with quote

Progman3K wrote:

Any idea specifically which files or folders I should delete? I don't mind losing all my user settings, as this machine had no real customization.


Before you delete any user setting and cause unnecessary loss of effort, I suggest you make a new user for testing, that way the problem can be isolated.

For things to delete, just search for *gnome* in ~. Probably it'll be ~/.gnome or .local/gnome etc...
_________________
My blog
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 687

PostPosted: Sat Mar 31, 2012 2:49 pm    Post subject: Reply with quote

OK, I created a test user and logged in with that one and the same problem occurs.

There is a message about a panel applet crashing, do I want to reload or delete it, and both mouse and keyboard input are ignored.

Lastly, after all the updates, I did recompile xorg-server, the x input drivers, video driver, etc... So that is NOT the problem either...

I noticed the buttons in the error dialog are not drawn properly, they have no outline, so this MIGHT mean something like incompatible libs together on the system...

I also suspect that since this machine's arch is not a common one (ppc32), updates may have escaped testing and some strange effect may have slipped by unnoticed.

So what's next?

'emerge -e world' ?

Any thoughts appreciated!

Thanks
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Mar 31, 2012 3:02 pm    Post subject: Reply with quote

Reemerge gtk libraries, and emerge --depclean (you should've done that after unmerging gnome.)

Also when you connect via VNC to the desktop everything's ok?
_________________
My blog
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 687

PostPosted: Sat Mar 31, 2012 3:16 pm    Post subject: Reply with quote

dE_logics wrote:
Reemerge gtk libraries, and emerge --depclean (you should've done that after unmerging gnome.)

I'll try that right away.

Quote:
Also when you connect via VNC to the desktop everything's ok?

No. I can move the mouse and click the reload/delete button on the error message, but that just leaves a different-colored square where the dialog box was after it closes; the desktop doesn't repaint correctly, along with it not reacting to right-clicks.

The foot-menu (sort of) works: it opens and display items, but clicking any of them (or clicking a launcher for that matter) does nothing visible, even though the requested programs are listed as running by the PS command...
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 687

PostPosted: Sun Apr 01, 2012 1:56 am    Post subject: Reply with quote

I plugged a normal screen in (the TV can't handle text mode) and performed an interactive boot by repeatedly pressing "I" as the kernel loaded.

After the kernel loaded, I was prompted to decide if I wanted to load the sevices: first sysfs, then udev-mount, then dmesg...

The keyboard functioned until it asked if I wanted to load udev, and then on the next module to load (devfs), the computer no longer reacted to keyboard input...

So there is likely a udev issue...

Not sure what it all means...

EDIT - The Mac's bluetooth keyboard stopped responding, so I plugged a USB keyboard in and continued the boot.
Funny that the bluetooth keyboard works while the bootloader is running (I can type boot options if I want to) and up until udev starts...


Last edited by Progman3K on Sun Apr 29, 2012 9:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Apr 01, 2012 3:39 pm    Post subject: Reply with quote

Bluetooth keyboard works on bootloader? Now that's one achievement!

I think cause of the heavy compiling, your hardware might have died.

Why not try booting a live CD (I think Debian provide a PPC based live CD).
_________________
My blog
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 687

PostPosted: Fri May 25, 2012 4:09 pm    Post subject: Reply with quote

Looks like a hard-disk corruption, most-likely (although the DVD drive might be faulty, not sure):

After booting with a Ubuntu live-cd, wiping the hard-disk and installing Ubuntu, everything worked as it did before.

The only problem is that the only version of Ubuntu I could succesfully do this with was an older, unsupported version (9.1).

The reason I could only use the older, outdated Ubuntu was because it fit onto a normal CDr, newer versions are all slightly larger and any larger image I burn onto a DVD will fail during the boot with an I/O error while reading from the DVD for some reason.

After a week or so running the outdated Ubuntu, feeling reasonably certain the machine's hardware was sound, I re-installed Gentoo.

Everything has gone smoothly but there is one last major problem: no matter what I try, I can't get X to start.

So I'm going to mark this thread solved and open a new one to get help with this new problem.

Thank you dE_logics, for helping me and bouncing ideas around!
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat May 26, 2012 1:36 pm    Post subject: Reply with quote

I hope your hard drive has SMART, that way you can check if it has bad sectors.

You may run badblocks to test.
_________________
My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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