Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 51527

Summary: xosview hangs on my dual athlon box
Product: Gentoo Linux Reporter: Matthew Caron <matt>
Component: Current packagesAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthew Caron 2004-05-19 21:10:07 UTC
I have an Athlon MP box. xosview doesn't seem to work - an strace shows it hanging just after reading the CPU line in /proc/stat. It works fine on my other two uniprocessor machines. It uses 100% of one CPU when this happens.

Solution:

the xosview-1.8.1-kernel-2.5+.diff patch is broken.

Use this one instead:
http://codex.sourcemage.org/stable/x11/xosview/xosview-disk-2.6.patch

Moving that to /usr/portage/x11-misc/xosview/files and renaming it to xosview-1.8.1-kernel-2.5+.diff, then doing emerge xosview fixes the problem. It all works great now.

Reproducible: Always
Steps to Reproduce:





(case) /usr/portage/x11-misc/xosview/files# emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r
1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mo
zilla/defaults/pref:/usr/X11R6/lib/X11/xkb:/usr/kde/3.2/share/config:/usr/share/
texmf/tex/generic/config/ /usr/share/config /usr/share/texmf/dvipdfm/config/ /us
r/share/texmf/dvips/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf
/xdvi/:/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://yt/gentoo-portage"
USE="X Xaw3d aalib aim alsa apm arts avi berkdb cdr crypt cups directfb dvd dvdr
 emacs encode esd ethereal evo flac foomaticdb gb gd gdbm gif gnome gphoto2 gpm 
gstreamer gtk gtk2 icq imagemagick imap imlib jabber jack java jikes jpeg kde la
dccalcms ldap lesstif libg++ libwww mad mcal mikmod mmx motif mozilla mpeg mpi m
sn mysql nas ncurses nls oggvorbis opengl oscar oss pam pcmcia pda pdflib perl p
lotutils png pnp ppds python qt quicktime readline ruby samba scanner sdl slang 
spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode usb videos wmf 
wxwindows x86 xinerama xml2 xmms xosd xv yahoo zlib"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-05-23 14:10:59 UTC
Patch in CVS, it should hit the rsync mirrors within an hour. Thanks!