LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-08-2009, 02:45 AM   #1
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Rep: Reputation: 30
4Gb not seen on Slack 12.2 with HIGHMEM64G set


I came across a bookmark of mine pointing to http://www.linuxquestions.org/questi...=slackware+4gb and it reminded me of something.

If I run:

Code:
free -m
I get:

Code:
             total       used       free     shared    buffers     cached
Mem:          2914        557       2357          0         19        232
-/+ buffers/cache:        304       2609
Swap:         4095          0       4095
Under total I was hoping for more as I definitely have 4Gb installed (4 x 1Gb sticks).

I have also set:

Code:
HIGHMEM64G=y
in the kernel and recompiled.

Does anyone have any thoughts?


Mark.
 
Old 04-08-2009, 04:47 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
How much RAM is detected by the BIOS ? Go into the BIOS options and it should be listed.
 
Old 04-08-2009, 05:10 AM   #3
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hi H_TeXMeX_H,

The BIOS detects 4096Mb :-$


M.
 
Old 04-08-2009, 05:15 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok, so then it might be a problem with the kernel, or you didn't install the new kernel ? post the output of:

Code:
zcat /proc/config.gz | grep HIGHMEM64G
 
Old 04-08-2009, 05:25 AM   #5
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
It comes back with:

Code:
CONFIG_HIGHMEM64G=y

M.
 
Old 04-08-2009, 05:47 AM   #6
kukibl
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 88

Rep: Reputation: 28
Maybe I will write something idiotic and stupid, but feel free to correct me.

I have 4 GB also, recompiled kernel with PAE support but it shows only arround 3600 MB. I guess it has something to do with integrated graphics in my case... Maybe it is something similar in your case, although 1 GB seems too much to lose...

Last edited by kukibl; 04-08-2009 at 05:49 AM.
 
Old 04-08-2009, 05:50 AM   #7
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Not idiotic at all. If I had a shared graphics board (like I think I have on my Dell Latitude D430) then that would not be a bad thought.

But alas I do not. I'm packing an ATI X1900 with 512Mb of RAM.


M.
 
Old 04-08-2009, 07:34 AM   #8
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
At the lilo screen, select the correct kernel that has highmem64g compiled in, and press tab to bring up a command prompt. Here you'll see the name of the selected kernel, press space and type mem=4G, then enter.

Once loaded, type cat /proc/meminfo |grep MemTotal.

If it still isn't correct, look for a bios upgrade, and/or run memtest86. Memtest86 will report the amount of RAM it sees. If you happen to have a bad stick, the bios could pick report it's there, but the kernel won't. This has happened to me with some old rambus modules. I had 768MB installed, but the kernel only reported ~640mb. Had one stick that was partially bad.
 
Old 04-08-2009, 07:48 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
I'm about to get a new computer with 4 GB RAM (arriving later today), and I've been reading up a little on this issue. I got the impression that the parameter HIGHMEM4G was for RAM up to and including 4 GB and HIGHMEM64G was for over 4 GB. The default config for the generic smp kernel has HIGHMEM4G=y. Am I wrong?
 
Old 04-08-2009, 07:50 AM   #10
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hi disturbed1,

I think I might be being thick here, but at the prompt:

Code:
boot:
Do I type:

Code:
Linux_2.6.28.2 mem=4G
Linux_2.6.28.2 being the name of my kernel image.


M.
 
Old 04-08-2009, 07:55 AM   #11
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
If that's the name of your kernel, then yes

What ever is listed under label = in /etc/lilo.conf

Last edited by disturbed1; 04-08-2009 at 07:56 AM. Reason: quoting looked messy
 
Old 04-08-2009, 08:37 AM   #12
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Ok, this is a bit weird. After four reboots (swapping a different RAM stick out each time, this is what I get.

Every time I remove a stick the BIOS reports 2944Mb but:

Code:
cat /proc/meminfo | grep MemTotal
reports:

Code:
MemTotal:       2984648 kB
When all four are back in the BIOS reports 4096Mb again, but the result for MemTotal is the same.

I wonder why doesn't the BIOS report 3072Mb?


M.
 
Old 04-08-2009, 09:04 AM   #13
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by brooky9999 View Post

I wonder why doesn't the BIOS report 3072Mb?


M.
It shouldn't, but 2944Mb is quite low IMO

On this machine I have 1.5gB, 1,536mB, 1,572,864 kB. Kernel and Bios only report 1,551,868 kB.

I thought it was strange your Motherboard is reporting exactly 4096, it's usually a few kB off.

Another one has this 3,113,860 kb for 3gB (3,145,728 kB). The bios reports less than 3,072 as well, don't remember the exact amount.

I've had 6gig installed on Slackware 12.2, and all was detected. 2 2gB sticks, and 2 1gB sticks. I've pulled one of each out for other machines. Which is why I only have 3gB in it now.

Something is up if your Bios is only reporting 2944Mb. Double check your settings for RAM timings, voltage, don't overclock, bios upgrades, and run memtest86. Some faulty chipsets (VIA and AMD) have known bugs when all ram slots are full. See if it reports something close to 2048 with 2 sticks in.
 
Old 04-08-2009, 09:09 AM   #14
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Yeah... it's all a bit weird.

The BIOS is two revisions out (I thought it was up-to-date), so I'm gonna update that before I do anything else.

Well I would, if Abit will get ANY of their FTP servers working. What a Mickey Mouse setup they are! :-@

Then I'll start on MemTest86. Thanks for your help so far... I will report back later.


M.
 
Old 04-08-2009, 10:42 AM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yeah, you know I think I remember some Abit mobos restrict the amount of RAM if all memory slots are full. Which chipset or board do you have ?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set up a wireless PCMCIA in Slack? linuxhippy Slackware 4 04-13-2005 04:07 AM
trying to set up prelink in slack 10.0 ganja_guru Linux - Software 5 10-29-2004 06:47 AM
How to set up an ftp server on slack 10 jml75 Slackware 6 08-11-2004 09:21 PM
How do I set up CDROM and CDRW in Slack? lumpfish Slackware 7 11-16-2003 01:36 PM
How to set printer for openoffice1.1 in slack 9.1? linuxpc Linux - Hardware 0 11-15-2003 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 PM.

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
Open Source Consulting | Domain Registration