Bug 4897 - Xorg radeon GLX extension locks system when using preemption
Summary: Xorg radeon GLX extension locks system when using preemption
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Diego Calleja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-16 07:04 UTC by Mark
Modified: 2008-09-23 10:17 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.12.2, 2.6.13-rc3, 2.6.16.24, 2.17.4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Mark 2005-07-16 07:04:30 UTC
Distribution: Gentoo Linux

emerge --info:

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12.2 i686)
=================================================================
System uname: 2.6.12.2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/mark/div/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3ds X aalib acpi ada adns alsa apache2 apm arts avi berkdb bitmap-fonts
blas bonobo calendar cdr cjk crypt cups curl directfb divx4linux doc edl eds
emacs emboss encode epiphany esd f2c fam fbcon flac foomaticdb fortran gcj gd
gdbm ggi gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile haskell
icq icu imagemagick imlib ipv6 irda jack java jpeg junit kde kqemu ldap libg++
libwww lirc live logrotate lzo mad mikmod mmx mng mono motif mozcalendar mozilla
mozsvg mp3 mpeg music mysql nas ncurses network nls ogg oggvorbis openal opengl
oss pam pascal pdf pdflib perl pic plotutils png postgres python qt quicktime
readline rtc ruby samba scanner sdl session shorten slang slp sms sndfile
softmmu speex spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex theora tidy
tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales v4l
v4l2 vhosts vorbis wifi win32codecs wxwindows xanim xine xinerama xml xml2 xmms
xosd xprint xv xvid xvmc zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS


Hardware Environment:

0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller
(rev 03)
0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller
(rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller
(rev 01)
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Modem Controller (rev 01)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
0000:02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
0000:02:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
0000:02:00.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02)
0000:02:02.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini
PCI Adapter (rev 04)
0000:02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB)
Ethernet Controller (rev 81)


Software Environment:

xorg-x11-6.8.2-r2


Problem Description:

Using preemption and the xorg radeon GLX extension (Radeon Mobility 7500, IBM
Thinkpad X31) causes lockups. Cannot even ping the machine anymore, so it looks
like a kernel problem and not only a X11 problem. I just start glxgears or a
OpenGL screensaver and wait some time until the machine gets locked up. There is
no garbled screen or something. It is just locked up with a frozen screen.

The problem does not occur if either GLX or preemption support is disabled.
Comment 1 Jaak Ristioja 2005-11-08 10:36:39 UTC
I've probably had the same problem for many months over various release kernels. 

Hardware:
AMD Athlon64 3200+ 2,2 GHz 512 kB L2 cache
Club3D ATI Radeon 9200 SE
AOpen AK86-L motherboard

Software:
xorg-x11-6.8.2-r2

Well, the day before i got bored with these crashes and started investigating.
Today i managed to reproduce the problem and get some SysRq information on the
crash:

CPU 0:
Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss
snd_mixer_oss snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_timer
snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd subfs
Pid: 13261, comm: demo Not tainted 2.6.14-gentoo #6
RIP: 0010:[<ffffffff8024ca30>] <ffffffff8024ca30>{radeon_cp_getparam+304}
RSP: 0018:ffff8100192b3e48  EFLAGS: 00000202
RAX: 000000000000fa8d RBX: ffffffff8010e156 RCX: 0000000000000000
RDX: 00000000fffffff2 RSI: 00007fffffe1eab0 RDI: ffff8100192b3e68
RBP: ffff81001fc39000 R08: ffffffff8024c900 R09: 0000000000000001
R10: 0000000000ccb778 R11: 0000000000000202 R12: ffff810003718640
R13: ffff8100019ff800 R14: 0000000000000046 R15: ffff8100192b3e18
FS:  00002aaaad8f77e0(0000) GS:ffffffff80587800(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000000079f740 CR3: 00000000085b8000 CR4: 00000000000006e0

Call Trace:<ffffffff8024c952>{radeon_cp_getparam+82}
<ffffffff8023b774>{drm_ioctl+404}
       <ffffffff80189614>{do_ioctl+116} <ffffffff8018990b>{vfs_ioctl+715}
       <ffffffff8018998d>{sys_ioctl+77} <ffffffff8010da86>{system_call+126}

I (being a newbie) think this should be sufficent, but if you guys need
something, i'd be happy to help. :)
Comment 2 Jaak Ristioja 2005-11-10 07:02:05 UTC
I might have just figured out, that in my case this has something to do with
Xorg, rather than the kernel.
Comment 3 Diego Calleja 2006-01-05 03:57:19 UTC
No, it is not Xorg - regardless of X bugs, the kernel shouldn't oops

kalium@gmx.de, were you using the in-kernel driver or the ati propietary driver?


Can you reproduce it with 2.6.15?  (there has been some changes to the radeon
driver) I've been using the radeon driver for monthts with a radeon 9200SE +
preemption with no issues....


Comment 4 Diego Calleja 2006-02-15 05:38:23 UTC
/me changes this to "need more info". If you can retest and reproduce this again
in latest versions, please reopen it
Comment 5 Mark 2006-07-10 13:55:16 UTC
Problem still there. (with xorg-7.0.0)

What about the kernel driver parts (agpgart and DRM)? Should one include or
exclude these?

My configs:

https://stier.cable.nu/~moinmoin/MarksWiki/LinuxRadeonM6LY/Conf1/boot/config-2.6.17.4
https://stier.cable.nu/~moinmoin/MarksWiki/LinuxRadeonM6LY/Conf1/etc/X11/xorg.conf

Tell me if you need something more.
Comment 6 Natalie Protasevich 2007-09-18 18:13:44 UTC
Kalim,
Let's refresh this bug, how is it working with latest kernels/Xorg?
Thanks.

Note You need to log in before you can comment on or make changes to this bug.