There is an option in the kernel that will make it "see" all the 4GB. Set
the option for up o 64GB in the kernel and you may use your 4GB.

On 1/24/08, Hal Martin <[EMAIL PROTECTED]> wrote:
>
> Ahh, but it won't last...
>
> $ free
>                           total       used       free     shared
> buffers     cached
> Mem:       2059824    2044512      15312          0      37636      50868
> -/+ buffers/cache:      1956008     103816
> Swap:      4289308    1229024    3060284
>
> Now this I can live with...
>
> $ free
>                         total       used       free     shared
> buffers     cached
> Mem:       3629832    3499156   130676         0      56644    3070796
> -/+ buffers/cache:      371716    3258116
> Swap:            0          0          0
>
> Unfortunately that machine is 32bit and thus only supports ~3.6GB of the
> 4GB of RAM. :-(
>
> -Hal
>
> Michael Higgins wrote:
> > On Tue, 22 Jan 2008 00:44:53 +0100
> > "Hemmann, Volker Armin" <[EMAIL PROTECTED]> wrote:
> >
> >
> >> On Montag, 21. Januar 2008, Michael Higgins wrote:
> >>
> >>> So, I just got 2 GB of RAM in the mail. Whoo hoo.
> >>>
> >>> Before I pop these in, soliciting any thoughts about the following:
> >>>
> >>> zcat /proc/config.gz |grep 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
> >>> CONFIG_SELECT_MEMORY_MODEL=y
> >>> CONFIG_FLATMEM_MANUAL=y
> >>> # CONFIG_DISCONTIGMEM_MANUAL is not set
> >>> # CONFIG_SPARSEMEM_MANUAL is not set
> >>> CONFIG_FLATMEM=y
> >>> CONFIG_FLAT_NODE_MEM_MAP=y
> >>> # CONFIG_SPARSEMEM_STATIC is not set
> >>> CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
> >>> # CONFIG_BLK_DEV_UMEM is not set
> >>> # CONFIG_INPUT_FF_MEMLESS is not set
> >>> # CONFIG_DEBUG_HIGHMEM is not set
> >>> CONFIG_HAS_IOMEM=y
> >>>
> >>>
> >>>    Name        Flags      Part Type  FS Type          [Label]
> >>> Size (MB)
> >>>
> ---------------------------------------------------------------------------
> >>> --- hda1        Boot        Primary   Linux ext2
> >>> 256.50 hda2                    Primary   Linux swap /
> >>> Solaris              1024.46 hda3                    Primary   Linux
> >>> ext3                       21480.44 hda5                    Logical
> >>> Linux ReiserFS                   28771.84 hda6
> >>> Logical   Linux ReiserFS                   28493.15
> >>>
> >>> IOW, do I need to/should I recompile my kernel or change partition
> >>> sizes?
> >>>
> >> if you don't plan to try suspend-to-disk.
> >> No
> >>
> >> even if you plan to try suspend-to-disk it might work with a
> >> swapfile. So still no.
> >>
> >
> > Thanks for the feedback. I figured I'd be covered with the setup as it
> > is, but you never know... unless you know. This thing never sleeps...
> > so no worries there.
> >
> > Anyway, I just popped 'em in:
> >
> > $ free
> >              total       used       free     shared    buffers
> cached
> > Mem:       2074548     166048    1908500          0
> 6812      77284
> > -/+ buffers/cache:      81952    1992596
> > Swap:      1000432          0    1000432
> >
> > [ Nice. I like that last line a lot. ]
> >
> > Cheers,
> >
> >
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>


-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com

Reply via email to