lkml.org 
[lkml]   [2003]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: DRM, radeon, and X 4.3
Date
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:3.380 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site