public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick McFarland <diablod3@gmail.com>
To: dri-devel@lists.sf.net, linux-kernel@vger.kernel.org
Cc: wli@holomorphy.com
Subject: [BUG] r200 dri driver deadlocks
Date: Sat, 4 Sep 2004 05:16:55 -0400	[thread overview]
Message-ID: <d577e569040904021631344d2e@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]

I'm currently using an r200 (specifically, an agp 'ATI Technologies
Inc Radeon R200 QM [Radeon 9100]') on a uniproc Pentium 3 board
equipped with an intel 440bx/piix4 type chipset (the agp controller is
identified as 'Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev
03)'

All of this was tested with a virgin 2.6.8.1 (with debug info and
frame pointers enabled) and Debian's XFree86 4.3.0.1, using DarkPlaces
and Twilight (both popular quakeGL engine forks) as test apps, unless
otherwise noted.

Thanks to wli (who I owe at least one beer for this, may be an entire
case), we've been able to figure exactly whats going on. The driver is
turning off interrupts, then deadlocking. (No sysrq, no sshing in,
capslock's light doesn't work.)

Turning the NMI watchdog on, it 'fixes' the deadlock (and thanks to
the watchdog, ssh and sysrq now work, but capslock's light still
doesn't work), but the app and X are still dead, but now I can ssh in
and kill -9 them both,  however, and quite obviously, I can't start
another X, but I can reboot cleanly.

Things already tested that don't effect bug:
Turning SMP on or off
Turning 4k stacks on or off
Using new radeon fbcon, using old radeon fbcon, using no fbcon
Turning Local APIC for uniproc and/or IO-APIC for uniproc on or off
Turning preempt on or off
Using mem=nopentium
Waving a dead chicken over the box

Things already tested for:
Kernels as far back as 2.6.0 have this bug, haven't tested any earlier

Thanks to netconsole (who I recommend to anyone that can't setup
serial console stuff), I was able to capture the entire kernel output,
including sysrq-t output right after my test app crashes.

I'm including both the netconsole output and the .config. vmlinux and
radeon.ko (and anything else you need) are available upon request.

-- 
Patrick "Diablo-D3" McFarland || diablod3@gmail.com
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd 
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989

[-- Attachment #2: config.gz --]
[-- Type: application/x-tar, Size: 6876 bytes --]

[-- Attachment #3: netconsole.log.gz --]
[-- Type: application/x-tar, Size: 9659 bytes --]

             reply	other threads:[~2004-09-04  9:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04  9:16 Patrick McFarland [this message]
2004-09-04 10:59 ` [BUG] r200 dri driver deadlocks Dave Airlie
2004-09-05  8:40   ` Patrick McFarland
2004-09-04 18:14 ` Michel Dänzer
2004-09-04 20:36   ` Patrick McFarland
2004-09-05  6:34     ` Michel Dänzer
2004-09-05  8:22       ` Patrick McFarland
2004-09-05 17:40         ` Michel Dänzer
2004-09-05 20:18           ` Patrick McFarland
2004-09-05 20:25             ` Michel Dänzer
2004-09-05 21:47               ` Patrick McFarland
2004-09-06  0:14             ` Lee Revell
2004-09-06 10:51               ` Felix Kühling
2004-09-07  6:34                 ` Mike Mestnik
2004-09-07  6:54                   ` Dave Airlie
2004-09-07  7:06                     ` Mike Mestnik
2004-09-07  9:40                       ` Roland Scheidegger
2004-09-06 11:01               ` Patrick McFarland
2004-09-06 18:12                 ` Michel Dänzer
2004-09-07  9:07                   ` Patrick McFarland
2004-09-07  9:09                     ` Patrick McFarland
2004-09-07  9:41                     ` Alan Cox
2004-09-09  4:24                     ` Alexander E. Patrakov
     [not found] <21d7e997040907013071ebb60d@mail.gmail.com>
2004-09-08  4:13 ` Mike Mestnik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d577e569040904021631344d2e@mail.gmail.com \
    --to=diablod3@gmail.com \
    --cc=dri-devel@lists.sf.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox