FreeBSD reports incorrect amount of memory

Dieter BSD dieterbsd at engineer.com
Tue Jun 21 21:27:03 UTC 2011


Machine has been running FreeBSD/amd64 with 2 GiB of memory.
I just installed a 2nd 2 GiB of memory for 4 GiB total.
FreeBSD thinks it now has 32 GiB ???

FreeBSD 8.2-RELEASE #22: Tue Jun  7 12:37:21 PDT 2011
CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.34-MHz K8-class CPU)
real memory  = 34359738368 (32768 MB)
avail memory = 3614437376 (3446 MB)

vm.kmem_map_free: 3629518848
vm.kmem_map_size: 9322496
vm.kmem_size_scale: 1
vm.kmem_size_max: 329853485875
vm.kmem_size_min: 0
vm.kmem_size: 3638841344
hw.physmem: 3749433344
hw.usermem: 3095994368
hw.realmem: 3758030848

    1 users    Load  0.00  0.00  0.00                  Jun 21 13:54

Mem:KB    REAL            VIRTUAL                       VN PAGER   SWAP PAGER
        Tot   Share      Tot    Share    Free           in   out     in   out
Act  272856   22968  1951804    52608  134640  count
All  335752   24556 1075766k    65644          pages
Proc:                                                            Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt        cow    5113 total
  1          76      8119   18 1754 3115  120             zfod        atkbd0 1
                                                          ozfod       uart0 irq4
 3.0%Sys   0.2%Intr  0.0%User  0.0%Nice 96.8%Idle        %ozfod    16 ohci1 siis
|    |    |    |    |    |    |    |    |    |    |       daefr     5 ed0 ohci2+
==                                                        prcfr       fwohci0++
                                        13 dtbuf          totfr       fwohci1 bg
Namei     Name-cache   Dir-cache    135416 desvn          react       ohci0+ 21
   Calls    hits   %    hits   %      2926 numvn          pdwak       ehci0+ 22
                                      1995 frevn          pdpgs  3094 nfe0 irq23
                                                          intrn  1998 cpu0: time
Disks   ad4   ad6   ad8  ad10  ada0  ada1  ada2    638292 wire
KB/t   0.00  0.00  0.00  0.00  0.00  0.00  0.00     97364 act
tps       0     0     0     0     0     0     0   2682588 inact
MB/s   0.00  0.00  0.00  0.00  0.00  0.00  0.00     77168 cache
%busy     0     0     0     0     0     0     0     57472 free
                                                   376080 buf

As far as I know, the mainboard (Tyan Tomcat k8e 2865) only
supports 4 GiB. Is this going to cause some problem with FreeBSD
trying to use memory that isn't there? How do I debug/fix this?
Didn't find anything with google.


More information about the freebsd-questions mailing list