AGPGART driver for ArticiaS - ioremap() problem
Quoted 9 lines
--- Ursprüngliche Nachricht ---
Von: Benjamin Herrenschmidt <[email protected]>
An: Gerhard Pircher <[email protected]>
Kopie: [email protected], [email protected]
Betreff: Re: AGPGART driver for ArticiaS -ioremap()problem
Datum: Sat, 21 Jan 2006 10:00:16 +1100On Fri, 2006-01-20 at 12:16 +0100, Gerhard Pircher wrote:
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Nope... look at
drivers/pci/setup-res.chow it does for allocating new resources for PCI devices.I guess you mean something like this code snipped from the
efficeon-agp.csource code (withpci_assign_resource()):Something around those lines... you will probably need to use lower level routines, not pci_* as the AGP aperture isn't generally a BAR.
Yes, I see. :( The code mostly allocates the resources for the AGPGART driver beyond the real memory space, thus preventing the X server to work. Sometimes the resource is also mapped to where the resource of the graphic card resides (address 0x88000000, compare with the included iomem file).
Quoted 8 lines
Quoted 5 lines
BTW: I took a look at the PCI resources list of the AmigaOne and found out that the resources of the AGP graphic card are allocated to bus 0 (PCI only). IMHO their allocation should be assigned to bus 1 (AGP) (at least this is the case on x86!?), so I think this should be fixed. Is my assumption correct?
Hrm... sounds weird, can you send me the output of lspci -vv, cat
/proc/iomemand cat /prop/ioports ?
Please take a look to the attachments. But the allocation seems to be different now! Strange!? At least the AGPGART driver is not allocated to bus 1.
Thanks!
Gerhard
Signature · 2 lines
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
0000:00:00.0 Host bridge: Mai Logic Incorporated Articia S Host Bridge (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 0
Region 0: Memory at <unassigned> (32-bit, prefetchable)
Capabilities: <available only to root>
0000:00:01.0 PCI bridge: Mai Logic Incorporated Articia S PCI Bridge (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 !!! Unknown I/O range types 21/20 Memory behind bridge: 88000000-880fffff Prefetchable memory behind bridge: 80000000-87ffffff BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
0000:00:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 8 (2500ns min, 2500ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 7
Region 0: I/O ports at fe802000 [size=128]
Region 1: Memory at 98100000 (32-bit, non-prefetchable) [size=128]
Capabilities: <available only to root>
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: <available only to root>
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16
Region 4: I/O ports at fe00cc00 [size=16]
Capabilities: <available only to root>
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 31, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at fe802080 [size=32]
Capabilities: <available only to root>
0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 31, Cache Line Size: 0x08 (32 bytes)
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at fe8020a0 [size=32]
Capabilities: <available only to root>
0000:00:07.4 Non-VGA unclassified device: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Capabilities: <available only to root>
0000:00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at fe802100 [size=256]
Region 1: I/O ports at fe802200 [size=4]
Region 2: I/O ports at fe802204 [size=4]
Capabilities: <available only to root>
0000:00:07.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 30)
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 11
Region 0: I/O ports at fe802300 [size=256]
Capabilities: <available only to root>
0000:00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
Subsystem: Creative Labs: Unknown device 8067
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 128 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at fe802400 [size=32]
Capabilities: <available only to root>
0000:00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)
Subsystem: Creative Labs Gameport Joystick
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 128
Region 0: I/O ports at fe802420 [size=8]
Capabilities: <available only to root>
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01) (prog-if 00 [VGA])
Subsystem: PC Partner Limited: Unknown device 7c13 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 (2000ns min) Interrupt: pin A routed to IRQ 11 Region 0: Memory at 80000000 (32-bit, prefetchable) [size=128M] Region 1: I/O ports at fe002000 [size=256] Region 2: Memory at 88000000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at 88020000 [disabled] [size=128K] Capabilities: <available only to root>
0000:01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200] (Secondary) (rev 01)
Subsystem: PC Partner Limited: Unknown device 7c12
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 128 (2000ns min), Cache Line Size: 0x08 (32 bytes)
Region 0: Memory at 88000000 (32-bit, prefetchable)
Region 1: Memory at 88010000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <available only to root>
80000000-efffffff : PCI host bridge
80000000-87ffffff : PCI Bus #01
80000000-87ffffff : 0000:01:00.0
80000000-87ffffff : radeonfb framebuffer
88000000-880fffff : PCI Bus #01
88000000-8800ffff : 0000:01:00.0
88000000-8800ffff : radeonfb mmio
88010000-8801ffff : 0000:01:00.1
88020000-8803ffff : 0000:01:00.098100000-9810007f : 0000:00:06.0
00000000-00bfffff : PCI host bridge
00000000-0000001f : dma1
00000020-00000021 : 8259 (master)
00000040-0000005f : timer
00000060-0000006f : i8042
00000080-0000008f : dma page reg
000000a0-000000a1 : 8259 (slave)
000000c0-000000df : dma2
00000170-00000177 : ide1
000001f0-000001f7 : ide0
00000278-0000027a : parport2
0000027b-0000027f : parport2
000002f8-000002ff : serial
00000376-00000376 : ide1
00000378-0000037a : parport0
000003bc-000003be : parport1
000003c0-000003df : vga+
000003e8-000003ef : serial
000003f6-000003f6 : ide0
000003f8-000003ff : serial
000004d0-000004d1 : 8259 edge control
00002000-00002fff : PCI Bus #01
00002000-000020ff : 0000:01:00.0
0000cc00-0000cc0f : 0000:00:07.1
0000cc00-0000cc07 : ide0
0000cc08-0000cc0f : ide1
00802000-0080207f : 0000:00:06.0
00802000-0080207f : 0000:00:06.0
00802080-0080209f : 0000:00:07.2
00802080-0080209f : uhci_hcd
008020a0-008020bf : 0000:00:07.3
008020a0-008020bf : uhci_hcd
00802100-008021ff : 0000:00:07.5
00802200-00802203 : 0000:00:07.5
00802204-00802207 : 0000:00:07.5
00802300-008023ff : 0000:00:07.6
00802400-0080241f : 0000:00:09.0
00802400-0080241f : EMU10K1
00802420-00802427 : 0000:00:09.1
00802420-00802427 : emu10k1-gp
.:
total 0
drwxr-xr-x 14 root root 0 Jan 21 2006 .
drwxr-xr-x 5 root root 0 Jan 21 2006 ..
drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:00:00.0
drwxr-xr-x 4 root root 0 Jan 21 02:18 0000:00:01.0
drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:00:06.0
drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:00:07.0
drwxr-xr-x 4 root root 0 Jan 21 02:18 0000:00:07.1
drwxr-xr-x 3 root root 0 Jan 21 02:18 0000:00:07.2
drwxr-xr-x 3 root root 0 Jan 21 02:18 0000:00:07.3
drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:00:07.4
drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:00:07.5
drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:00:07.6
drwxr-xr-x 3 root root 0 Jan 21 02:18 0000:00:09.0
drwxr-xr-x 3 root root 0 Jan 21 02:18 0000:00:09.1./0000:00:00.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../bus/pci/drivers/agpgart-articias -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 134217728 Jan 21 02:18 resource0 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:01.0:
total 0
drwxr-xr-x 4 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. drwxr-xr-x 6 root root 0 Jan 21 02:18 0000:01:00.0 drwxr-xr-x 2 root root 0 Jan 21 02:18 0000:01:00.1 lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:01.0/0000:01:00.0:
total 0
drwxr-xr-x 6 root root 0 Jan 21 02:18 . drwxr-xr-x 4 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../../bus/pci/drivers/radeonfb -r--r--r-- 1 root root 128 Jan 21 02:18 edid1 lrwxrwxrwx 1 root root 0 Jan 21 02:18 graphics:fb0 -> ../../../../class/graphics/fb0 drwxr-xr-x 2 root root 0 Jan 21 02:18 i2c-0 drwxr-xr-x 2 root root 0 Jan 21 02:18 i2c-1 drwxr-xr-x 2 root root 0 Jan 21 02:18 i2c-2 drwxr-xr-x 2 root root 0 Jan 21 02:18 i2c-3 lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-dev:i2c-0 -> ../../../../class/i2c-dev/i2c-0 lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-dev:i2c-1 -> ../../../../class/i2c-dev/i2c-1 lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-dev:i2c-2 -> ../../../../class/i2c-dev/i2c-2 lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-dev:i2c-3 -> ../../../../class/i2c-dev/i2c-3 -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 134217728 Jan 21 02:18 resource0 -rw------- 1 root root 256 Jan 21 02:18 resource1 -rw------- 1 root root 65536 Jan 21 02:18 resource2 -r-------- 1 root root 131072 Jan 21 02:18 rom -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:01.0/0000:01:00.0/i2c-0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 6 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-adapter:i2c-0 -> ../../../../../class/i2c-adapter/i2c-0 -r--r--r-- 1 root root 4096 Jan 21 02:18 name
./0000:00:01.0/0000:01:00.0/i2c-1:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 6 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-adapter:i2c-1 -> ../../../../../class/i2c-adapter/i2c-1 -r--r--r-- 1 root root 4096 Jan 21 02:18 name
./0000:00:01.0/0000:01:00.0/i2c-2:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 6 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-adapter:i2c-2 -> ../../../../../class/i2c-adapter/i2c-2 -r--r--r-- 1 root root 4096 Jan 21 02:18 name
./0000:00:01.0/0000:01:00.0/i2c-3:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 6 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 i2c-adapter:i2c-3 -> ../../../../../class/i2c-adapter/i2c-3 -r--r--r-- 1 root root 4096 Jan 21 02:18 name
./0000:00:01.0/0000:01:00.1:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 4 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 65536 Jan 21 02:18 resource1 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:06.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../bus/pci/drivers/3c59x -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias lrwxrwxrwx 1 root root 0 Jan 21 02:18 net:eth0 -> ../../../class/net/eth0 -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 128 Jan 21 02:18 resource0 -rw------- 1 root root 128 Jan 21 02:18 resource1 -r-------- 1 root root 131072 Jan 21 02:18 rom -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../bus/pci/drivers/parport_pc -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.1:
total 0
drwxr-xr-x 4 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../bus/pci/drivers/VIA_IDE drwxr-xr-x 3 root root 0 Jan 21 2006 ide0 drwxr-xr-x 4 root root 0 Jan 21 2006 ide1 -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 16 Jan 21 02:18 resource4 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.1/ide0:
total 0
drwxr-xr-x 3 root root 0 Jan 21 2006 . drwxr-xr-x 4 root root 0 Jan 21 02:18 .. drwxr-xr-x 2 root root 0 Jan 21 02:18 0.0
./0000:00:07.1/ide0/0.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 3 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 block -> ../../../../../block/hda lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../../bus/ide lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../../../bus/ide/drivers/ide-disk
./0000:00:07.1/ide1:
total 0
drwxr-xr-x 4 root root 0 Jan 21 2006 . drwxr-xr-x 4 root root 0 Jan 21 02:18 .. drwxr-xr-x 2 root root 0 Jan 21 02:18 1.0 drwxr-xr-x 2 root root 0 Jan 21 02:18 1.1
./0000:00:07.1/ide1/1.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 4 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 block -> ../../../../../block/hdc lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../../bus/ide lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../../../bus/ide/drivers/ide-cdrom
./0000:00:07.1/ide1/1.1:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 4 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 block -> ../../../../../block/hdd lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../../bus/ide lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../../../bus/ide/drivers/ide-cdrom
./0000:00:07.2:
total 0
drwxr-xr-x 3 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../bus/pci/drivers/uhci_hcd -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 pools -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 32 Jan 21 02:18 resource4 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor drwxr-xr-x 3 root root 0 Jan 21 02:18 usb1 lrwxrwxrwx 1 root root 0 Jan 21 02:18 usb_host:usb_host1 -> ../../../class/usb_host/usb_host1 -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.2/usb1:
total 0
drwxr-xr-x 3 root root 0 Jan 21 02:18 . drwxr-xr-x 3 root root 0 Jan 21 02:18 .. drwxr-xr-x 2 root root 0 Jan 21 02:18 1-0:1.0 -rw-r--r-- 1 root root 4096 Jan 21 02:18 bConfigurationValue -r--r--r-- 1 root root 4096 Jan 21 2006 bDeviceClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bDeviceProtocol -r--r--r-- 1 root root 4096 Jan 21 02:18 bDeviceSubClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bMaxPacketSize0 -r--r--r-- 1 root root 4096 Jan 21 02:18 bMaxPower -r--r--r-- 1 root root 4096 Jan 21 02:18 bNumConfigurations -r--r--r-- 1 root root 4096 Jan 21 02:18 bNumInterfaces -r--r--r-- 1 root root 4096 Jan 21 02:18 bcdDevice -r--r--r-- 1 root root 4096 Jan 21 02:18 bmAttributes lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../bus/usb -r--r--r-- 1 root root 4096 Jan 21 02:18 configuration -r--r--r-- 1 root root 4096 Jan 21 02:18 devnum lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../../bus/usb/drivers/usb -r--r--r-- 1 root root 4096 Jan 21 02:18 idProduct -r--r--r-- 1 root root 4096 Jan 21 02:18 idVendor -r--r--r-- 1 root root 4096 Jan 21 02:18 manufacturer -r--r--r-- 1 root root 4096 Jan 21 02:18 maxchild -r--r--r-- 1 root root 4096 Jan 21 02:18 product -r--r--r-- 1 root root 4096 Jan 21 02:18 serial -r--r--r-- 1 root root 4096 Jan 21 02:18 speed lrwxrwxrwx 1 root root 0 Jan 21 02:18 usb_device:usbdev1.1 -> ../../../../class/usb_device/usbdev1.1 -r--r--r-- 1 root root 4096 Jan 21 02:18 version
./0000:00:07.2/usb1/1-0:1.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 3 root root 0 Jan 21 02:18 .. -r--r--r-- 1 root root 4096 Jan 21 02:18 bAlternateSetting -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceNumber -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceProtocol -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceSubClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bNumEndpoints lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../../../bus/usb lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../../../bus/usb/drivers/hub -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias
./0000:00:07.3:
total 0
drwxr-xr-x 3 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../bus/pci/drivers/uhci_hcd -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 pools -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 32 Jan 21 02:18 resource4 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor drwxr-xr-x 3 root root 0 Jan 21 02:18 usb2 lrwxrwxrwx 1 root root 0 Jan 21 02:18 usb_host:usb_host2 -> ../../../class/usb_host/usb_host2 -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.3/usb2:
total 0
drwxr-xr-x 3 root root 0 Jan 21 02:18 . drwxr-xr-x 3 root root 0 Jan 21 02:18 .. drwxr-xr-x 2 root root 0 Jan 21 02:18 2-0:1.0 -rw-r--r-- 1 root root 4096 Jan 21 02:18 bConfigurationValue -r--r--r-- 1 root root 4096 Jan 21 2006 bDeviceClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bDeviceProtocol -r--r--r-- 1 root root 4096 Jan 21 02:18 bDeviceSubClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bMaxPacketSize0 -r--r--r-- 1 root root 4096 Jan 21 02:18 bMaxPower -r--r--r-- 1 root root 4096 Jan 21 02:18 bNumConfigurations -r--r--r-- 1 root root 4096 Jan 21 02:18 bNumInterfaces -r--r--r-- 1 root root 4096 Jan 21 02:18 bcdDevice -r--r--r-- 1 root root 4096 Jan 21 02:18 bmAttributes lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../bus/usb -r--r--r-- 1 root root 4096 Jan 21 02:18 configuration -r--r--r-- 1 root root 4096 Jan 21 02:18 devnum lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../../bus/usb/drivers/usb -r--r--r-- 1 root root 4096 Jan 21 02:18 idProduct -r--r--r-- 1 root root 4096 Jan 21 02:18 idVendor -r--r--r-- 1 root root 4096 Jan 21 02:18 manufacturer -r--r--r-- 1 root root 4096 Jan 21 02:18 maxchild -r--r--r-- 1 root root 4096 Jan 21 02:18 product -r--r--r-- 1 root root 4096 Jan 21 02:18 serial -r--r--r-- 1 root root 4096 Jan 21 02:18 speed lrwxrwxrwx 1 root root 0 Jan 21 02:18 usb_device:usbdev2.1 -> ../../../../class/usb_device/usbdev2.1 -r--r--r-- 1 root root 4096 Jan 21 02:18 version
./0000:00:07.3/usb2/2-0:1.0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 3 root root 0 Jan 21 02:18 .. -r--r--r-- 1 root root 4096 Jan 21 02:18 bAlternateSetting -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceNumber -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceProtocol -r--r--r-- 1 root root 4096 Jan 21 02:18 bInterfaceSubClass -r--r--r-- 1 root root 4096 Jan 21 02:18 bNumEndpoints lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../../../bus/usb lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../../../bus/usb/drivers/hub -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias
./0000:00:07.4:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.5:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 256 Jan 21 02:18 resource0 -rw------- 1 root root 4 Jan 21 02:18 resource1 -rw------- 1 root root 4 Jan 21 02:18 resource2 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:07.6:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 256 Jan 21 02:18 resource0 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:09.0:
total 0
drwxr-xr-x 3 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../bus/pci drwxr-xr-x 2 root root 0 Jan 21 2006 card0-0 -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 2006 driver -> ../../../bus/pci/drivers/EMU10K1_Audigy -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 32 Jan 21 02:18 resource0 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:admmidi -> ../../../class/sound/admmidi lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:adsp -> ../../../class/sound/adsp lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:amidi -> ../../../class/sound/amidi lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:audio -> ../../../class/sound/audio lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:controlC0 -> ../../../class/sound/controlC0 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:dmmidi -> ../../../class/sound/dmmidi lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:dsp -> ../../../class/sound/dsp lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:hwC0D0 -> ../../../class/sound/hwC0D0 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:hwC0D2 -> ../../../class/sound/hwC0D2 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:midi -> ../../../class/sound/midi lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:midiC0D0 -> ../../../class/sound/midiC0D0 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:midiC0D1 -> ../../../class/sound/midiC0D1 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:midiC0D2 -> ../../../class/sound/midiC0D2 lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:mixer -> ../../../class/sound/mixer lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:pcmC0D0c -> ../../../class/sound/pcmC0D0c lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:pcmC0D0p -> ../../../class/sound/pcmC0D0p lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:pcmC0D1c -> ../../../class/sound/pcmC0D1c lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:pcmC0D2c -> ../../../class/sound/pcmC0D2c lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:pcmC0D2p -> ../../../class/sound/pcmC0D2p lrwxrwxrwx 1 root root 0 Jan 21 02:18 sound:pcmC0D3p -> ../../../class/sound/pcmC0D3p -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:09.0/card0-0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 2006 . drwxr-xr-x 3 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../bus/ac97
./0000:00:09.1:
total 0
drwxr-xr-x 3 root root 0 Jan 21 02:18 . drwxr-xr-x 14 root root 0 Jan 21 2006 .. lrwxrwxrwx 1 root root 0 Jan 21 02:18 bus -> ../../../bus/pci -r--r--r-- 1 root root 4096 Jan 21 2006 class -rw-r--r-- 1 root root 256 Jan 21 02:18 config -r--r--r-- 1 root root 4096 Jan 21 2006 device lrwxrwxrwx 1 root root 0 Jan 21 02:18 driver -> ../../../bus/pci/drivers/Emu10k1_gameport drwxr-xr-x 2 root root 0 Jan 21 02:18 gameport0 -r--r--r-- 1 root root 4096 Jan 21 02:18 irq -r--r--r-- 1 root root 4096 Jan 21 02:18 local_cpus -r--r--r-- 1 root root 4096 Jan 21 02:18 modalias -r--r--r-- 1 root root 4096 Jan 21 02:18 resource -rw------- 1 root root 8 Jan 21 02:18 resource0 -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_device -r--r--r-- 1 root root 4096 Jan 21 2006 subsystem_vendor -r--r--r-- 1 root root 4096 Jan 21 2006 vendor
./0000:00:09.1/gameport0:
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:18 . drwxr-xr-x 3 root root 0 Jan 21 02:18 .. lrwxrwxrwx 1 root root 0 Jan 21 2006 bus -> ../../../../bus/gameport -r--r--r-- 1 root root 4096 Jan 21 02:18 description --w------- 1 root root 4096 Jan 21 02:18 drvctl
Quoted 4 lines · Gerhard Pircher
Yes, I see. :( The code mostly allocates the resources for the AGPGART driver beyond the real memory space, thus preventing the X server to work. Sometimes the resource is also mapped to where the resource of the graphic card resides (address
0x88000000, compare with the included iomem file).
The AGP aperture should generally be located "outside" of those spaces. That is above RAM and in some place where no device already resides... It can be made to overlap RAM but that isn't a good idea (that's what happens on Macs though due to a bug in the Apple chipset).
Quoted 3 lines
Please take a look to the attachments. But the allocation seems to be different now! Strange!? At least the AGPGART driver is not allocated to bus 1.
I don't see anything related to AGP in your output... you didn't post the lspci as root thus it's missing all the useful infos ;) Also, the AGP base isn't generally a PCI BAR of the bridge... it is one in your case ?
Ben.
Quoted 15 lines
--- Ursprüngliche Nachricht ---
Von: Benjamin Herrenschmidt <[email protected]>
An: Gerhard Pircher <[email protected]>
Kopie: [email protected], [email protected]
Betreff: Re: AGPGART driver for ArticiaS -ioremap()problem
Datum: Sun, 22 Jan 2006 09:48:44 +1100Quoted 5 lines · Gerhard Pircher
Yes, I see. :( The code mostly allocates the resources for the AGPGART driver beyond the real memory space, thus preventing the X server to work. Sometimes the resource is also mapped to where the resource of the graphic card resides (address
0x88000000, compare with the included iomem file).
Quoted 4 lines
The AGP aperture should generally be located "outside" of those spaces. That is above RAM and in some place where no device already resides... It can be made to overlap RAM but that isn't a good idea (that's what happens on Macs though due to a bug in the Apple chipset).
Ahh, so the AGP aperture should not be within the memory space and any other PCI/IO address range. Slowly but surely I become confused. ;-)
Quoted 2 lines
I don't see anything related to AGP in your output... you didn't post the lspci as root thus it's missing all the useful infos ;)
I included a new lspci output log. :-) (now done as root)
Quoted 2 lines
Also, the AGP base isn't generally a PCI BAR of the bridge... it is one in your case ?
I'm afraid I can't answer this question (you know, we have no datasheet for the ArticiaS yet). From what I can see in the log, there is an unassigned memory region (type 0, should be <4GB I guess). Could this affect AGP operation?
Gerhard
Signature · 2 lines
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
Quoted 24 lines · Gerhard Pircher
Quoted 15 lines
--- Ursprüngliche Nachricht ---
Von: Benjamin Herrenschmidt <[email protected]>
An: Gerhard Pircher <[email protected]>
Kopie: [email protected], [email protected]
Betreff: Re: AGPGART driver for ArticiaS -ioremap()problem
Datum: Sun, 22 Jan 2006 09:48:44 +1100Quoted 5 lines · Gerhard Pircher
Yes, I see. :( The code mostly allocates the resources for the AGPGART driver beyond the real memory space, thus preventing the X server to work. Sometimes the resource is also mapped to where the resource of the graphic card resides (address
0x88000000, compare with the included iomem file).Quoted 4 lines
The AGP aperture should generally be located "outside" of those spaces. That is above RAM and in some place where no device already resides... It can be made to overlap RAM but that isn't a good idea (that's what happens on Macs though due to a bug in the Apple chipset).
Ahh, so the AGP aperture should not be within the memory space and any other PCI/IO address range. Slowly but surely I become confused. ;-)
Quoted 2 lines
I don't see anything related to AGP in your output... you didn't post the lspci as root thus it's missing all the useful infos ;)
Quoted 8 lines
I included a new lspci output log. :-) (now done as root)
Quoted 2 lines
Also, the AGP base isn't generally a PCI BAR of the bridge... it is one in your case ?
I'm afraid I can't answer this question (you know, we have no datasheet for the ArticiaS yet). From what I can see in the log, there is an unassigned memory region (type 0, should be <4GB I guess). Could this affect AGP operation?
No idea... memory BARs on host bridges can be anything... It might just be the normal PCI DMA region.
Ben.