Re: 5Mb missing...

Mordechai Ovits (movits@ovits.net)
Wed, 14 Mar 2001 09:41:44 -0500


On Wed, Mar 14, 2001 at 03:06:09PM +0100, Alex Baretta wrote:
> Mike Galbraith wrote:
> >
> > If crashes are routine on this machine, I'd recommend that you take
> > a serious look at your ram. (or if you're overclocking, don't)
>
> Crashes were routine, and I was not overclocking, so I took Mike's
> advice and bought a new 256MB DIMM. The computer hasn't crashed
> once since I installed it. Now, though, I have a curious though
> fairly irrelevant problem. My kernel apparently sees less RAM than
> I have.
>
>
> [alex@localhost /home]$ free -m
> total used free shared buffers
> cached
> Mem: 251 209 42 60
> 61 92
> -/+ buffers/cache: 55 196
>
>
> I strongly doubt this can be a bug in the kernel. Could anyone
> explain to me why this might happen?

when you boot, your bios decides how much ram is "really" available,
usually for good reasons. If the bios knows that its power management
routines need a few meg off the top it'll report a few less meg to the OS
that is to be booted. You can tell linux to ignore the bios with the kernel
parameter mem=256, but I highly recommend *against* it in this case. Look
into it.

Mordy

> Alex
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/