[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 884MB instead of 1024MB memory and HIGHMEM enabled



Dave Ewart wrote:

On Tuesday, 02.08.2005 at 13:06 +0200, sYs wrote:

Recently I have changed my kernel from 2.4.31-grsec to 2.6.11.12-grsec and I can't resolve this problem: After changing my OS (Debian Etch), it sees only 884 MB of the physical memory but i have 1Gbyte (2x512MB) installed in my box and HIGHMEM (4gb) support is already enabled.

free -m:
          total       used       free     shared    buffers     cached
Mem:           884        875          8          0          7        443
-/+ buffers/cache:        425        459
Swap:         1953          0       1953

cat /boot/config-2.6.11.12-grsec |grep -i mem:
CONFIG_SHMEM=y
# CONFIG_TINY_SHMEM is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
# Memory Technology Devices (MTD)
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_GRKERNSEC_KMEM=y
CONFIG_GRKERNSEC_PROC_MEMMAP=y
# CONFIG_GRKERNSEC_BIGMEM is not set

What should i do? Sry for my bad english and thanks you for youre answers! :>

Can you be sure that this config really relates to your running kernel?

Do you have a shared RAM display card installed which is using some of
the RAM?

(Just two random thoughts really - you appear to have everything
correctly set up!)

Dave.
Omg, perhaps you are right, i'm not sure, because this kernel was compiled by my friend and i said him to recompile the kernel because i changed the memory support and he said he has recompiled the kernel and restarted the machine.

uname -a:
Linux muranyi 2.6.11.12-grsec #1 Tue Jul 26 03:04:39 CEST 2005 i686 GNU/Linux

ls -all /boot:
*lots of file*
-rw-r--r--   1 root root   29391 Aug  1 13:36 config-2.6.11.12-grsec
*lots of file*

The dates are not the same, does it mean it isn't the config of the running kernel? (Might my friend was bit a lazy?^^)

I dont have any shared RAM display card and it was working correctly with Kernel 2.4.27-grsec/2.4.31-grsec.



Reply to: