LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-22-2010, 10:47 PM   #1
chris1274
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Memory corruption detected in low memory


Hi everyone,

This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s) ...

When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.

I came across this message in the Arch Linux forum about this very issue:

Quote:
Fancy thing this "Corrupted Low Memory", as I get it as well on my T42...
I downgraded to kernel 2.6.30.1 and still had the Corrupt message in my dmesg. I then downgraded to 2.6.29.1 and voila the Corrupt messages went away, and so did the random module crashes (as you seem to be getting too after the Corrupt messages).
The problem seems to be with:
CONFIG_X86_CHECK_BIOS_CORRUPTION: Check for low memory corruption
Which is a new feature ever since 2.6.28.x kernel. It was working properly for us T42 ppl, until 2.6.30.x came along, and still hasn't been fixed in 2.6.31.x. To fix this and get system stability back, add the following to the end of your kernel line (in either Lilo or Grub):
memory_corruption_check=0
That stops the kernel from checking for corrupted low memory, but, since the check procedure messes up the system and causes modules to crash, it's better to disable it until the problem is worked out.
To be on the safe side, I ran a few memory check programs, and they all ran without errors. So my low memory isn't corrupt after all, just a bug in a feature that can be disabled.
This seems a promising way to deal with this false flag, but I just don't know what file this person is referring to that needs to be edited. Can anyone tell me where the "kernel line" is? Thanks very much in advance.
 
Old 08-22-2010, 11:47 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Quote:
This seems a promising way to deal with this false flag, but I just don't know what file this person is referring to that needs to be edited. Can anyone tell me where the "kernel line" is? Thanks very much in advance.
The file is the grub configuration file in /boot/grub, or /etc/lilo.conf (I think: I haven't used lilo in years). In the menu list of operating systems available to boot, each menu item has a kernel line. Add memory_corruption_check=0 to the end of that line.
 
Old 08-23-2010, 11:27 PM   #3
chris1274
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I'm not sure disabling the memory corruption check is the right way to go after all. Apparently the BIOS is corrupting the first 64K of physical RAM, and the check prevents the system from using that memory later on.

The odd thing is that this didn't start happening until I installed the 2.6.34 kernel.

Last edited by chris1274; 08-26-2010 at 01:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*** glibc detected ***: malloc() memory corruption Dinarchik Programming 5 02-16-2010 06:38 PM
*** glibc detected *** ruby: malloc(): memory corruption: priceey Linux - Software 0 10-16-2009 06:24 PM
*** glibc detected *** malloc(): memory corruption arvind.ayyangar Programming 2 11-21-2006 12:59 AM
glibc detected *** malloc(): memory corruption: abefroman Linux - Software 2 04-12-2006 01:12 PM
glibc detected ; memory corruption pingu Linux - Software 3 10-12-2005 02:29 AM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration