All of lore.kernel.org
 help / color / mirror / Atom feed
* DRM, radeon, and X 4.3
@ 2003-07-17 10:39 Andrew S. Johnson
  2003-07-17 13:20 ` Damian Kolkowski
  2003-07-17 17:26 ` Dave Jones
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew S. Johnson @ 2003-07-17 10:39 UTC (permalink / raw)
  To: linux-kernel

I start X but it says DRM is disabled, even though the
radeon and agpgart modules are loaded.  Here is the dmesg tail:

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized radeon 1.9.0 20020828 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 1929 using kernel context 0

There is something X doesn't like.  How do I fix this?

Andy Johnson


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DRM, radeon, and X 4.3
  2003-07-17 10:39 DRM, radeon, and X 4.3 Andrew S. Johnson
@ 2003-07-17 13:20 ` Damian Kolkowski
  2003-07-17 17:26 ` Dave Jones
  1 sibling, 0 replies; 7+ messages in thread
From: Damian Kolkowski @ 2003-07-17 13:20 UTC (permalink / raw)
  To: Andrew S. Johnson; +Cc: linux-kernel

On Thu, Jul 17, 2003 at 05:39:25AM -0500, Andrew S. Johnson wrote:
> There is something X doesn't like.  How do I fix this?

Simply download the:

http://visualisation.tudelft.nl/~cpbotha/files/dri_resume/\
radeon-cpbotha-20030405-linux.DRI.i386.tar.bz2

-- 
# Damian *dEiMoS* Kołkowski # http://deimos.one.pl/ #

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DRM, radeon, and X 4.3
  2003-07-17 10:39 DRM, radeon, and X 4.3 Andrew S. Johnson
  2003-07-17 13:20 ` Damian Kolkowski
@ 2003-07-17 17:26 ` Dave Jones
  2003-07-18  2:36   ` Andrew S. Johnson
  2003-07-18 12:55   ` Alan Cox
  1 sibling, 2 replies; 7+ messages in thread
From: Dave Jones @ 2003-07-17 17:26 UTC (permalink / raw)
  To: Andrew S. Johnson; +Cc: linux-kernel

On Thu, Jul 17, 2003 at 05:39:25AM -0500, Andrew S. Johnson wrote:
 > I start X but it says DRM is disabled, even though the
 > radeon and agpgart modules are loaded.  Here is the dmesg tail:
 > 
 > Linux agpgart interface v0.100 (c) Dave Jones
 > [drm] Initialized radeon 1.9.0 20020828 on minor 0
 > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
 > [drm:radeon_unlock] *ERROR* Process 1929 using kernel context 0
 > 
 > There is something X doesn't like.  How do I fix this?

Looks like there isn't an agp chipset module also loaded
(via-agp.o, intel-agp.o etc...)

You should have additional text after the first AGP line.

		Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DRM, radeon, and X 4.3
  2003-07-17 17:26 ` Dave Jones
@ 2003-07-18  2:36   ` Andrew S. Johnson
  2003-07-18 12:55   ` Alan Cox
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew S. Johnson @ 2003-07-18  2:36 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

On Thursday 17 July 2003 12:26 pm, Dave Jones wrote:
> On Thu, Jul 17, 2003 at 05:39:25AM -0500, Andrew S. Johnson wrote:
>  > I start X but it says DRM is disabled, even though the
>  > radeon and agpgart modules are loaded.  Here is the dmesg tail:
>  > 
>  > Linux agpgart interface v0.100 (c) Dave Jones
>  > [drm] Initialized radeon 1.9.0 20020828 on minor 0
>  > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
>  > [drm:radeon_unlock] *ERROR* Process 1929 using kernel context 0
>  > 
>  > There is something X doesn't like.  How do I fix this?
> 
> Looks like there isn't an agp chipset module also loaded
> (via-agp.o, intel-agp.o etc...)
> 
> You should have additional text after the first AGP line.
> 
> 		Dave

In the 2.4 kernels, the chipset was compiled in with the agpgart
module.  Now they are separate.  So, yes, modprobe via-agp
did the trick.

How can get the modprobe.conf file to load this module after
agpgart and not crash the system?  My attempts to make this
work using the install command example from the manpage
have been generally disasterous.

Thanks,

Andy Johnson



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DRM, radeon, and X 4.3
  2003-07-17 17:26 ` Dave Jones
  2003-07-18  2:36   ` Andrew S. Johnson
@ 2003-07-18 12:55   ` Alan Cox
  2003-07-18 14:08     ` Rahul Karnik
  1 sibling, 1 reply; 7+ messages in thread
From: Alan Cox @ 2003-07-18 12:55 UTC (permalink / raw)
  To: Dave Jones; +Cc: Andrew S. Johnson, Linux Kernel Mailing List

On Iau, 2003-07-17 at 18:26, Dave Jones wrote:
>  > Linux agpgart interface v0.100 (c) Dave Jones
>  > [drm] Initialized radeon 1.9.0 20020828 on minor 0
>  > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
>  > [drm:radeon_unlock] *ERROR* Process 1929 using kernel context 0
>  > 
>  > There is something X doesn't like.  How do I fix this?
> 
> Looks like there isn't an agp chipset module also loaded
> (via-agp.o, intel-agp.o etc...)

Still shouldnt do that - also the radeon doesn't require AGP


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DRM, radeon, and X 4.3
  2003-07-18 12:55   ` Alan Cox
@ 2003-07-18 14:08     ` Rahul Karnik
  2003-07-19 14:48       ` Andrew S. Johnson
  0 siblings, 1 reply; 7+ messages in thread
From: Rahul Karnik @ 2003-07-18 14:08 UTC (permalink / raw)
  To: Alan Cox; +Cc: Dave Jones, Andrew S. Johnson, Linux Kernel Mailing List

Alan Cox wrote:
> On Iau, 2003-07-17 at 18:26, Dave Jones wrote:
> 
>> > Linux agpgart interface v0.100 (c) Dave Jones
>> > [drm] Initialized radeon 1.9.0 20020828 on minor 0
>> > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
>> > [drm:radeon_unlock] *ERROR* Process 1929 using kernel context 0
>> > 
>> > There is something X doesn't like.  How do I fix this?
>>
>>Looks like there isn't an agp chipset module also loaded
>>(via-agp.o, intel-agp.o etc...)
> 
> 
> Still shouldnt do that - also the radeon doesn't require AGP

FWIW, I can reproduce the "problem" here. Perhaps a less cryptic error 
message could be printked.

Thanks,
Rahul


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DRM, radeon, and X 4.3
  2003-07-18 14:08     ` Rahul Karnik
@ 2003-07-19 14:48       ` Andrew S. Johnson
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew S. Johnson @ 2003-07-19 14:48 UTC (permalink / raw)
  To: Rahul Karnik, Alan Cox; +Cc: Linux Kernel Mailing List

On Friday 18 July 2003 09:08 am, Rahul Karnik wrote:
> Alan Cox wrote:
> > On Iau, 2003-07-17 at 18:26, Dave Jones wrote:
> > 
> >> > Linux agpgart interface v0.100 (c) Dave Jones
> >> > [drm] Initialized radeon 1.9.0 20020828 on minor 0
> >> > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> >> > [drm:radeon_unlock] *ERROR* Process 1929 using kernel context 0
> >> > 
> >> > There is something X doesn't like.  How do I fix this?
> >>
> >>Looks like there isn't an agp chipset module also loaded
> >>(via-agp.o, intel-agp.o etc...)
> > 
> > 
> > Still shouldnt do that - also the radeon doesn't require AGP

The radeon module shouldn't require agpgart, as it is supposed
to work with pcigart for PCI versions, but for DRI to work some sort of
hardware module(s) need to be loaded.

> FWIW, I can reproduce the "problem" here. Perhaps a less cryptic error 
> message could be printked.
> 
> Thanks,
> Rahul

I added the modprobe for via-agp to this line in modprobe.conf:

install radeon { /sbin/modprobe agpgart; /sbin/modprobe/via-agp; }; /sbin/modprobe --ignore-install radeon

which works well enough.  However, this line only removes the
radeon module:

remove radeon /sbin/modprobe -r --ignore-remove radeon && { /sbin/modprobe -r via-agp; /sbin/modprobe -r agpgart; /bin/true; }

Even after the radeon module is unloaded, the via-agp module
won't unload because it claims to be in use.  I have to force
unload it.  What could it be hanging on?

Thanks,

Andy Johnson



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-19 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 10:39 DRM, radeon, and X 4.3 Andrew S. Johnson
2003-07-17 13:20 ` Damian Kolkowski
2003-07-17 17:26 ` Dave Jones
2003-07-18  2:36   ` Andrew S. Johnson
2003-07-18 12:55   ` Alan Cox
2003-07-18 14:08     ` Rahul Karnik
2003-07-19 14:48       ` Andrew S. Johnson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.