Skip to contentSkip to conversation

2.2.16 SMP: mtrr errors

DISCUSSION Paul C. Nendick 2 participants 3 messages Dec 12, 2000

lore
Share & tools
lore
#0 lore raw

Please cc: any responses to my email address <[email protected]>

My setup
-A standard install of RedHat 7.0 with the 2.2.16smp w/ hand compiled X
4.0.1 to support xinerama
-Tyan tiger 133 s1834 motherboard (VIA Apollo Pro133A Chipset) -256mb PC133 RAM
-Two 800 Mhz PIII eb Slot-1 CPU's
-Matrox g450 32MB RAM dual-heal AGP video card w/ hand compiled X driver
from matrox

My problem
from /var/log/message at startup:

mtrr: v1.35a (19990819) Richard Gooch ([email protected]) <snip>
CPU0: Intel Pentium III (Coppermine) stepping 03 <snip>
CPU1: Intel Pentium III (Coppermine) stepping 03 Total of 2 processors activated (3194.88 BogoMIPS). <snip>
checking TSC synchronization across CPUs: passed.
mtrr: your CPUs had inconsistent variable MTRR settings
mtrr: probably your BIOS does not setup all CPUs

and immediately after starting X:

kernel: mtrr: base(0xd4000000) is not aligned on a size(0x1800000) boundary last message repeated 2 times

and finally:

%cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1
reg02: base=0xd5800000 (3416MB), size= 8MB: write-combining, count=1

I would like to know what, if anything, is wrong and what I can do about it.

Cheers!

/paul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 9 lines

kernel: mtrr: base(0xd4000000) is not aligned on a size(0x1800000) boundary last message repeated 2 times

and finally:

%cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1
reg02: base=0xd5800000 (3416MB), size= 8MB: write-combining, count=1

I'm seeing the same thing with the Matrox G400.

John
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Paul C. Nendick

See my answers inline below. /paul

Quoted 6 lines · Mark Hahn
Quoted 1 line

kernel: mtrr: base(0xd4000000) is not aligned on a size(0x1800000) boundary

X is trying to set an mtrr for the framebuffer. the odd thing is that its trying to set a 24M mtrr, which is pretty strange. what does /proc/pci look like for the G450?

% cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies Unknown device (rev 196).
Vendor id=1106. Device id=691.
Medium devsel. Master Capable. No bursts.
Prefetchable 32 bit memory at 0xd0000000 [0xd0000008].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies VT 82C598 Apollo MVP3 AGP (rev 0).
Medium devsel. Master Capable. No bursts. Min Gnt=12.
Bus 0, device 7, function 0:
ISA bridge: VIA Technologies VT 82C596 Apollo Pro (rev 35).
Medium devsel. Master Capable. No bursts.
Bus 0, device 7, function 1:
IDE interface: VIA Technologies VT 82C586 Apollo IDE (rev 16).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32. I/O at 0xe000 [0xe001].
Bus 0, device 7, function 2:
USB Controller: VIA Technologies VT 82C586 Apollo USB (rev 17).
Medium devsel. IRQ 9. Master Capable. Latency=32.
I/O at 0xe400 [0xe401].
Bus 0, device 7, function 3:
Host bridge: VIA Technologies Unknown device (rev 48).
Vendor id=1106. Device id=3050.
Medium devsel. Fast back-to-back capable.
Bus 0, device 17, function 0:
Multimedia audio controller: Ensoniq AudioPCI (rev 0).
Slow devsel. IRQ 9. Master Capable. Latency=32. Min Gnt=12.Max Lat=128. I/O at 0xe800 [0xe801].
Bus 0, device 18, function 0:

    Ethernet controller: Intel 82557 (rev 8).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xda100000 [0xda100000].
      I/O at 0xec00 [0xec01].
      Non-prefetchable 32 bit memory at 0xda000000 [0xda000000].
  Bus  1, device   0, function  0:
    VGA compatible controller: Matrox Unknown device (rev 130).
      Vendor id=102b. Device id=525.
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=64.  Min Gnt=16.Max Lat=32.
      Prefetchable 32 bit memory at 0xd4000000 [0xd4000008].
      Non-prefetchable 32 bit memory at 0xd6000000 [0xd6000000].
      Non-prefetchable 32 bit memory at 0xd7000000 [0xd7000000].
Quoted 1 line

also, how do you like the G450?

My first impressions of the g450 are spectacular. I know it's not supposed to be as fast as the dual Nvidia offerings, but I don't play games and Matrox has always been tops when it comes to text appearance. It's fast as can be driving two monitors at 1600x1200 and not too expensive to boot. I like it.

Quoted 4 lines
Quoted 1 line

I would like to know what, if anything, is wrong and what I can do about it.

worst case is that X doesn't get to set the mtrr it wants. this may have some performance effect, but no functionality effect.

That's good enough for me!

Quoted 2 lines

regards, mark hahn.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/