Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 5 bytes (or bits, don't know) of bad Ram. How can I exclude these bytes so my Ubuntu 11.10 don't use them. My PC randomly freez, and when I ran memtest it reported 5 errors.

share|improve this question
up vote 4 down vote accepted

The only solution that I know of is BadMem (by Rick van Rein), who is able to block bad memory sectors in Linux.

It works by instructing the kernel to lock those memory addresses you specified. This effectively stops Linux from ever addressing those addresses when allocating (and deallocating) memory.

You can read all about at the BadMEM-HOWTO page!

Possible auxiliary documentation can be found at:

BadRAM - Community Ubuntu Documentation.

Linux Journal - Running Linux with Broken Memory By Rick van Rein

share|improve this answer
Wow, I didn't even know this was possible. – RobinJ Jun 16 '12 at 18:57
@RobinJ, found it some time ago, when dealing with this problem on an old computer, where memory modules are very pricey :) – Zuul Jun 16 '12 at 19:08
How to install it. Documentation is not complete – Alen Jun 16 '12 at 19:12
@Alen, you can check BadRAM - Community Ubuntu Documentation for more instructions. – Zuul Jun 16 '12 at 19:15
I excluded bad adresses using instructions on link that @Zuul provided. and I will report you tomorrow if it is successuful – Alen Jun 16 '12 at 20:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.