linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bradley Chapman <kakadu_croc@yahoo.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test9-mm2
Date: Wed, 5 Nov 2003 11:49:42 -0800 (PST)	[thread overview]
Message-ID: <20031105194942.51568.qmail@web40908.mail.yahoo.com> (raw)

Mr. Morton,

This patch: +drm-agp-module-dependency-fix.patch

has broken the radeon DRM driver under 2.6.0-test9-mm2. Enclosed is an e-mail I
sent to the dri-devel sourceforge list:

<snip>

I'm having problems using te DRI radeon driver in the 2.6.0-test9-mm2
kernel tree. When X is started, the kernel outputs these messages:

[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 1083 using kernel context 0

The driver did not do this under 2.6.0-test9-mm1.

Interesting parts of dmesg (under 2.6.0-test9-mm2):

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i845 Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xec000000
[drm] Initialized radeon 1.9.0 20020828 on minor 0

I am using XFree86-4.3.0-42 from Fedora Core.

</snip>

Diffing the drivers/char/drm trees produces this, which I assume is the patch
you applied:

diff -urN linux-2.6.0-test9-mm1/drivers/char/drm/drm_agpsupport.h
linux-2.6.0-test9-mm2/drivers/char/drm/drm_agpsupport.h
--- linux-2.6.0-test9-mm1/drivers/char/drm/drm_agpsupport.h     2003-10-17
22:42:52.000000000 +0100
+++ linux-2.6.0-test9-mm2/drivers/char/drm/drm_agpsupport.h     2003-11-05
08:45:46.000000000 +0000
@@ -37,8 +37,8 @@
 #if __REALLY_HAVE_AGP


-#define DRM_AGP_GET (drm_agp_t *)inter_module_get("drm_agp")
-#define DRM_AGP_PUT inter_module_put("drm_agp")
+#define DRM_AGP_GET symbol_get(agp_drm)
+#define DRM_AGP_PUT symbol_put(agp_drm)

 /**
  * Pointer to the drm_agp_t structure made available by the agpgart module.

I've had some responses from dri-devel so far, but right now I'm running
2.6.0-test9-mm1, which works perfectly fine.

What now?

TIA

Brad

=====
Brad Chapman

Permanent e-mail: kakadu_croc@yahoo.com

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

             reply	other threads:[~2003-11-05 19:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-05 19:49 Bradley Chapman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-05  6:55 2.6.0-test9-mm2 Andrew Morton
2003-11-05 12:30 ` 2.6.0-test9-mm2 Alexander Hoogerhuis
2003-11-05 17:02 ` 2.6.0-test9-mm2 Alistair John Strachan
2003-11-05 23:07 ` 2.6.0-test9-mm2 Martin J. Bligh
2003-11-11 17:25 ` 2.6.0-test9-mm2 Daniel Drake
2003-11-12  1:18   ` 2.6.0-test9-mm2 Nick Piggin
2003-11-12  3:45     ` 2.6.0-test9-mm2 Mike Fedyk

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=20031105194942.51568.qmail@web40908.mail.yahoo.com \
    --to=kakadu_croc@yahoo.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).