MTRRs question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux