Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33289 - X-related system hangup at logoff/shutdown
Summary: X-related system hangup at logoff/shutdown
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 02:02 UTC by Matteo Sasso
Modified: 2004-11-29 16:12 UTC (History)
0 users

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


Attachments
XFree86 Log (XFree86.0.log,41.48 KB, text/plain)
2003-11-26 09:38 UTC, Matteo Sasso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Sasso 2003-11-12 02:02:23 UTC
I experience a problem similar to bug #31898. I can now logoff safely by using 
the TerminateServer directive in kderc, but Shutdown and Reboot still make the 
system hang. The only way to safely turn off the machine is to type halt in a 
console. The main difference with the previous bug is that I can *NOT* ssh the 
machine because the whole system is locked up. The interesting thing is that 
I've been having this problem since I re-emerged X. My libSDL somehow got 
corrupted and kept segfaulting, probably because of my switch to 2.6, but X 
was working fine. When I re-emerged X I solved the SDL problem but I got this 
new one (what a deal!). Please note I'm using gcc-3.3.2, and this is the only 
big thing (along with CFLAGS) I changed since the original merge. How can I 
help you fixing this? Should I try recompiling with a safer gcc?

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r1, 2.6.0-test6-
mm3)
=================================================================
System uname: 2.6.0-test6-mm3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Wno-deprecated -march=athlon-xp -mmmx -msse -m3dnow -O2 -fomit-frame-
pointer -pipe -Wall -funroll-loops -fprefetch-loop-arrays -finline-limit=1200 -
falign-functions=32"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/shar
e/config /var/bind /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/c
onfig /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Wno-deprecated -march=athlon-xp -mmmx -msse -m3dnow -O2 -fomit-
frame-pointer -pipe -Wall -funroll-loops -fprefetch-loop-arrays -finline-
limit=1200 -falign-functions=32"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox fixpackages"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ 
http://gentoo.inode.at/ ftp://sunsite.informatik.rwth-
aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j3"
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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod 
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib 
directfb alsa gdbm berkdb slang readline arts tetex aalib nas svga ggi tcltk 
java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd 
imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow 
apache2 artswrappersuid cjk curl dga dvd fbcon flash gd gtk2 innodb justify 
mcal memlimit mmx nptl oci8 odbc pic radeon ruby18 samba skey sse tiff xml -
gnome"
Comment 1 Andrew Bevitt 2003-11-23 18:35:20 UTC
Could you please include some information about your X version, video driver, card etc... and the kernel you are experiencing this on, please try a 2.4 tree aswell and see if the problem persists.
Comment 2 Matteo Sasso 2003-11-24 12:09:43 UTC
I'm using an ATI Radeon All-in-wonder, under the ati driver. I think it's NPTL's fault, so I'm trying to recompile my whole system with -nptl. It takes a little while ^_^', but I'll let you know if it gets fixed.
My system is now a little bit too bound to the 2.6 series and trying to boot a 2.4 causes a kernel panic... anyway I've been running 2.6 for a while now, and the X problem showed up only lately.
Comment 3 Luca Barbato gentoo-dev 2003-11-24 16:32:23 UTC
qpkg -v xfree -I
qpkg -v ati-drivers -I
etc etc etc


could you try if upgrading (kernel and friends) helps?
Comment 4 Matteo Sasso 2003-11-26 09:37:51 UTC
qpkg yadda yadda:
x11-base/xfree-4.3.0-r3 *
x11-base/xfree-drm-4.3.0-r6 *
I don't have ati-drivers installed since I have a very old Radeon All-In-Wonder (r100) which is not supported.

I attach below my XFree86 log and I'll try again with 2.6.0_test10 as soon as possible (quite busy right now).
Comment 5 Matteo Sasso 2003-11-26 09:38:44 UTC
Created attachment 21320 [details]
XFree86 Log
Comment 6 Andrew Bevitt 2004-11-29 16:12:04 UTC
This has been in active for over a year now... If its still a problem add some more information, etc etc, otherwise please close it.