Looks like i915 is unstable with xorg-server 1.8.0. I recently updated world from a 2 years ago tabletpc, perfectly working configuration to the latest ~x86 tree, and I'm unable to use X, KDE4. I tried to play around with modesetting, compile i915 as a module or into the kernel, but I have the same error messages either way. Reproducible: Always Steps to Reproduce: 1. start xdm with kdm4 or xdm 2. login to kde4 OR click any button on the login screen xdm seems stable, and its own UI widgets don't lead to issues 2a. if kde4 started, click on any button (the "K" button for instance) 3. X becomes unresponsive, only mouse cursor moves. 4. optionally try to restart xdm from ssh, but kdm won't start anymore. Only X will start, and will only display the mouse cursor on a black background. Actual Results: i915 driver cannot be unloaded (busy), and both dmesg and Xorg.0.log display error messages related to the driver Expected Results: i915 should be unloadable/reloadable after killing X, and be stable dmesg says: i915 0000:00:02.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10 i915 0000:00:02.0: setting latency timer to 64 [drm] set up 31M of stolen space [drm] initialized overlay support udev: renamed network interface eth0 to wl fbcon: inteldrmfb (fb0) is primary device Console: switching to colour frame buffer device 128x48 fb0: inteldrmfb frame buffer device registered panic notifier [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 fbcondecor: console 0 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 0 fbcondecor: console 1 using theme 'emergence' e100: lan NIC Link is Up 100 Mbps Half Duplex fbcondecor: switched decor state to 'on' on console 1 Bridge firewalling registered fbcondecor: console 2 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 2 fbcondecor: console 3 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 3 fbcondecor: console 4 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 4 fbcondecor: console 5 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 5 usb 2-1: new low speed USB device using uhci_hcd and address 3 input: Silitek USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input5 generic-usb 0003:047B:0006.0002: input: USB HID v1.00 Keyboard [Silitek USB Keyboard] on usb-0000:00:1d.0-1/input0 fbcondecor: switched decor state to 'off' on console 1 fbcondecor: console 1 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 1 fbcondecor: switched decor state to 'off' on console 2 fbcondecor: console 2 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 2 fbcondecor: switched decor state to 'off' on console 3 fbcondecor: console 3 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 3 fbcondecor: switched decor state to 'off' on console 4 fbcondecor: console 4 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 4 fbcondecor: switched decor state to 'off' on console 5 fbcondecor: console 5 using theme 'emergence' fbcondecor: switched decor state to 'on' on console 5 e100: lan NIC Link is Up 100 Mbps Half Duplex [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung render error detected, EIR: 0x00000000 [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 104 at 102) emerge --info: Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-tuxonice-r1 i686) ================================================================= System uname: Linux-2.6.33-tuxonice-r1-i686-Intel-R-_Pentium-R-_M_processor_900MHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 30 Apr 2010 09:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 Q3AEULA PUEL" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -ggdb -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/spl ash /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -ggdb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distcc distlocks fixpackages news protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inf.elte.hu/ http://gentoo.mirror.solnet.ch" LANG="it" LDFLAGS="-Wl,-O1" LINGUAS="it hu en ru he" MAKEOPTS="-j5" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://odin/gentoo-portage/" USE="X a52 aac aalib accessibility acl acpi aiglx alsa amr apm arts async avi backup bash-completion bidi bogofilter branding bri bzip2 cairo cdinstall cdr cegui cgi cli consolekit contactnotes cpudetection cracklib crypt ctype cups curl cxx dbus dc1394 devil dhcp directfb divx dmi double-precision dri dts dv dvb dvdr dvdread eckb1 ecmark3 ecmg2 ecsteve2 eds emboss encode esd exif extras fam fastcgi fbcon fbcondecor ffmpeg firefox flac florz fortran gadu gd gdbm gdu geoip gif git glitz glut gmedia gnustep gnutls gphoto2 gpm groupwise gsl gsm h323 history hybrid i8x0 iconv icu idn ieee1394 imagemagick imap imlib inotify iptc java javascript jingle jpeg jpeg2k jpgraph kde kdrive kerberos laptop lcms libnotify live lzma lzo mad maps matroska mikmod mmx mmxext mng modelock modules mozdevelop moznoxft mozsvg mozxmlterm mp3 mp4 mpeg mplayer msn mssql mudflap multislot multiuser mysql nas nat ncurses network new-login nls nntp non-flattened nptl nptlonly nsplugin objc objc++ objc-gc odbc offensive ogg opengl openmp optimize oscar pam pango passwordsave pcmcia pcre pdf pdflib perl php png policykit ppds pppd prediction python qq qt-static qt3 qt3support qt4 query-browser quicktime raw rc5 readline realmedia reflection rle rt2500usb rtc rtsp samba sasl sdl session sharedmem shout silc sip skins slang slp sms sndfile speex spell spl sql sqlite sse sse2 ssl startup-notification stream svg svga swat sysfs tcl tcpd thal theora threads tidy tiff tk tools tordns transmitter truetype unicode upnp usb userlocales v4l v4l2 video vim vim-syntax vim-with-x vlm vorbis watchdog wav wifi winbind wmp workbench wxwindows x264 x86 xcb xcomposite xface xforms xinerama xml xorg xrandr xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" CAMERAS="canon" DVB_CARDS="usb-a800" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it hu en ru he" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 229935 [details] Xorg.0.log output
Please paste your "emerge -pv xf86-video-intel" output.
[ebuild R ] x11-drivers/xf86-video-intel-2.11.0 USE="dri" 0 kB
Please paste the full output of dmesg when that message shows up, and please try the latest git-sources kernel (yes, without tuxonice...). Thanks
Created attachment 230675 [details] dmesg output uname -a output: Linux TB 2.6.34-rc6-git5 #1 PREEMPT Fri May 7 10:07:15 CEST 2010 i686 Intel(R) Pentium(R) M processor 900MHz GenuineIntel GNU/Linux
Greetings, I've also tried with 2.6.34-rc7. The dmesg output is different: this time it also talks about render errors. Attaching.. Cheers
Created attachment 231151 [details] dmesg output from 2.6.34-rc7
Two things are notable from that dmesg: * video=intelfb:ywrap,mtrr:4,1024x768-32@60,splash=verbose,theme:emergence intelfb should not be used. It is not mentioned anywhere else in dmesg so it could be disabled in kernel already. Ensure it is. * Local APIC disabled by BIOS -- you can enable it with "lapic" * no APIC, boot with the "lapic" boot parameter to force-enable it. If the problem is due to an interrupt issue, maybe enabling lapic helps.
> * video=intelfb:ywrap,mtrr:4,1024x768-32@60,splash=verbose,theme:emergence removed (intelfb was not compiled. I removed it earlier, just forgot a reference to it in grub.conf), and replaced with lapic This time X lasts longer: I'm able to click the K button, which opens the menu, I open an application, and... crash again :) Attaching the new dmesg Cheers
Created attachment 231311 [details] latest dmesg with lapic enabled
Please try with the latest 2.6.35_rc kernel. If it still fails, please file a bug upstream [1] and paste the URL here so we can track the issue. Thanks
[1] http://intellinuxgraphics.org/how_to_report_bug.html