LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-28-2005, 03:50 PM   #1
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Rep: Reputation: 0
Memory reported less than installed (Mandrake 10)


Actual physical RAM present in the machine is 2048MB.
The amount of RAM reported in the Information section of the Configure Your Desktop utility is 882,61MB.

Freshly installed Mandrake 10 (2.6.3-7mdksmp). The box is HP xw8000 workstation (reported to be certified by Mandrake).

Any ideas to correct this unfortunate situation are highly appreciated. I am a relative novice to the OS.
 
Old 03-28-2005, 03:54 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
where is this value reported?

Is this consistent?

Does this cause any problems?

How much RAM does 'top' report?
 
Old 03-28-2005, 04:26 PM   #3
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Original Poster
Rep: Reputation: 0
-where is this value reported?
In Configure your desktop utility (Star menu > System > Configuration > Configure your desktop). It has "Information" section with nice colored graphical memory consumption charts. It reports "Total physical memory = 882,61MB".

-Is this consistent?
It is, if you mean from boot to boot. In the two places where there are reports on the RAM size the figures are consistent too (albeit slightly different).

-Does this cause any problems?
Not. However, losing more than half of hard-earned RAM is not the way it should be, is it?

-How much RAM does 'top' report?
There's another place that reports RAM: Mandrakelinux Control Center (Star menu > System > Configuration > Configure your computer). In Boot Loader section, it has an option/text field "Specify precise RAM size if needed". "Found 896MB" it says here. Specifying the correct, real amount of physical RAM installed does NOT change the amount of RAM reported.
 
Old 03-28-2005, 05:11 PM   #4
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
but how much ram does 'top' report?

how about 'cat /proc/meminfo'

Also, if there isn't any problems, then quit whining and realize that if you're not experienceing problems, you've just got too much RAM
 
Old 03-28-2005, 05:23 PM   #5
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Original Poster
Rep: Reputation: 0
Both top and cat report 903792k of total memory. The installed amount, as I noted above, is 2048MB.

There's no such thing as too much memory IMHO. Also, it clearly is a misconfiguration somewhere in the OS. An unhealthy sign from any point of view. There must be a solution.
 
Old 03-28-2005, 05:41 PM   #6
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Is your BIOS detecting the RAM?, check dmesg to make sure the kernel is compiled to use that much memory, or that it's being detected.
 
Old 03-28-2005, 06:06 PM   #7
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Original Poster
Rep: Reputation: 0
The BIOS and WinXP (it's a dual-boot machine) report the correct amount.

I've parsed dmesg output for any indications that kernel isn't compiled to use 2 GB of RAM (or any other amount) or in fact anything regarding RAM specifically. I may have missed such indications if they are indirect: I'm not yet an expert. In all other respects, dmesg outputs rather faithfully on all other pieces of hardware that I have.

Do you know of any surefire way to remedy the situation? I mean like downloading the latest kernel, re-compiling it with any parameters pertaining to the specific machine. I've never done this before, but I don't think it's beyond human powers anyway, and I'll be sure to google for HOWTOs.

Anyway, do you have any specific advice on the kernel recompilation procedures? Do you think the recompilation has a high probability of correcting the issue?

Last edited by vo24; 03-28-2005 at 06:15 PM.
 
Old 03-28-2005, 06:28 PM   #8
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
My advice regaring kernel recompile is this: don't let it psych you out. It's somewhat easier on non-prepackaged distros like MDK / FC / RH.

Find the Howto, if you can, make sure it's a mandrake howto, and you should be fine.
 
Old 03-28-2005, 07:18 PM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
You are using the wrong kernel. You need to use a kernel that is compiled to use up to 4 Gigs. One is provided with Mandrake.

Why are you using the SMP kernel? You didn't specify your HW configuration; is this a multi-processor box? if not you don't need the SMP kernel.

You need this one, which should be on your distro:

kernel2.6.3-7mdk-i686-up-4GB

and in fact you should upgrade that to a later version which you can do using urpmi.

I am using a single processor box myself so I can't say for sure, but I do believe there is an smp kernel provided that handles 4gigs. If there isn't you can compile your own.
 
Old 03-28-2005, 07:32 PM   #10
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Original Poster
Rep: Reputation: 0
Right. About the wrongness of my kernel choice I've just figured out myself. But the wrongness is only about RAM: I seem to need the "up-4GB" kernel.

On the other hand, mine is a good old two-processor box (2xXeon3.06) with 2GB of RAM. This would require an SMP kernel, I thought. What do I do now with the kernel choice?

P.S. I'm doing urpmi --auto-select now.
 
Old 03-28-2005, 07:43 PM   #11
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
mandrake provides this kernel, which is available from an update repository (I am looking at it now at indiana.edu - ftp.uwsg.indiana.edu/linux/mandrake/official/updates/10.0/RPMS)

kernel-p3-smp-64GB-2.6.3-25mdk-1-1mdk.i586.rpm

This should be the one you need.
 
Old 03-28-2005, 07:55 PM   #12
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Original Poster
Rep: Reputation: 0
I thought so too. But is it ok that the name implies Pentium III processor which is not true, strictly speaking, in my case?

Also, I'm now in the process of updating via urpmi. Can I halt this process (to reboot and try another kernel) without having to redownload the updates already downloaded?
 
Old 03-28-2005, 08:32 PM   #13
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
This article does a nice job of explaining how Linux manages memory and I think it would be of interest. If you will recompiling your kernel, then Yes, if you've got a P4 (or whatever) then you can specify the exact CPU architecture during that process as well. Good luck with it -- J.W.

Welcome to LQ!
 
Old 03-28-2005, 08:39 PM   #14
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
kernel-p3-smp-64GB-2.6.3.25mdk-1-1mdk.i586.rpm
Memory fails me. Is Xeon older than P3? If so then potentially there would be a problem since the optimization will be for P3.

Really, I can't tell you, but trying won't hurt. If there is a problem booting all you need to do is go into the /boot/ directory and change the symlinks back to the old kernel.

In the alternative, as has been suggested, you can just compile your own kernel. This isn't difficult, and you could set every option that you wanted. You would need to get the complete kernel source, and not the stripped Mandrake version. You would get the source from kernel.org.
 
Old 03-28-2005, 09:18 PM   #15
vo24
LQ Newbie
 
Registered: Mar 2005
Location: St. Petersburg, Russia
Distribution: Mandrake 10.x
Posts: 9

Original Poster
Rep: Reputation: 0
I'm now booted with "2.6.3-7mdk-p3-smp-64GB" version. The RAM size is REPORTED CORRECTLY. I've also found a link to an rpm of a newer 2.6.8 series kernel from Mandrake: it has "enterprise" in it's name and is supposedly more of a server-oriented thing. At the same time, there are what can be called "poweruser desktop" variants.

The thing with me is that my workstation is a mixture of hardware found in servers AND desktops: memory, smp, scsi, tape drive and at the same time color calibration device, monitor with large resolution / refresh rate/ color depth (with which there's a problem too now, but that's going to be another thread). I'm doing a good deal of heavy lifting related to publishing; I'm looking at Scribus, LittleCMS, Gimp, GhostScript, etc. and some other apps that could fit in the workflow at some point or maybe even constitute a closed set of tools comparable in completeness to the Adobe Creative Suite offering.

Xeon is newer than P3, so it seems, in the spirit of Linux, I'd really better recompile my own kernal version. Will broaden my horizons too, I guess.
 
  


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
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
Can Mandrake 10 be installed with 128mb memory? tur third Linux - General 6 06-08-2005 03:13 AM
Maximum memory reported by /proc/meminfo in vanilla 2.4.26 kobica Linux - General 0 11-15-2004 05:49 AM
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 05:39 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