Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-17-2013, 06:18 PM   #1
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 77

Rep: Reputation: 33
Slackware kernel memmap

After running memtest86+ on an old Toshiba A65 Satellite, I discovered the built in onboard RAM has two bad spots, the first is at an address of 780M's and the second is at an address of 844M's , as a generic quick and dirty fix I did an append="mem=760M" in Slackware lilo.conf, but I've been attempting to find some good examples using memmap arguments to pass to the kernel to make a better memory map around the bad memory cells.

Up to 779M <- Good
From 781M to 843M <- Good
From 845M to 991M <- Good

How would I append the above parameters to lilo?
append = "memmap=?????"
Old 11-18-2013, 10:54 AM   #2
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 354

Rep: Reputation: 144Reputation: 144
hi Stragonian

it is very tricky, but you could use the following:

append = " memmap=75M$775M"
This will ignore the memory between 775M and 850M
I have no idea if you can use the good parts in between.
1 members found this post helpful.
Old 11-20-2013, 03:41 AM   #3
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 77

Original Poster
Rep: Reputation: 33
Thank You bartgymnast your subjection has been helpful. I did do more digging and discovered that if a Linux Kernel is compiled with[*] Memtest option I can then append="memtest=<# of passes>" to the system and it will run memtest and map the bad ram locations for me automatically, much like the old badram patch in older linux kernels. Because memtest takes 27 passes to detect both bad ram areas on the old laptop, it boots to a blank screen for a few minutes ( which seems like forever ) before continuing and loading the kernel, but when finished the OS seems to be stable.

Here's is what I put for the lilo entry after ensuring Memtest was compiled into my kernel
image = /boot/vmliuz-3.6.8-x32
  initrd = /boot/initrd-3.6.8-x32.gz
  root = /dev/sda2
  label = 3.6.8-x32
  vga = 773
  append = "memtest=30"
This seems to stable the system although booting the computer does take a few minutes.
1 members found this post helpful.
Old 03-02-2014, 06:51 PM   #4
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
Hi, Stragonian, when you say it boots to a blank screen, do you mean the screen is literally blank?

Does the screen wait at "Booting the kernel." with the cursor blinking at the beginning of the next line?



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 Off
HTML code is Off > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:21 AM.

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