public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Brian Dushaw <dushaw@apl.washington.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.8-ac8, agpgart, r128, and mtrr
Date: Tue, 21 Aug 2001 20:27:58 +1000	[thread overview]
Message-ID: <2329.998389678@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Tue, 21 Aug 2001 05:01:53 MST." <Pine.LNX.4.33.0108210423110.3231-100000@munk.apl.washington.edu>

On Tue, 21 Aug 2001 05:01:53 -0700 (PDT), 
Brian Dushaw <dushaw@apl.washington.edu> wrote:
>I have an ATI Technologies Inc Rage 128 PF video card.
>The module r128.o needs to have agpgart loaded first and depmod
>does not seem to set this up properly.  I've added the line:
>"pre-install r128 modprobe agpgart " to my /etc/modules.conf file.

"before r128 agpgart" is better.

>I wouldn't have thought this would require user intervention like this.

modprobe and depmod only handle direct symbol dependencies between
modules.  The only symbols exported by agpgart are agp_free_memory,
agp_allocate_memory, agp_copy_info, agp_bind_memory, agp_unbind_memory,
agp_enable, agp_backend_acquire, agp_backend_release.  None of these
symbols are referenced by r128 so modprobe is quite correct, there is
no symbol dependency between agpgart and r128.  If you want it to be
automatic, then r128 must reference an agpgart symbol.

But the drm maintainers decided not to rely on agp.  If agp is present
it will be used, if agp is not present then drm runs without it.
drivers/char/drm/drm_agpsupport.h uses inter_module_get() to see if agp
is loaded and to extract agp data, if available.  This allows drm to
run without forcing agp to be present and loaded.  So if you want agp
before drm, it must be explicitly loaded.  Design decision.

>Aug 20 13:04:37 localhost modprobe: modprobe: Can't locate module block-major-33

block-major-33 is the third IDE hard disk/CD-ROM interface, for hd[ef].

>Aug 20 13:04:40 localhost modprobe: modprobe: Can't locate module char-major-226

char-major-226 is DRI (DRM_MAJOR).  That one puzzles me, I cannot see
where it is being triggered from.


  reply	other threads:[~2001-08-21 10:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21 12:01 2.4.8-ac8, agpgart, r128, and mtrr Brian Dushaw
2001-08-21 10:27 ` Keith Owens [this message]
2001-08-21 13:48 ` Alan Cox

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=2329.998389678@ocs3.ocs-net \
    --to=kaos@ocs.com.au \
    --cc=dushaw@apl.washington.edu \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox