I'm getting a kernel panic when I exit xorg-server. I have * ATI Mobility X600 * KDE4.2.1 * xorg-server-1.5.3-r5 * xf86-video-ati-6.12.1 * x11-drm-20090320 On exit X11 I get something like vblank_disable_fn vblank_disable_fn run_timer_softirq __do_softirq ... On Kernels >=2.6.28-gentoo-r3 (-r2 and lower work!). What can I do? Reproducible: Always Steps to Reproduce: Actual Results: Kernel Panic - Have to hard reset the machine. Expected Results: Should not crash.
# emerge --info Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r2-i686-Intel-R-_Pentium-R-_M_processor_2.13GHz-with-glibc2.0 Timestamp of tree: Mon, 30 Mar 2009 08:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p10-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 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="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -U_FORTIFY_SOURCE" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/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="-march=native -O2 -pipe -fomit-frame-pointer -U_FORTIFY_SOURCE" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.uoi.gr/mirror/OS/gentoo/ http://gentoo.virginmedia.com/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirrors.xservers.ro/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.inode.at/ http://ftp.ing.umu.se/linux/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.gentoo.bg/ http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.qubenet.net/mirror/gentoo/ http://files.gentoo.gr http://gentoo.supp.name/ http://mirror.uni-c.dk/pub/gentoo/ http://mirror.bih.net.ba/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.po.opole.pl http://mirror.muntinternet.net/pub/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://gentoo.inf.elte.hu/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.tups.lv/source/ http://gentoo.ynet.sk/pub http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.ludost.net/gentoo/ http://mirror.jamit.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.heanet.ie/pub/gentoo/ ftp://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US" LC_ALL="en_US" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/ephemeral /usr/local/portage/layman/php-4 /usr/local/portage/layman/kde-testing /usr/local/portage/local-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi aften alsa amarok amr amrnb apache2 automount avahi bash-completion berkdb bluetooth branding bzip2 cairo calendar cdaudio cdda cddb cdr cgi cli cpudetection cracklib crypt cscope cups curl daap dbus dga directfb divx dri dts dv dvb dvd dvdr dvdread dvn eds emboss encode esd evo exif expat fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gnome gnutls gpm graphviz gstreamer gtk hal htmlhandbook iconv ieee1394 ifp imagemagick imap imlib inifiles ipod ipv6 irmc isdnlog jack jpeg jpeg2k kde kde4 kdeprefix kipi lame laptop lcms lcmsi ldap libnotify lzo mad midi mikmod mmext mmx mng mono mp3 mp4 mpeg mtp mudflap mysql mysqli mythtv nas ncurses nepomuk nls nptl nptlonly nsplugin offensive ogg openal openct opengl openmp pam pch pcmcia pcre pdf perl phpplasma plib png ppds pppd python qd qt3 qt3support qt4 quicktime rar readline realmedia recode reflection rtc samba sasl sdl semantic-desktop server session sharedext sharedmem soap spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svga sysfs tcpd theora tidy tiff tivo tokenizer truetype unicode usb v4l v4l2 vcd vidx vim vim-syntax vorbis webdav webkit win32codecs wmp x264 x86 xanim xcb xcomposite xforms xine xinerama xml xorg xprint xscreensaver xsl xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 filehooks 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_fsdav_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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeon vesa ati" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ok try to use in-kernel drm or use live drm.
Thank you for the tip. I removed x11-drm-20090320 und enabled CONFIG_DRM_RADEON in the kernel. Nope. Same situation. :( Quite when terminating X11, I can see the Console with my PS1 prompt. But soon after I get something like this: --->snip---> Oops! 000 ... EIP is at radeon_get_vblank_counter+0x76/0x8c [radeon] ... Call Stack: vblank_disable_fn+0x82/0xd6 [drm] vblank_disable_fn+0x0/0xd6 [drm] run_timer_softirq+0x156/0xdd __do_softirq+0x2a/0x2f irq_exit+0x59/0x6c do_IRQ+0x59/0x6c ... Not syncing ... <---snap<--- Maybe I didn't get the right values and wording. I don't have an electronic copy of this ourtput ... is there some chance to get one? Things started to be broken with 2.6.28-gentoo-r3. This is currently 2.6.29-gentoo with CONFIG_DRM_RADEON. Oh - BTW - this is as well with these installations: $ eix -ce xf86-video-ati [I] x11-drivers/xf86-video-ati (6.12.1-r1@04/02/2009): ATI video driver $ eix -ce xorg-server [I] x11-base/xorg-server (1.5.3-r5@04/02/2009): X.Org X servers What's the live drm you noted? Can you point to any resource? Thanks for help.
Hm interesting is that it fails with in-kernel module :( The live drm is in x11 overlay :] layman -a x11 or how is layman used these days :]
Remove me from cc, i am in X11 alias cc too (i hate getting 2 mails for one thing :])
having same problem for some time. different-version of xf86-video-ati (but 6.8.0 works) and x11-drm libdrm... No, live drm still doesn't work. if i exit X and remove radeon-module (rmmod radeon) before reboot/shutdown kernel doesn't crash. noticed since these crashes, xvinfo shows 2 adapters. I have a radeon 9700 mobility. on a PC with a hd3300 this prob doesn't occur.
Same here also with x11-drivers/xf86-video-ati-6.12.1-r1. I've even played a bit with keywording of different packages (xf86-video-ati, x11-drm, libdrm ...) and I haven't found yet (again) which combination works. I'll post more info later.
hello. i have exactly the same problem using ati drivers 6.11 or 6.12.* and (vanilla) kernel 2.6.9
Confirmed for another system. With xf86-video-ati-6.12.1-r1 kernel panics for 2.6.29-r1, 2.6.28-r5, 2.6.26-r3. Does not panic with xf86-video-ati-6.8.0-r1. Was stable previously with 2.6.26-r3 and older xf86-video-ati. Video: ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP] Host bridge: ATI Technologies Inc RS300 Host Bridge (rev 02) PCI bridge: ATI Technologies Inc Radeon 9100 IGP AGP Bridge Other software: x11-base/xorg-server-1.5.3-r5 x11-base/x11-drm-20090320 Did not try changing x11-drm based on previous comments in this bug.
Switched to Kernel 2.6.29-gentoo-r2 ... still panic. No change. Bump.
Can someone post a photo of the oops please? There is some important information missing from the details posted to this bug up to this point. thanks!
Created attachment 190900 [details] Kernel oops screenshot This particular kernel oops was created on: * sys-kernel/gentoo-sources-2.6.27-r8 * x11-base/x11-drm-20090320 * x11-drivers/xf86-video-ati-6.12.1-r1 * x11-base/xorg-server-1.5.3-r5 * x11-libs/libdrm-2.4.5 Hardware: ATI Radeon Mobility X600
Created attachment 190938 [details] Kernel oops screenshot Radeon 9700 Mobility ~x86 except x11-base/x11-drm-99999999 x11-drivers/xf86-video-ati-9999
Thanks. This bug has an analysis: http://bugs.freedesktop.org/show_bug.cgi?id=20954 There's a patch there that you could try applying to drivers/gpu/drm/radeon/radeon_irq.c in the kernel source.
Because I didn't know how to apply this patch to x11-base/x11-drm-99999999, I switched to the modules in the kernel and patched it. works!
Created attachment 190996 [details] Patch for x11-drm-20090320 radeon kernel panic Patch for x11-drm-20090320 radeon kernel panic. Place it in /usr/portage/x11-base/x11-drm/files/ (got to create the folder).
Created attachment 190998 [details] ebuild file containing radeon panic patch Ebuild file containing the http://bugs.freedesktop.org/show_bug.cgi?id=20954 patch
Created patch file and ebuild for x11-drm-20090320. Could plz someone verify? I can compile and merge, but I'm currently unable to verify if this solves the panic ...
works too
Thanks. I'm not convinced the fix is correct or will be accepted though. Could someone please revert that patch and any other changes, return to a "broken" system. Then run as root: dmesg -n 7 echo 1 > /sys/module/drm/parameters/debug halt and take a photo of the new crash-on-shutdown Please be using a framebuffer like jamatik in comment #13 so that the top of the crash can be seen. thanks!
Created attachment 191192 [details] Kernel oops request screenshot sorry, have no better cam.
Created attachment 191194 [details] Kernel oops request screenshot
Did you definitely run the dmesg and echo commands to enable debug? I would have expected more messages to appear on the console above. Maybe they did and they just aren't visible in the photo?
Yes, I did. and that's the result.
(In reply to comment #23) > Did you definitely run the dmesg and echo commands to enable debug? > I would have expected more messages to appear on the console above. Maybe they > did and they just aren't visible in the photo? > I am experiencing the kernel OOPS everytime I exit Xorg -- I have not applied the patch. Machine is Thinkpad T42 with ATI RV350 and 1400x1050 LCD. I am trying my hand at kernel debugging and have experience the following (cut-n-paste from /var/log/kernel) 1) Terminating X without changing debugging settings: May 14 16:33:08 [kernel] [24783.767303] [drm] Num pipes: 1 May 14 16:33:08 [kernel] [24783.931855] mtrr: no MTRR for e0000000,4000000 found 2) Terminating X with the addition of the echo command (echo 1 > /sys/module/drm/parameteters/debug): May 14 20:48:29 [kernel] [ 5005.287557] [drm] Initialized drm 1.1.0 20060810 May 14 20:48:29 [kernel] [ 5005.298357] [drm] Initialized radeon 1.29.0 20080613 on minor 0 May 14 20:48:29 [kernel] [ 5005.298541] [drm] Used old pci detect: framebuffer loaded May 14 20:48:29 [kernel] [ 5005.467754] agpgart-intel 0000:00:00.0: AGP 2.0 bridge May 14 20:48:29 [kernel] [ 5005.467770] agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode May 14 20:48:29 [kernel] [ 5005.467805] radeonfb 0000:01:00.0: putting AGP V2 device into 4x mode May 14 20:48:29 [kernel] [ 5005.692883] [drm] Setting GART location based on new memory map May 14 20:48:29 [kernel] [ 5005.692893] [drm] Loading R300 Microcode May 14 20:48:29 [kernel] [ 5005.692942] [drm] Num pipes: 1 May 14 20:48:29 [kernel] [ 5005.692950] [drm] writeback test succeeded in 2 usecs May 14 20:48:47 [kernel] [ 5023.124034] Clocksource tsc unstable (delta = -167243471 ns) May 14 20:50:04 [kernel] [ 5100.187370] [drm:drm_unlocked_ioctl] pid=5286, cmd=0xc0286429, nr=0x29, dev 0xe200, auth=1 May 14 20:50:04 [kernel] [ 5100.187382] [drm:radeon_freelist_get] done_age = 2627 May 14 20:50:04 [kernel] [ 5100.187396] [drm:drm_unlocked_ioctl] pid=5286, cmd=0xc010644d, nr=0x4d, dev 0xe200, auth=1 May 14 20:50:04 [kernel] [ 5100.187406] [drm:radeon_cp_indirect] idx=4 s=0 e=8 d=1 May 14 20:50:04 [kernel] [ 5100.187413] [drm:radeon_cp_dispatch_indirect] buf=4 s=0x0 e=0x8 May 14 20:50:04 [kernel] [ 5100.187432] [drm:radeon_freelist_get] done_age = 2628 May 14 20:50:04 [kernel] [ 5100.187520] [drm:drm_unlocked_ioctl] pid=5286, cmd=0xc010644d, nr=0x4d, dev 0xe200, auth=1 May 14 20:50:04 [kernel] [ 5100.187529] [drm:radeon_cp_indirect] idx=5 s=0 e=192 d=1 May 14 20:50:04 [kernel] [ 5100.187536] [drm:radeon_cp_dispatch_indirect] buf=5 s=0x0 e=0xc0 . . (the 5 lines repeated many times increasing done_age by 1; for cp_indirect idx by 1 till 31 then starting back at 0, e is harder to determine the pattern but is probably not random) . . May 14 20:50:20 [kernel] [ 5116.922673] [drm:drm_unlocked_ioctl] pid=5286, cmd=0xc0286429, nr=0x29, dev 0xe200, auth=1 May 14 20:50:20 [kernel] [ 5116.922681] [drm:radeon_freelist_get] done_age = 3424 May 14 20:50:20 [kernel] [ 5116.922723] [drm:drm_unlocked_ioctl] pid=5286, cmd=0xc010644d, nr=0x4d, dev 0xe200, auth=1 May 14 20:50:20 [kernel] [ 5116.922732] [drm:radeon_cp_indirect] idx=1 s=0 e=96 d=1 May 14 20:50:20 [kernel] [ 5116.922739] [drm:radeon_cp_dispatch_indirect] buf=1 s=0x0 e=0x60 --- End of log (kernel OOPS not present in log) --- 3) Compile kernel with mmio_trace and followed instructions in /usr/src/linux/Documentation First -- no OOPS upon X log out Second -- kernel log and the output from trace are the same and short May 14 21:38:31 [kernel] [ 201.786800] in mmio_trace_init (I started X here -->) May 14 21:38:31 [kernel] [ 201.786805] mmiotrace: enabled. May 14 21:39:31 [kernel] [ 262.247031] drm: disagrees about version of symbol struct_module May 14 21:39:31 [kernel] [ 262.260450] radeon: disagrees about version of symbol struct_module May 14 21:39:48 [kernel] [ 279.128032] Clocksource tsc unstable (delta = -141321209 ns) May 14 21:42:51 [kernel] [ 461.726670] in mmio_trace_reset (I closed X here -->) May 14 21:42:51 [kernel] [ 461.726720] mmiotrace: disabled. (I didn't reboot and started X here and posted this message -->) Note: the only change was to rebuild the kernel with mmio_trace enabled and follow the documentation to actually enable the logging. No idea why this eliminated the symptom. Package/system info uname -rsa: Linux lethe 2.6.28-gentoo-r5 #7 PREEMPT Thu May 14 21:28:03 EDT 2009 i686 Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux xorg-server info: ================================================================= Package Settings ================================================================= x11-base/xorg-server-1.5.3-r5 was built with the following: LDFLAGS="-Wl,-O1 -Wl,-z,lazy" >>> Attempting to run pkg_info() for 'x11-base/xorg-server-1.5.3-r5' * pkg_info() is not defined: 'xorg-server-1.5.3-r5.ebuild' other packages: x11-drivers/xf86-video-ati-6.12.2 x11-base/x11-drm-20090320 gcc -v: Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 p1.6, pie-10.1.5' Thread model: posix gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) lspci -vvv (video card only): 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller]) Subsystem: IBM Device 0550 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B+ DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 66 (2000ns min), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 11 Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M] Region 1: I/O ports at 3000 [size=256] Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at c0120000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4 Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none> Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: radeonfb Kernel modules: fglrx
In part 3) Compile kernel with mmio_trace and followed instructions in /usr/src/linux/Documentation it should have read that I terminated X first and then terminated the mmio tracer (after terminating X).
(In reply to comment #25) > lspci -vvv (video card only): > 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon > 9600 M10] (prog-if 00 [VGA controller]) > Subsystem: IBM Device 0550 > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR+ FastB2B+ DisINTx- > Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 66 (2000ns min), Cache Line Size: 32 bytes > Interrupt: pin A routed to IRQ 11 > Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M] > Region 1: I/O ports at 3000 [size=256] > Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K] > [virtual] Expansion ROM at c0120000 [disabled] [size=128K] > Capabilities: [58] AGP version 2.0 > Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- > 64bit- FW+ AGP3- Rate=x1,x2,x4 > Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- > Rate=<none> > Capabilities: [50] Power Management version 2 > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA > PME(D0-,D1-,D2-,D3hot-,D3cold-) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: radeonfb > Kernel modules: fglrx > @Jeff: You are using fgrlx (aka "ati-drivers")? That's different, since I - and I assume everybody else in this bug request - is using the FOSS drivers. Is this realy the same incident?
@Oliver Maurhart Yes I am using xf86-video-ati-6.12.2 I had been using the fglrx driver prior but the open source driver's 3D performance is good enough for molecular graphics. I switched since fglrx has refresh issues and hard lockups running opengl programs. lspci lists all of the kernel modules not just those loaded. Update -- I didn't read the warning messages carefully enough and am recompiling the modules since they won't load into the kernel with mmio_trace enabled.
Rebuilt radeon and drm modules with MMIOTRACE=y in linux-2.6.28-gentoo-r5. Symptoms are same as before when exiting xorg-server. However, enabling mmio_trace (by running "echo mmiotrace > /debug/tracing/current_tracer") before running startx causes a hard lockup at Gnome loading screen. The kernel log has many lines with DRM debugging output and finishes with 10 lines like those posted in comment #25 (drm:radeon_* and drm:drm_* lines). I have saved the mmio_trace output as well as kernel log with debug for drm module enabled. Please let me know if any of the files would be useful since the output is verbose and I am unsure whether the kernel log and/or mmio trace would be useful.
I'm not sure how mmiotrace could help us here but I don't know much about it. Re comment #25: thanks, but usually when the kernel crashes it is not able to save much information to disk (as illustrated by the oops not being in your logs). We need to see the debug messages that appear immediately above the oops, so we really need a photo or hand-transcription of the oops *including* the few lines above (which are very unlikely to be in the logs)
fixed in kernel 2.6.30 using gentoo-sources-2.6.30-r1 + in-kernel drm (+ xf86-video-ati-9999)
can anyone else confirm that 2.6.30 solves the problem?
Ok. I'll try once I'm back home (rd. 3-4 days from today). My machine is currently blocked ... by work. :(
Recompiled my kernel yesterday in the hotel applying in-kernel CONFIG_DRM and CONFIG_DRM_ATI together with xf86-video-ati-6.12.2 on a gentoo-sources-2.6.30-r1 (x32) ... it works! No kernel panic on exiting X11 so far (tested 4 times now). Composite effects in KDE 4.2.4 back. So ... am I to close the bug now, since I opened it up? Well, I do. I treat it as fixed.