Mr. Danzer,

--- Michel Dänzer <[EMAIL PROTECTED]> wrote:
> On Wed, 2003-11-05 at 10:33, Bradley Chapman wrote:
> > 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
> 
> I've seen this before, but I can never seem to remember what causes it.
> :(
> 
> > The driver did not do this under 2.6.0-test9-mm1.
> 
> Interesting, have you checked a diff of drivers/char/drm between -mm1
> and -mm2 for anything that could cause this?

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.

Does this mean anything?

> 
> > 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
> 
> The X server log may also be interesting.

Unfortunately I didn't save it. All it said, compared to a log from a working
X server, was that the DRM code couldn't initialize the AGP GART. IIRC, this
is what the X server said:

(WW) RADEON(0): [drm] couldn't initialize agp

This is what the 2.6.0-test9-mm1 kernel says when X is started:

agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

Should I revert the change and rebuild?

Brad


=====
Brad Chapman

Permanent e-mail: [EMAIL PROTECTED]

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


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to