LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do I avoid bad memory? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-avoid-bad-memory-560852/)

CollieJim 06-11-2007 06:53 AM

How do I avoid bad memory?
 
My kernel is 2.6.19.2 and I have 2 x 512MB memory.

I have a few bad bits that memtest indicates are around the 830MB mark.

I'm told that I can add mem=800M to the kernel parameter list. However that won't work if memory is allocated from highest address down, which I'm told is a possibility.

Does the kernel allocate memory from high address to low, or low to high?

TIA
Jim

trickykid 06-11-2007 10:51 AM

Couldn't you just add new memory to get rid of the actual problem? It's rather cheap nowadays.. ;)

SlowCoder 06-11-2007 02:12 PM

Quote:

Originally Posted by trickykid
Couldn't you just add new memory to get rid of the actual problem? It's rather cheap nowadays.. ;)

+1

If you've got a few bad bits already, you're probably looking at an increase later, and more problems later.

J.W. 06-12-2007 01:36 AM

If memtest indicates bad RAM, replace it. OTOH, could the issue be simply that you need to enable high memory support? See sapphirecat's article on the Linux memory management, section 2. HTH

CollieJim 06-12-2007 06:35 AM

Thanks. I swapped memory with my backup system and tested the 2 cards individually. A lot more errors this time on the bad card. I plan on replacing my main machine with a 64-bit model in the near future so I really cannot justify new memory at this time.

Jim

fitzov 06-12-2007 12:12 PM

Don't rub your shoes on the floor and then touch the memory.


All times are GMT -5. The time now is 08:50 PM.