All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew S. Johnson" <andy@asjohnson.com>
To: Rahul Karnik <rahul@genebrew.com>, Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: DRM, radeon, and X 4.3
Date: Sat, 19 Jul 2003 09:48:27 -0500	[thread overview]
Message-ID: <200307190948.27132.andy@asjohnson.com> (raw)
In-Reply-To: <3F17FF5B.2040409@genebrew.com>

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



      reply	other threads:[~2003-07-19 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=200307190948.27132.andy@asjohnson.com \
    --to=andy@asjohnson.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rahul@genebrew.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 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.