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, 07:18 PM   #1
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 67

Rep: Reputation: 25
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, 11:54 AM   #2
Registered: Feb 2003
Location: Lelystad, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 338

Rep: Reputation: 126Reputation: 126
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, 04:41 AM   #3
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 67

Original Poster
Rep: Reputation: 25
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, 07: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

All times are GMT -5. The time now is 08:48 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