public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.2: drm:drm_init Cannot initialize the agpgart module
@ 2004-03-01 18:18 Christoph Terhechte
  2004-03-01 18:34 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Terhechte @ 2004-03-01 18:18 UTC (permalink / raw)
  To: linux-kernel

Under 2.4.22 I used to load the "agpgart" and "mga" modules to provide DRI
support for XFree86. My graphics card is a Matrox G550 AGP.

Under 2.6.2 this fails. I can load the "agpgart" module, but "mga" refuses
to load. The message on stderr is:

FATAL: Error inserting mga
(/lib/modules/2.6.2/kernel/drivers/char/drm/mga.ko): Invalid argument

In /var/log/kern.log I find:

[drm:drm_init] *ERROR* Cannot initialize the agpgart module.

There was a hint on this list that "intel_agp" should be loaded, too. I
have a VIA based board, so I tried "via_agp". It loads alright, but the
outcame is the same (and it was unnecessary under 2.4.22 anyway).

Any idea what might have changed from kernel 2.4 to 2.6?


Here's my system's lspci output:

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System
Controller (rev 13)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
00:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 26)
00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 11)
00:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado]
(rev 74)
00:0e.0 Unknown mass storage controller: Triones Technologies, Inc.
HPT366/368/370/370A/372 (rev 04)
01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev
01)

-- 
Christoph Terhechte <ct@fdk-berlin.de>
International Forum of New Cinema
Potsdamer Strasse 2
D-10785 Berlin
Tel: +49-30-269.55.200
Fax: +49-30-269.55.222


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

* Re: 2.6.2: drm:drm_init Cannot initialize the agpgart module
  2004-03-01 18:18 2.6.2: drm:drm_init Cannot initialize the agpgart module Christoph Terhechte
@ 2004-03-01 18:34 ` Dave Jones
  2004-03-01 20:23   ` Christoph Terhechte
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2004-03-01 18:34 UTC (permalink / raw)
  To: Christoph Terhechte; +Cc: linux-kernel

On Mon, Mar 01, 2004 at 07:18:30PM +0100, Christoph Terhechte wrote:

 > There was a hint on this list that "intel_agp" should be loaded, too. I
 > have a VIA based board, so I tried "via_agp". It loads alright, but the
 > outcame is the same (and it was unnecessary under 2.4.22 anyway).
 > 
 > Here's my system's lspci output:
 > 
 > 00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System
 > Controller (rev 13)
 > 00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
 > 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]

You have a VIA southbridge, but an AMD north bridge (where agpgart lives)
Try modprobe amd-k7-agp

		Dave

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

* Re: 2.6.2: drm:drm_init Cannot initialize the agpgart module
  2004-03-01 18:34 ` Dave Jones
@ 2004-03-01 20:23   ` Christoph Terhechte
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Terhechte @ 2004-03-01 20:23 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

Thanks, that did it. I was confused, because I didn't need the extra
module with 2.4 series kernels.

> You have a VIA southbridge, but an AMD north bridge (where agpgart lives)
> Try modprobe amd-k7-agp
>
> 		Dave


-- 
Christoph Terhechte <ct@fdk-berlin.de>
International Forum of New Cinema
Potsdamer Strasse 2
D-10785 Berlin
Tel: +49-30-269.55.200
Fax: +49-30-269.55.222


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

end of thread, other threads:[~2004-03-01 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01 18:18 2.6.2: drm:drm_init Cannot initialize the agpgart module Christoph Terhechte
2004-03-01 18:34 ` Dave Jones
2004-03-01 20:23   ` Christoph Terhechte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox