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

Bug 252793

Summary: Exiting KDE causes lock, loss of video output with 2.6.28-gentoo on x86_64 system.
Product: Gentoo Linux Reporter: Bob Raitz <pappy_mcfae>
Component: [OLD] Core systemAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal CC: esigra, jer
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 2.6.28-gentoo.config
Vanilla 2.6.28 .config (for comparison)

Description Bob Raitz 2008-12-28 10:47:34 UTC
When operating with the 2.6.28-gentoo kernel, upon leaving KDE, the system locks up. It will not respond to ssh, but will respond to ping. the magic SysRq button will force a reboot. This also happens with 2.6.28 vanilla. 

Reproducible: Always

Steps to Reproduce:
1. use 2.6.28-gentoo kernel
2. Exit KDE normally
3. System locks as described above.

Actual Results:  
System locks with either 2.6.28-gentoo or vanilla sources.

Expected Results:  
Expected normal operation.

core-too ~ # emerge --info
Portage 2.2_rc20 (default/linux/amd64/2008.0, gcc-4.2.3, glibc-2.9_p20081201-r1, 2.6.27.10 x86_64)
=================================================================
System uname: Linux-2.6.27.10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Sun, 28 Dec 2008 05:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j16"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl alsa amd64 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt css cups dbus dlloader dri dvd dvdr dvdread emboss encode fam ffmpeg fftw flac foomaticdb fortran gdbm gif gpm gsl gtk hal iconv ipv6 isdnlog jpeg kde kdgraphics ladspa lame ldap libsamplerate libwww live mad midi mikmod mmx mp3 mpeg mudflap multilib nas ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdcre pdf pdflib perl php png ppds pppd python qt3 qt3support quicktime readline reflection samba sdl session slang slp sndfile spell spl sse sse2 ssl swat sysfs tcpd theora tiff truetype udev unicode vorbis wxwindows x264 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ice1712" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Bob Raitz 2008-12-28 10:54:30 UTC
Created attachment 176580 [details]
2.6.28-gentoo.config
Comment 2 Bob Raitz 2008-12-28 10:56:04 UTC
Created attachment 176582 [details]
Vanilla 2.6.28 .config (for comparison)
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-29 00:52:05 UTC
Thanks for the report.

@kde team: I think this should be assigned to you. Please feel free to re-assign if appropriate.
Comment 4 Dan Coats 2008-12-30 02:05:29 UTC
what kde version? tried with multiple video drivers? vga or vesa instead of intel? It would really be nice to have more info to go on. I have 2.6.28 working fine with kde4 and both radeon and nvidia-drivers
Comment 5 Bob Raitz 2008-12-30 05:55:37 UTC
(In reply to comment #4)
> what kde version? tried with multiple video drivers? vga or vesa instead of
> intel? It would really be nice to have more info to go on. I have 2.6.28
> working fine with kde4 and both radeon and nvidia-drivers
> 

KDE-3.5.10, No, only the Intel. And I'm actually pretty sure it's a problem with the transition to GEM. I'll set up the (gag) vesa driver for verification, but I'm betting it's a GEM issue.
Comment 6 Bob Raitz 2008-12-30 06:18:32 UTC
Testing with the vesa driver shows that this problem is definitely related to the Intel video driver, and how it's interacting. Even when the system was made unstable with microcode enabled (bug #252798), the display didn't lock coming out of X with the vesa driver. 

Comment 7 Dan Coats 2008-12-30 16:27:50 UTC
tried rebuilding glibc with the 2.6.28 linux-headers?
Comment 8 Bob Raitz 2008-12-30 19:25:53 UTC
(In reply to comment #7)
> tried rebuilding glibc with the 2.6.28 linux-headers?
> 

How is that going to fix what is OBVIOUSLY a kernel issue? 
Comment 9 Dan Coats 2008-12-31 14:35:27 UTC
Looks like a intel driver issue to me... even you yourself said "Testing with the vesa driver shows that this problem is definitely related to the Intel video driver"
Comment 10 Bob Raitz 2008-12-31 16:58:49 UTC
(In reply to comment #9)
> Looks like a intel driver issue to me... even you yourself said "Testing with
> the vesa driver shows that this problem is definitely related to the Intel
> video driver"
> 
Yes, it's either the i915 module(s), or the new drm setup (for intel and GEM), or a deadly combo of both. It doesn't affect my new laptop. However, it seems that this bug pops up with my old Toshiba laptop. I'm not going to run the .28 kernels until the Madagascar Hissing Cockroaches are gone.
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2008-12-31 18:02:25 UTC
@X11:

Any thoughts about this?
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-05 17:27:08 UTC
Which version of x11-base/xorg-server are we dealing with, here? Looks like bug #253718 may be a duplicate with some more details.

@everyone: Please stop posting speculative remarks without providing information about xorg-server/kernel/KDE versions.
Comment 13 Bob Raitz 2009-01-05 19:37:15 UTC
(In reply to comment #12)
> Which version of x11-base/xorg-server are we dealing with, here? Looks like bug
> #253718 may be a duplicate with some more details.
> 
> @everyone: Please stop posting speculative remarks without providing
> information about xorg-server/kernel/KDE versions.
> 

xorg-server-1.5.3
KDE-3.5.10
And, I would say it's only like the other bug if the other bug is caused by the presence of 2.6.28.

Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-05-07 07:01:06 UTC
Could anyone try to reproduce this bug on the latest ~amd64 gentoo-sources kernel along with xf86-video-intel 2.6.3 or, better yet, 2.7.0 ?

Thanks
Comment 15 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-05-29 19:52:57 UTC
This isn't a kde related issue so i'll remove kde from CC list
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-05-31 09:09:33 UTC
Please get back to us.

Thanks