Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263920 - kde-base/kdm-4.2.1: Booting with Intel kernel modesetting enabled locks up X
Summary: kde-base/kdm-4.2.1: Booting with Intel kernel modesetting enabled locks up X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 22:39 UTC by Alexey Charkov
Modified: 2010-04-02 12:40 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---
tampakrap: Bugday+


Attachments
Xorg log showing the backtrace (Xorg.0.log,13.38 KB, text/plain)
2009-03-27 18:02 UTC, Alexey Charkov
Details
Log from an Xfce4 session (Xorg.0.log.old,28.19 KB, text/plain)
2009-03-27 18:16 UTC, Alexey Charkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Charkov 2009-03-26 22:39:30 UTC
I am using sys-kernel/gentoo-sources-2.6.29, KDE 4.2.1 from the portage tree, x11-base/xorg-server-1.5.3-r5, x11-libs/libdrm-2.4.5, media-libs/mesa-7.3-r1 and x11-drivers/xf86-video-intel-2.6.3-r1. I have i915 drm module compiled statically into the kernel, but modesetting is not enabled by default.

If I append 'i915.modeset=1' to the kernel command line, I get the framebuffer at my native resolution, fbsplash working properly and KDM screen showing up as expected. However, once I enter my credentials and try to log in, X locks up.

When booting without kernel modesetting, I can log in normally.

Reproducible: Always

Steps to Reproduce:
1. Have the forementioned config installed
2. Boot with modesetting enabled
3. Try to log in with KDM
Actual Results:  
Log in window disappears together with the cursor, but instead of the KDE splash showing up, X locks up with no response to input and no HDD activity.

Expected Results:  
KDE 4.2.1 should load and the user session show up.

Portage 2.2_rc27 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-alchark-u3s x86_64)                                                                                                                    
=================================================================                                                      
System uname: Linux-2.6.29-gentoo-alchark-u3s-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5        
Timestamp of tree: Thu, 26 Mar 2009 00:00:01 +0000                                                                     
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                              
ccache version 2.4 [disabled]                                                                                          
app-shells/bash:     4.0_p10-r1                                                                                        
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                  
dev-lang/python:     2.5.4-r2                                                                                          
dev-util/ccache:     2.4-r8                                                                                            
dev-util/cmake:      2.6.3                                                                                             
sys-apps/baselayout: 2.0.0                                                                                             
sys-apps/openrc:     0.4.3-r1                                                                                          
sys-apps/sandbox:    1.6                                                                                               
sys-devel/autoconf:  2.13, 2.63                                                                                        
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                  
sys-devel/binutils:  2.19.1-r1                                                                                         
sys-devel/gcc-config: 1.4.1                                                                                            
sys-devel/libtool:   2.2.6a                                                                                            
virtual/os-headers:  2.6.28-r1                                                                                         
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                         
CBUILD="x86_64-pc-linux-gnu"                                                                                           
CFLAGS="-O2 -march=core2 -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 /var/lib/hsqldb"                                                                                                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                             
CXXFLAGS="-O2 -march=core2 -pipe"                                                                                      
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j6 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr amrnb amrwb archive avahi bash-completion berkdb bluetooth branding bzip2 cairocdparanoia cdr chm cli consolekit cracklib crypt cups curl dbus dhcp djvu dri dts dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg flac foomaticdb ftp gdbm gif gimp gnutls gpm gs gstreamer hal iconv id3tag ieee1394 imagemagick imlib ipv6 ipw3945 isdnlog java javascript jingle jpeg kipi kqemu ladspa lame laptop latex lcms ldap libnotify lm_sensorslzo mad matroska midi mikmod mmx mmxext mng mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ntp ogg opengl openmp oscar pam pcre pdf perl plasma png ppds ppp pppd python qt-copy qt3 qt3support qt4 quicktime rar readline reflection ru-dv samba sasl scanner sdl session smp spell spl sse sse2 ssl ssse3 startup-notification stream svg symlink sysfs taglib tcpd tetex theora threads tiff truetype unicode usb v4l v4l2 vdpau vnc vorbis wifi wmf x264 xcomposite xine xml xorg xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="intel nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Alexey Charkov 2009-03-27 18:02:27 UTC
Created attachment 186462 [details]
Xorg log showing the backtrace

It seems that the issue is not related to KDM, as trying to start a KDE session directly from console by issuing `XSESSION=kde4 startx` results in the same failure. It also looks like X actually crashes, rather than locks up (see the log).
Comment 2 Alexey Charkov 2009-03-27 18:16:57 UTC
Created attachment 186463 [details]
Log from an Xfce4 session

The issue seems not even to be specific to KDE. Here is an Xorg log from an Xfce4 session also failing. Here I am able to see the desktop if the session is started manually from the console, but X crashes when I try to open the menu.
Comment 3 Alexey Charkov 2009-03-27 19:32:09 UTC
Cannot reproduce the issue after adding the x11 overlay and upgrading to the latest non-masked packages therein (including xorg-server-1.6.0 and xf86-video-intel-2.6.99.902). Awaiting those in portage :)
Comment 4 Piotr 2009-03-30 13:19:01 UTC
I have the same problem using KDE 3.5.10.
I have ACCEPT_KEYWORDS="~x86" and no unmasked packages so everything is in the newest version.
Enlightenment17 from enlightenment overlay works fine, no lockup.
How soon is it possible to add these packages from overlay to ~x86?
Comment 5 Robert Piasek (RETIRED) gentoo-dev 2009-03-30 14:47:14 UTC
If you want to use KMS you need xf86-video-intel-2.7 driver. Once it's released it will be available in portage, but for now you can enjoy 2.6.99.902 from the overlay.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-03-30 15:02:26 UTC
Beware that 2.6.99.902 is pretty busted without the rest of the patches from the 2.7 branch. I would suggest using the -9999 ebuild and modifying it with EGIT_BRANCH="2.7" instead.

Cheers
Comment 7 Alexey Charkov 2010-04-02 12:34:34 UTC
As the bug does not appear with current versions of software, including those in stable, maybe it's OK to mark as FIXED?