linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* agpgart.o and intel i810-chipset
@ 2001-08-21  5:59 Victoria W.
  2001-08-21  7:14 ` Chirag Kantharia
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Victoria W. @ 2001-08-21  5:59 UTC (permalink / raw)
  To: linux-kernel

hi all,

since 2 weeks I can't get the agpgrat-module working on my
intel-i810-chipset:

00:00.0 Host bridge: Intel Corporation: Unknown device 7124 (rev 03)
00:01.0 VGA compatible controller: Intel Corporation: Unknown device 7125
(rev 03)

I can't find the reason of the initial-error while loading agpgart.
("no supported devices found"). I made some tests and changes to
the module-source but I need some background-information and don't know
where to find them.

In the driver, there is no case-statement for 
"PCI_DEVICE_ID_INTEL_810_E_1" like the
one for "PCI_DEVICE_ID_INTEL_810_E_0" but the one for "810_E_0" searches
for "PCI_DEVICE_ID_INTEL_810_E_1".

                case PCI_DEVICE_ID_INTEL_810_E_0:
                        i810_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
                                             PCI_DEVICE_ID_INTEL_810_E_1,
                                                   NULL);

I copied this to a new case-statement:

        case PCI_DEVICE_ID_INTEL_810_E_1:
        .....   
        return intel_i810_setup(i810_dev);

but on loading of the module I get a kernel-oops in

      if ((INREG32(intel_i810_private.registers, I810_DRAM_CTL)
           & I810_DRAM_ROW_0) == I810_DRAM_ROW_0_SDRAM) {
        ....


Do you have any hints for me?
I have no experience in kernel-driver development but I'll try to get the
driver working. 
Can you tell me, where to find some other usefull information? (I have the
intel-datasheets, but I'm not shure, if it is a chipset-problem, a bug
or just a typo in the driver).
Is here anybody who has an i810-chipset with a working agpgart-driver?
Please send me an "lspci-listing" an the messages while loading the
driver. I want to find out the difference to my chipset.

Thank you in advance

best regards
wicki


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

* Re: agpgart.o and intel i810-chipset
  2001-08-21  5:59 agpgart.o and intel i810-chipset Victoria W.
@ 2001-08-21  7:14 ` Chirag Kantharia
  2001-08-21 14:10 ` Alan Cox
  2001-08-23 17:50 ` Val Henson
  2 siblings, 0 replies; 4+ messages in thread
From: Chirag Kantharia @ 2001-08-21  7:14 UTC (permalink / raw)
  To: Victoria W.; +Cc: linux-kernel, kollektive-linux

On Tue, Aug 21, 2001 at 07:59:43AM +0200, Victoria W. wrote:
| 00:00.0 Host bridge: Intel Corporation: Unknown device 7124 (rev 03)
| 00:01.0 VGA compatible controller: Intel Corporation: Unknown device 7125
| (rev 03)
<snip>
| In the driver, there is no case-statement for 
| "PCI_DEVICE_ID_INTEL_810_E_1" like the
| one for "PCI_DEVICE_ID_INTEL_810_E_0" but the one for "810_E_0" searches
| for "PCI_DEVICE_ID_INTEL_810_E_1".
| 
|                 case PCI_DEVICE_ID_INTEL_810_E_0:
|                         i810_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
|                                              PCI_DEVICE_ID_INTEL_810_E_1,
|                                                    NULL);

The i810 chipset has two devices (host bridge and the vga controller).
PCI..E_0 stands for the first and the ..E_1 stands for the second.
Device ID for the second is +1 the first one. In your case, 0x7124 is
the first device id (PCI_DEVICE_ID_INTEL_810_E_0) and 0x7125 is the
second device id (PCI_DEVICE_ID_INTEL_810_E_1).

| Is here anybody who has an i810-chipset with a working agpgart-driver?

I've a i810 chipset based motherboard and I haven't had problems with
agpgart. The following is output of dmesg | grep -i agp on my box:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 93M
agpgart: Detected an Intel i810 Chipset.
agpgart: AGP aperture is 64M @ 0xd8000000
[drm] AGP 0.99 on Intel i810 @ 0xd8000000 64MB


| Please send me an "lspci-listing" an the messages while loading the
| driver. I want to find out the difference to my chipset.

IMO, agpgart doesn't have any problems as such with i810 chipset. i810,
sure has problems with framebuffer support. The kernel as of now,
supports only 16 color framebuffer. Kollektive project
(sourceforge.net/projects/kollektive) has developed support for 16 bit
color (64k colors) framebuffer for i810 chipset based motherboards.

The following is output of lspci -v on my box.

00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
	Subsystem: Intel Corporation 82810 GMCH [Graphics Memory Controller Hub]
	Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
	Subsystem: Intel Corporation 82810 CGC [Chipset Graphics Controller]
	Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 11
	Memory at d8000000 (32-bit, prefetchable) [size=64M]
	Memory at de000000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <available only to root>

00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: dc000000-ddffffff

00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
	Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02) (prog-if 80 [Master])
	Subsystem: Intel Corporation 82801AA IDE
	Flags: bus master, medium devsel, latency 0
	I/O ports at f000 [size=16]

00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio (rev 02)
	Subsystem: Analog Devices SoundMAX Integrated Digital Audio
	Flags: bus master, medium devsel, latency 0, IRQ 5
	I/O ports at d800 [size=256]
	I/O ports at dc00 [size=64]

01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
	Subsystem: Realtek Semiconductor Co., Ltd. RT8139
	Flags: bus master, medium devsel, latency 32, IRQ 11
	I/O ports at c000 [size=256]
	Memory at dd301000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <available only to root>

01:0a.0 Multimedia controller: Wipro Infotech Limited: Unknown device 4546
	Subsystem: PLX Technology, Inc.: Unknown device 9054
	Flags: bus master, medium devsel, latency 32, IRQ 9
	Memory at dd300000 (32-bit, non-prefetchable) [size=256]
	I/O ports at c400 [size=256]
	Memory at dd000000 (32-bit, non-prefetchable) [size=2M]
	Memory at dd200000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at dc000000 [disabled] [size=2K]
	Capabilities: <available only to root>

chyrag.
-- 
Chirag Kantharia, chyrag.dhs.org/


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

* Re: agpgart.o and intel i810-chipset
  2001-08-21  5:59 agpgart.o and intel i810-chipset Victoria W.
  2001-08-21  7:14 ` Chirag Kantharia
@ 2001-08-21 14:10 ` Alan Cox
  2001-08-23 17:50 ` Val Henson
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2001-08-21 14:10 UTC (permalink / raw)
  To: Victoria W.; +Cc: linux-kernel

> 00:00.0 Host bridge: Intel Corporation: Unknown device 7124 (rev 03)
> 00:01.0 VGA compatible controller: Intel Corporation: Unknown device 7125
> (rev 03)

Ok

> In the driver, there is no case-statement for 
> "PCI_DEVICE_ID_INTEL_810_E_1" like the
> one for "PCI_DEVICE_ID_INTEL_810_E_0" but the one for "810_E_0" searches
> for "PCI_DEVICE_ID_INTEL_810_E_1".
> 
>                 case PCI_DEVICE_ID_INTEL_810_E_0:
>                         i810_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
>                                              PCI_DEVICE_ID_INTEL_810_E_1,
>                                                    NULL);

This code looks right. 

We see an 810E_0 (host bridge)
We look for an 810E_1 secondary 
If we dont find it we abort

So the question I guess is what do you hav and why didnt it find it

8086 7124, 8086 7125 is the intel 810E GMCH and 810E CGC

Which of the checks fail - and also did you remember to include 810 support
in your agp options ?

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

* Re: agpgart.o and intel i810-chipset
  2001-08-21  5:59 agpgart.o and intel i810-chipset Victoria W.
  2001-08-21  7:14 ` Chirag Kantharia
  2001-08-21 14:10 ` Alan Cox
@ 2001-08-23 17:50 ` Val Henson
  2 siblings, 0 replies; 4+ messages in thread
From: Val Henson @ 2001-08-23 17:50 UTC (permalink / raw)
  To: Victoria W.; +Cc: linux-kernel

When you do figure out what's wrong, you might want to add your
solution to Toby Russell's i810 howto:

http://www.linuxdoc.org/HOWTO/i810-HOWTO/

-VAL

On Tue, Aug 21, 2001 at 07:59:43AM +0200, Victoria W. wrote:
> hi all,
> 
> since 2 weeks I can't get the agpgrat-module working on my
> intel-i810-chipset:
> 
> 00:00.0 Host bridge: Intel Corporation: Unknown device 7124 (rev 03)
> 00:01.0 VGA compatible controller: Intel Corporation: Unknown device 7125
> (rev 03)
> 
> I can't find the reason of the initial-error while loading agpgart.
> ("no supported devices found"). I made some tests and changes to
> the module-source but I need some background-information and don't know
> where to find them.
> 
> In the driver, there is no case-statement for 
> "PCI_DEVICE_ID_INTEL_810_E_1" like the
> one for "PCI_DEVICE_ID_INTEL_810_E_0" but the one for "810_E_0" searches
> for "PCI_DEVICE_ID_INTEL_810_E_1".
> 
>                 case PCI_DEVICE_ID_INTEL_810_E_0:
>                         i810_dev = pci_find_device(PCI_VENDOR_ID_INTEL,
>                                              PCI_DEVICE_ID_INTEL_810_E_1,
>                                                    NULL);
> 
> I copied this to a new case-statement:
> 
>         case PCI_DEVICE_ID_INTEL_810_E_1:
>         .....   
>         return intel_i810_setup(i810_dev);
> 
> but on loading of the module I get a kernel-oops in
> 
>       if ((INREG32(intel_i810_private.registers, I810_DRAM_CTL)
>            & I810_DRAM_ROW_0) == I810_DRAM_ROW_0_SDRAM) {
>         ....
> 
> 
> Do you have any hints for me?
> I have no experience in kernel-driver development but I'll try to get the
> driver working. 
> Can you tell me, where to find some other usefull information? (I have the
> intel-datasheets, but I'm not shure, if it is a chipset-problem, a bug
> or just a typo in the driver).
> Is here anybody who has an i810-chipset with a working agpgart-driver?
> Please send me an "lspci-listing" an the messages while loading the
> driver. I want to find out the difference to my chipset.
> 
> Thank you in advance
> 
> best regards
> wicki
> 
> -
> 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/

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

end of thread, other threads:[~2001-08-23 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-21  5:59 agpgart.o and intel i810-chipset Victoria W.
2001-08-21  7:14 ` Chirag Kantharia
2001-08-21 14:10 ` Alan Cox
2001-08-23 17:50 ` Val Henson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).