URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [Documentation/] [memory.txt] - Rev 1765
Compare with Previous | Blame | View Log
There are several classic problems related to memory on Linuxsystems.1) There are some buggy motherboards which cannot properlydeal with the memory above 16MB. Consider exchangingyour motherboard.2) You cannot do DMA on the ISA bus to addresses above16M. Most device drivers under Linux allow the useof bounce buffers which work around this problem. Driversthat don't use bounce buffers will be unstable withmore than 16M installed. Drivers that use bounce bufferswill be OK, but may have slightly higher overhead.3) There are some motherboards that will not cache abovea certain quantity of memory. If you have one of thesemotherboards, your system will be SLOWER, not fasteras you add more memory. Consider exchanging yourmotherboard.All of these problems can be addressed with the "mem=XXXM" boot option(where XXX is the size of RAM to use in megabytes).It can also tell Linux to use less memory than is actually installed.See the documentation of your boot loader (LILO, loadlin, etc.) abouthow to pass options to the kernel.There are other memory problems which Linux cannot deal with. Randomcorruption of memory is usually a sign of serious hardware trouble.Try:* Reducing memory settings in the BIOS to the most conservativetimings.* Adding a cooling fan.* Not overclocking your CPU.* Having the memory tested in a memory tester or exchangedwith the vendor. Consider testing it with memtest86 yourself.* Exchanging your CPU, cache, or motherboard for one that works.* Disabling the cache from the BIOS.* Try passing the "mem=4M" option to the kernel to limitLinux to using a very small amount of memory.Other tricks:* Try passing the "no-387" option to the kernel to ignorea buggy FPU.* Try passing the "no-hlt" option to disable the potentiallybuggy HLT instruction in your CPU.
