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.


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

  • Wow, I didn't even know this was possible. – RobinJ Jun 16 '12 at 18:57
  • 1
    @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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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