+ Reply to Thread
Results 1 to 2 of 2

Thread: Need help editing the mtrr tables! (fglrx crash)

  1. #1
    Join Date
    Apr 2008
    Posts
    2

    Default Need help editing the mtrr tables! (fglrx crash)

    Hi all, new to the forums and I've got a serious problem. I'm currently using Hardy Heron 64 with a Radeon 2900XT and 4GB of ram. If I boot into Hardy with 4GB of ram and fglrx enabled, once X tries to start the system crashes hard (unable to ctrl+alt+backspace or ssh to the box etc)

    The only workarounds I've found are to either physically remove one stick of ram, or turn off memory remapping in BIOS (both of these effectively do the same thing) or use the mesa drivers which of course is not desirable as I have no 3d capabilities then.

    I saw a post in which a member of the forums whose mtrr tables match mine exactly said he was able to fix it by editing his mtrr tables, however, he did not provide the manner in which he did it. http://www.phoronix.com/forums/showt...?t=7507&page=2 is the thread I'm referring to.

    I'm currently booted into Hardy with 4GB of ram and mesa drivers. My mtrr table is as follows:

    reg00: base=0xd0000000 (3328MB), size= 256MB: uncachable, count=1
    reg01: base=0xe0000000 (3584MB), size= 512MB: uncachable, count=1
    reg02: base=0x00000000 ( 0MB), size=4096MB: write-back, count=1
    reg03: base=0x100000000 (4096MB), size= 512MB: write-back, count=1
    reg04: base=0x120000000 (4608MB), size= 256MB: write-back, count=1

    Thanks in advance for the help!

  2. #2
    Join Date
    Apr 2008
    Posts
    2

    Default

    I've got my table edited to look like his!
    (as root)
    echo "disable=2" >| /proc/mtrr
    echo "disable=1" >| /proc/mtrr
    echo "disable=3" >| /proc/mtrr
    echo "disable=4" >| /proc/mtrr
    echo "disable=0" >| /proc/mtrr
    echo "base=0x00000000 size=0x80000000 type=write-back" >| /proc/mtrr
    echo "base=0x80000000 size=0x40000000 type=write-back" >| /proc/mtrr
    echo "base=0xC0000000 size=0x10000000 type=write-back" >| /proc/mtrr
    echo "base=0x100000000 size=0x20000000 type=write-back" >| /proc/mtrr
    echo "base=0x120000000 size=0x10000000 type=write-back" >| /proc/mtrr

    Now testing if I can enable fglrx!

    edit: it worked!
    Last edited by ASuLutzy; 04-02-2008 at 04:31 PM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts