|
|
#1 | |
|
Registered User
Join Date: Aug 2004
Posts: 7
|
After bootup, i have this in /proc/mtrr:
reg00: base=0xe0000000 (3584MB), size= 32MB: write-combining, count=1 this is the base and the amount of memory of my card (PCI TNT2 M64) But when i look in lspci -v: Memory at e2000000 (32-bit, non-prefetchable) [size=16M] Memory at e0000000 (32-bit, prefetchable) [size=32M] What is that "second" memory with size 16 MB and base addr at e2000000 ? Should i give it a MTRR register manually ? The Xorg.0.log says something about MMIO registers at this base address. Please clarify, thanks ![]() |
|
|
|
|
|
|
#2 | |
|
Linux addict...
Join Date: Jan 2004
Posts: 537
|
Can you post the full lspci -vv?
Cheers, Gilboa |
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Aug 2004
Posts: 7
|
Quote:
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 (1250ns min, 250ns max) Interrupt: pin A routed to IRQ 9 Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at e0000000 (32-bit, prefetchable) [size=32M] Expansion ROM at <unassigned> [disabled] [size=64K] Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- |
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: May 2004
Posts: 15
|
I have the same on my TNT and it works fine (well at least with 2.4 kernels, with 2.6 release kernels the Expansion ROM line dissappears and the card gets dog slow ... and in the 2.6 snapshots the two memory regions get disabled altogether, making it impossible for X to use).
Your guess is right I think, it is a region used for I/O and it should be uncacheable. |
|
|
|
|
|
|
#5 |
|
Linux addict...
Join Date: Jan 2004
Posts: 537
|
Execute this:
$ echo 'disable=00' > /proc/mtrr $ echo 'disable=01' > /proc/mtrr $ echo 'disable=02' > /proc/mtrr $ echo "base=0xe2000000 size=0x01000000 type=write-combining" >/proc/mtrr $ echo "base=0xe0000000 size=0x02000000 type=write-combining" >/proc/mtrr Now try running X. |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Aug 2004
Posts: 7
|
Quote:
After running X, it's just one region again. Maybe i will ask in the Xorg forum for this issue. |
|
|
|
|
|
|
#7 |
|
Linux addict...
Join Date: Jan 2004
Posts: 537
|
Wierd...
Check the dmesg after you try running X... maybe we'll get something useful... |
|
|
|
![]() |
| Thread Tools | |
|
|