All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@codemonkey.org.uk>
To: Ed Tomlinson <tomlins@cam.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>, linux-kernel@vger.kernel.org
Subject: Re: [drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Date: Sat, 21 Dec 2002 14:22:26 +0000	[thread overview]
Message-ID: <20021221142226.GA24941@suse.de> (raw)
In-Reply-To: <200212201829.18430.tomlins@cam.org>

On Fri, Dec 20, 2002 at 06:29:18PM -0500, Ed Tomlinson wrote:
 > Dave, with the pull from this morning (8am EST), it almost works modular.
 > I get:
 > 
 > Dec 20 18:20:19 oscar upsd[636]: Communication established
 > Dec 20 18:20:47 oscar kernel: Linux agpgart interface v0.100 (c) Dave Jones
 > Dec 20 18:20:47 oscar kernel: agpgart: Detected VIA MVP3 chipset
 > Dec 20 18:20:47 oscar kernel: agpgart: AGP aperture is 64M @ 0xe0000000
 > Dec 20 18:20:58 oscar kernel: [drm] Initialized mga 3.1.0 20021029 on minor 0
 > Dec 20 18:20:58 oscar kernel: Module agpgart cannot be unloaded due to unsafe usage in drivers/char/ag
 > p/backend.c:58

This one is due to the way AGPGART does (or has done for the last 3
years) its module locking. It does a MOD_INC_USE_COUNT as soon as
someone calls the acquire routines. (So you can't unload agpgart
whilst you've a 3d using app (like X) open).
This seems quite sensible, but these days you can't unload agpgart.ko
anyway because the chipset module (via-agp.ko in your case) already
has it 'in use', so I'm tempted to drop those bits.

 > but find this in the X startup log.
 > (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)

That's matrox's binary only X blob. Not my fault.

 > (EE) MGA(0): [agp] Out of memory (-1014)

This one is. But it may be a knock-on effect from the bug above.
I'll nail that one first.

 > (EE) MGA(0): [drm] failed to remove DRM signal handler
 > DRIUnlock called when not locked

That one's a problem for the DRI folks.

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk

  reply	other threads:[~2002-12-21 14:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021218094714.43C712C076@lists.samba.org>
2002-12-18 12:57 ` [drm:drm_init] *ERROR* Cannot initialize the agpgart module Ed Tomlinson
2002-12-18 16:29   ` Dave Jones
     [not found] ` <200212181803.23279.tomlins@cam.org>
     [not found]   ` <20021219105909.GE29122@suse.de>
2002-12-20 23:29     ` Ed Tomlinson
2002-12-21 14:22       ` Dave Jones [this message]
2002-12-22  4:41         ` Ed Tomlinson
2002-12-22 12:28           ` Dave Jones
2002-12-22 14:08             ` Ed Tomlinson
2002-12-23  1:10         ` Rusty Russell
2002-12-23 12:10           ` Dave Jones
2002-12-26  3:51             ` Rusty Russell
2002-12-28  0:20               ` Roman Zippel
2002-12-17  1:49 Ed Tomlinson
2002-12-17  8:06 ` Paul P Komkoff Jr
2002-12-17 12:50   ` Ed Tomlinson
2002-12-20  1:30     ` Matt Bernstein
2002-12-20  1:43       ` Randy.Dunlap
2002-12-20  9:33         ` Dave Jones
2002-12-17 12:33 ` Dave Jones

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=20021221142226.GA24941@suse.de \
    --to=davej@codemonkey.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=tomlins@cam.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 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.