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

Bug 255088

Summary: x11-drivers/nvidia-drivers-177.82 - system freezes when X exits
Product: Gentoo Linux Reporter: John D Maunder <jdm>
Component: Current packagesAssignee: Ricardo Mendoza (RETIRED) <ricmm>
Status: RESOLVED UPSTREAM    
Severity: normal CC: cardoe
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John D Maunder 2009-01-15 19:42:49 UTC
When logging out, shutdown or going from init 1 to init 3 system completely freezes with Black Screen of Death. I use a ASUS A6M laptop with Geforce Go 6100 graphics card. I have limited this problem down to nvidia-drivers-177.82 as I do not get this problem with older drivers. System is totally unresponsive as when failure occurs no terms areavailable, cannot ssh or ping. Have tried varoius login managers which do not make any difference. Also reconfigured xorg.conf to no avail.

Reproducible: Always

Steps to Reproduce:
1. Logout or shutdown
2. 
3.

Actual Results:  
Black Screen of Death. Totally system lockup.

Expected Results:  
Logout should allow me to log is again

November ~ # emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-52-with-glibc2.2.5
Timestamp of tree: Wed, 14 Jan 2009 17:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bidi bzip2 cdda cdio cli cracklib crypt cups dbus dri dts dvd ffmpeg flac fortran freetype gdbm gnutls gpm gstreamer gtk hal httpd iconv ipv6 isdnlog java jpeg live mad matroska midi mmx mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl startup-notification stream symlink sysfs tcpd theora tiff tk unicode vcd vlm wxwindows xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2009-01-15 20:01:06 UTC
NVIDIA only provides their X11 drivers in a binary fashion, as such there is
not much debugging or troubleshooting Gentoo can do with issues reported about
them.

You can use nvidia-bug-report.sh to generate some information to e-mail over to
NVIDIA @ linux-bugs@nvidia.com and you may also wish to consider exploring
NVIDIA's Linux driver forum @
http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14

To further assist in debugging the issue and to have more information to
provide NVIDIA (and have a better chance that your issue will get fixed in the
future), you can attempt to debug your X server. To debug your server properly,
please follow the documentation outline here,
http://www.x.org/wiki/Development/Documentation/ServerDebugging

The above link does not contain references to how to perform this properly on
Gentoo. In a nutshell, you must rebuild X and it's libraries with USE=debug,
add -ggdb to your CFLAGS, and add splitdebug to FEATURES. More information
about this can be found at http://www.gentoo.org/proj/en/qa/backtraces.xml

Since this bug is with nvidia-drivers, which is a package that Gentoo has
minimal control over, this bug will be marked as UPSTREAM. However, in the
event that you debug your X server and can produce a backtrace, please feel
free to post it here and if it is unrelated to nvidia-drivers you or a Gentoo
developer can re-open this bug and address the issue where it truly lies.