LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-19-2010, 12:20 PM   #1
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Rep: Reputation: 0
memory less reported


My Linux server is having the following issue

We have two servers

Server A
=========
The server was having 2 sticks of 1 GB Ram = tot 2 GB
we have added 2 more sticks of 2 GB each = tot 6 GB

Funny thing - but After install when we started the machine it did detect the total 6 GB Ram so it seems that the BIOS was able to recognize the 6 GB.


I ran the following commands
cat /etc/SuSE-release


SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3



cat /proc/meminfo|grep Mem

MemTotal: 3630956 kB
MemFree: 2204956 kB


I expect to see total 6 GB

On Second server
================
We did the same on another server
here we increased from 6GB to 10 GB and the server was able to detect the 10 GB

cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3


cat /proc/meminfo|grep Mem

MemTotal: 10324860 kB
MemFree: 1502784 kB



The issue is being faced on the first server

Both servers are the same hardware and have 6 slots each capable of handling 2 GB RAM


Please assist
 
Old 02-19-2010, 12:41 PM   #2
nicedream
Member
 
Registered: Feb 2010
Distribution: Arch Linux
Posts: 68

Rep: Reputation: 19
I believe you need to be running a 64 bit OS in order to access more than 4GB of memory. I would check to make sure server A is not a 32 bit OS.
 
Old 02-19-2010, 01:26 PM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by nicedream View Post
I believe you need to be running a 64 bit OS in order to access more than 4GB of memory.
You are not correct.

Quote:
I would check to make sure server A is not a 32 bit OS.
The OP already quoted info demonstrating both are 32 bit.

Normally I would guess that it can't see the extra memory because it is a non PAE kernel. But in this case (until the OP says otherwise) I will guess both systems have the same kernel. One of those must be PAE (because it can see 10GB) so if they are the same kernel, both are PAE.

I have posted several times in other threads the easy check with dmesg | less to see how much ram the BIOS lets the OS use. Such as
http://www.linuxquestions.org/questi...90#post3865990

Assuming the kernel is PAE, that test will confirm that the problem is in the BIOS and/or the motherboard. Even a BIOS that can see 6GB of ram doesn't necessarily configure the 6GB of ram to let the OS use it.

In many cases there is an option in the BIOS memu (maybe called something like "enable memory remapping") to tell the BIOS to let the OS use all the memory. There are unfortunately many other names that the BIOS might have for the option to allow use of all of the ram. So first verify (with dmesg | less) that the problem really is in BIOS or motherboard. Then search the whole BIOS menu for anything likely. If you have a URL for an online manual for the motherboard, I might take a look.

If that dmesg result says the BIOS/Motherboard are not the problem, see my discussion in that same other post I linked about looking for the HIGHMEM settings in the kernel config. But I can't tell you for Suse exactly where to find the kernel config or what exactly it is named. My example was for Centos.

Last edited by johnsfine; 02-19-2010 at 01:38 PM.
 
Old 02-19-2010, 03:36 PM   #4
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
Yes ,

This is my info

10 GB RAM server

uname -r
2.6.5-7.244-bigsmp


6 GB RAM server (server showing less RAM)

uname -r
2.6.5-7.244-smp




My guess is that when the original install was done
since the server had 6 GB which we upgraded to 10 GB the SLES automatically installed the bigsmp kernel

and the server which had 2 GB which we now upgraded to 6 GB automatiacally installed the smp kernel

Now - how do I switch the kernel from smp to bigsmp kernel in SLES9 and what is the impact ?
 
Old 02-19-2010, 04:28 PM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by rjnlinux View Post
how do I switch the kernel from smp to bigsmp kernel in SLES9 and what is the impact ?
Hopefully the only impact is that it will become able to use the 6GB of ram.

I don't know what the package manager is for SUSE LINUX Enterprise Server.

In several other distributions, you can install a new kernel through the ordinary package management software (the same way you might install some new program).

Unlike most program installs, it won't take effect until you reboot.

In the distributions I've used, installing a kernel package adds to or edits the list of kernel choices at boot time so the default choice is the new one, while the previous one is available as an option (in case you discover that changing kernels was a bad idea).
 
Old 02-19-2010, 05:28 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
If the repositories are still maintained - SLES9 is pretty old as can be seen by the kernel level. SLES11 is current, and SLES10 had a couple of service packs.
Novell are generally pretty good with service though.
 
Old 02-22-2010, 11:56 AM   #7
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
Story is as follows

The Suse Enterprise Linux 9 Operating system was installed by
some one else.

I am a newbie to Linux

The server was having 2 GB RAM
uname -r gives output as 2.6.5-7.244-smp

we added more ram to the server to upgrade it to 6 GB
the server can see

cat /proc/meminfo|grep Mem
MemTotal: 3630956 kB


I have a SUSE Enterprise SP3 cd with the following two
rpm's

kernel-bigsmp-2.6.5-7.244.i586.rpm
kernel-smp-2.6.5-7.244.i586.rpm


a) How do I install the new kernel - do i rpm -ivh kernel-bigsmp-2.6.5-7.244.i586.rpm
b) what is the impact of installing a new kernel -
will I have to rebuild any jar files or compile any applications ?

Last edited by rjnlinux; 02-22-2010 at 12:07 PM.
 
Old 02-22-2010, 02:06 PM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
In principle, you can use the rpm commamnd (but probably have to adjust the grub menu manually afterwards, to boot the new kernel) or yast and probably something else (SuSE went through a few iterations before settling on zypper as the way forward and while I'm reasonably convinced that this version pre-dates the change to zypper, I'm not sure what it does use - yum, maybe).

What I would caution you about, however, is security updates. You have an old, old version, and the version numbers makes it look as if there have been no kernel updates since the disk was pressed. It seems implausible that there have been no updated kernels out of SuSE in this extended time period, so my guess is that your predecessor was not in the habit of doing updates, even when they were security updates.

This may not concern you, but it would concern me.

This presents a problem; if you just do a 'big bang' update, that pulls in several year's worth of changes (on both/all servers), you'll probably break stuff, and that might be a disaster. If you leave security issues, security issues known to the world of miscreants, that might be a disaster. (Depending on what the servers actually do; there might be an area in which security is not an issue, but I have to admit that it doesn't immediately come to mind. Or, maybe, you can assure yourself that the fixed issues do not affect anything that you use, if the servers have a very narrow set of things that they do. Possibly.)

You really need a test server that you can test out updates on, before rolling out updates to your production systems, with reduced risk of surprises. Err, and I'm betting that you don't have the test server at this point.

Sorry to be Mr Negative, but maybe a bit more background will make my concerns seem less significant in your particular case.
 
Old 02-22-2010, 03:49 PM   #9
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
well...yes security is not an issue
and if i have the choice of Yast/Yast2/rpm since all 3 are available on my machine I would go with rpm

so My plan is
pop in the cd
copy the rpm to a folder
cd to the folder and

rpm -ivh kernel-bigsmp-2.6.5-7.244.i586.rpm

and reboot and pray !!!!

but hey !!! should I say my hail Marys before or after the reboot or before the rpm command ?
 
Old 02-22-2010, 05:32 PM   #10
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by rjnlinux View Post
will I have to rebuild any jar files or compile any applications ?
No. All the application programs will see no difference other than more of them can fit in memory at once.

As for all the RPM questions, I think I know less than you do.

If there is a grub issue to be dealt with after the rpm, I barely know enough to blunder my way through if I were doing it myself. Not nearly enough to tell you what to expect. Salasi seems to be saying some grub menu change is likely to be needed. You might want to compare the /boot/grub/menu.lst files between the two servers after installing that package (unless you just know enough about grub to fix it without help).

Last edited by johnsfine; 02-22-2010 at 05:38 PM.
 
Old 02-22-2010, 05:39 PM   #11
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johnsfine View Post

As for all the RPM questions, I think I know less than you do.
Ha ...Ha

RPM Questions --- and 1937 posts and you know less than me ???

You are kidding ...right ???

Last edited by rjnlinux; 02-22-2010 at 05:40 PM.
 
Old 02-22-2010, 05:47 PM   #12
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by rjnlinux View Post
1937 posts and you know less than me ???
I thought I said I know less about what rpm command to use or whether to use it or what it would do.

The helpful to others (I hope) fraction of 1937 posts at best imply there are a few narrow sub topics within the world of Linux on which I'm an expert. It certainly does not mean I'm a Linux expert.

In this thread, I was trying to be a PAE expert, certainly not a SuSE expert.

At the beginning of the thread (and again with your side question about applications effects) you seemed to need a PAE expert.
 
Old 02-22-2010, 06:43 PM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Personally I think you should use yast - that way you'll get grub updated properly.
As for applications, they won't know or care. They will be still limited to a 4 Gig virtual address space.

Sounds like you have your hands on a SuSE CD and haven't signed for support. I have a SLES11 system like that, but it does get frustrating not having updates. Works o.k. to test basic functionality in a test lab, but I wouldn't use it anywhere else.
 
Old 02-23-2010, 06:07 AM   #14
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by johnsfine View Post
Salasi seems to be saying some grub menu change is likely to be needed.
That is exactly what I was saying; if I was doing this, I would do it via yast, because I am pretty sure that doing it that way probably would cope with the grub change 'automagically'. I don't absolutely know, but I suspect that doing it via the rpm command won't do that. This should not be a big problem, but if you aren't aware of the possibility, you could get very confused. (And submit a rather confusing question in a new thread, and that's really what I am hoping to avoid.)


@johnsfine
Quote:
I thought I said I know less about what rpm command to use or whether to use it or what it would do.
It is important to note that when you ask a question with several aspects, people will often chime in with the part that they know, and expect other people to chime in with other parts. John's position is exactly what you would expect from someone who primarily uses a non-rpm distro, or an rpm distro which uses some other software to manage rpms.

In this way, the community builds an answer to the questions asked, even though few, or even none, of the people reading the question know the whole answer.
 
Old 02-23-2010, 04:56 PM   #15
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
All of you,

I have modified my plan

I am going to take the CD's home and I have a spare computer
I shall load SUSE 9 (4 CD's ) and also SP3 (3 CD's)

Once that is done - I shall then install the new BigSMP using YAST2

When I am successfull I shall again post a message in this thread

Please expect a post tomorrow morning before 10 am PST
I like to set deadlines for myself so that I am now sure to try my best to finish this before my deadline.

Thanks a lot for setting me on the YAST2 Path rather than the rpm and then the grub fix

next post - Tomorrow
 
  


Reply



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
Reported memory usage doesn't tally with top geokker Linux - Server 2 04-04-2008 03:09 PM
incorrect memory size reported tintapok Slackware 3 10-29-2005 01:11 AM
Reported memory use rnicholus Linux - General 2 09-23-2005 11:19 PM
Memory reported less than installed (Mandrake 10) vo24 Linux - Hardware 17 03-29-2005 03:02 PM
Memory usage reported using TOP Kdiver58 Linux - Newbie 1 02-03-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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