MTRRs question

From: Bryan K. (ef057@hotmail.com)
Date: Mon Jul 21 2003 - 18:03:18 EST


I have an athlon-tbird cpu with 768MB and I am doing some experiments with
MTRRs. I want to have the first 512 MB of ram write-back and the rest 256
uncachable. So i (would like to) do:

echo "base=0x00000000 size=0x20000000 type=write-back" > /proc/mtrr
echo "base=0x20000000 size=0x10000000 type=uncachable" > /proc/mtrr

But after the execution of the first command and before I complete the
typing of the second the system hangs.
What is really a mystery for me is that if i do the echos in the opposite
order, meaning

echo "base=0x20000000 size=0x10000000 type=uncachable" > /proc/mtrr
echo "base=0x00000000 size=0x20000000 type=write-back" > /proc/mtrr

everyting works as expected.
I would be grateful if someone cound give me some explanation of this.
Thank you in advance.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:45 EST