Missing ram on slackware 13 (can't remember 64 or 32 bit)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Missing ram on slackware 13 (can't remember 64 or 32 bit)
Hey,
I had to restart my machine after some time (~200 days), and after the restart it had only 2 GB ram out of 6 GB (2213MB). I can't go in person to the machine... Any suggestions?
Click here to see the post LQ members have rated as the most helpful post in this thread.
If you have remote access to the machine, then you can easily tell whether it's 32-bit or 64-bit. You can check /var/log/packages or for the existence of /usr/lib64.
Look for PAE and HIGHMEM support in the running kernel -
Code:
zcat /proc/config.gz |grep PAE
CONFIG_X86_PAE=y
zcat /proc/config.gz |grep CONFIG_HIGHMEM
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_HIGHMEM=y
If the kernel is configured to support more than 4GiB RAM, then it's possibly a hardware failure, or (gasp!) someone took parts out of your machine.
You can check what the bios reports as installed RAM with dmidecode (caution lots of output pipe through less). Though - if a module has failed the BIOS will treat the failed module the same as it would an uninstalled module.
Code:
dmidecode |less
-------stuff------
This might work as well
Code:
dmidecode |grep -A7 "Memory Module Information"
Memory Module Information
Socket Designation: A0
Bank Connections: 1
Current Speed: 155 ns
Type: Other Unknown EDO
Installed Size: 1024 MB (Double-bank Connection)
Enabled Size: 1024 MB (Double-bank Connection)
Error Status: OK
--
Memory Module Information
Socket Designation: A1
Bank Connections: 2
Current Speed: 155 ns
Type: Other Unknown EDO
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
--
Memory Module Information
Socket Designation: A2
Bank Connections: 3
Current Speed: 155 ns
Type: Other Unknown EDO
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
--
Memory Module Information
Socket Designation: A3
Bank Connections: 4
Current Speed: 155 ns
Type: Other Unknown EDO
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK
As you can see I have 4 sticks of RAM in that PC, 3 x 2GiB and 1 x 1GiB
cat /proc/meminfo
MemTotal: 7158192 kB
zcat /proc/config.gz |grep PAE
-------blank-------
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
There you go
You're kernel will not support more than 4GiB RAM. PAE is NOT set, nor is HIGHMEM64G (which selects PAE )
Quote:
CONFIG_HIGHMEM4G
Select this if you have a 32-bit processor and between 1 and 4
gigabytes of physical RAM
Symbol: HIGHMEM4G [=n]
Type : boolean
Prompt: 4GB
Defined at arch/x86/Kconfig:1057
Depends on: <choice> && !X86_NUMAQ [=n]
Location:
-> Processor type and features
-> High Memory Support (<choice> [=y])
Quote:
CONFIG_HIGHMEM64G:
Select this if you have a 32-bit processor and more than 4
gigabytes of physical RAM.
Symbol: HIGHMEM64G [=y]
Type : boolean
Prompt: 64GB
Defined at arch/x86/Kconfig:1064
Depends on: <choice> && !M386 [=n] && !M486 [=n]
Location:
-> Processor type and features
-> High Memory Support (<choice> [=y])
Selects: X86_PAE [=y]
Last edited by disturbed1; 07-16-2011 at 10:28 PM.
Strangest thing is, that there were no problems before I rebooted the machine and I'm sure that I re-compiled the kernel with high mem support. And even if I didn't, shouldn't there be 3+ gb of ram.
For a few months now I was planning on "migrating" to debian but I was too lazy to do that. Now's the time
The amount of RAM reported on a 32bit system not using PAE varies greatly. Anywhere from 2GiB - 3.9GiB can be seen. Depends on too many factors - hardware address space being used (number of devices), bios, kernel, software layer ....
If it did report 6GiB before, perhaps you have multiple kernels, and your boot loader is set up to automatically choose a different kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.