Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21344 - My system reports an incorrect memory amount
Summary: My system reports an incorrect memory amount
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 11:10 UTC by Chris
Modified: 2003-07-09 21:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2003-05-20 11:10:02 UTC
Gentoo is reporting an incorrect amount of system RAM.  Redhat 8 (same 
hardware) and Win2K Server both report 1.2GB of ram.  The system BIOS currently 
reports 1280MB of RAM.  Gentoo reports 900mb.

It is a Dell Poweredge 500SC, 1.2gb of ECC SDRAM, 1.2ghz Celeron, 3 IDE hard 
drives.

Here is both TOP and DMESG output from my system.  Please let me know what else 
you might need.  I will be happy to provide SSH access to my box, since it 
isn't production yet.

Reproducible: Always
Steps to Reproduce:
1.reboot - same amound of RAM reported every time
2.
3.




 07:55:52  up 1 min,  1 user,  load average: 0.20, 0.13, 0.05
52 processes: 50 sleeping, 1 running, 1 zombie, 0 stopped
CPU states:  8.8% user, 13.8% system,  0.0% nice,  0.0% iowait, 77.3% idle
Mem:   904044k av,   51788k used,  852256k free,       0k shrd,    2944k buff
        13228k active,              26892k inactive
Swap: 1309288k av,       0k used, 1309288k free                   25684k cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 6502 root      17   0   996  996   780 R     0.9  0.1   0:00 top
    1 root       9   0   500  500   440 S     0.0  0.0   0:03 init
    2 root       9   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root      18  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
    4 root       9   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    5 root       9   0     0    0     0 SW    0.0  0.0   0:00 bdflush
    6 root       9   0     0    0     0 SW    0.0  0.0   0:00 kupdated
   12 root       9   0     0    0     0 SW    0.0  0.0   0:00 khubd
   13 root       9   0     0    0     0 SW    0.0  0.0   0:00 kjournald
   46 root       9   0   892  892   600 S     0.0  0.0   0:00 devfsd
 5527 root       9   0   576  576   472 S     0.0  0.0   0:00 syslogd
 5529 root       9   0   536  536   388 S     0.0  0.0   0:00 klogd
 5532 named      9   0  2416 2416  1836 S     0.0  0.2   0:00 named
 5578 root       9   0  8564 8564  8448 S     0.0  0.9   0:00 apache
 5652 root       9   0   568  568   556 S     0.0  0.0   0:00 authdaemond.pla
 5677 root       8   0   524  524   456 S     0.0  0.0   0:00 couriertcpd
 5687 root       9   0   268  268   220 S     0.0  0.0   0:00 courierlogger
 5736 root       8   0   524  524   456 S     0.0  0.0   0:00 couriertcpd
 5743 root       9   0   268  268   220 S     0.0  0.0   0:00 courierlogger
 5811 root       9   0  1544 1544  1168 S     0.0  0.1   0:00 cupsd
 6259 root       9   0  1180 1180   928 S     0.0  0.1   0:00 master
 6287 postfix    9   0  1112 1112   888 S     0.0  0.1   0:00 pickup
 6288 postfix    9   0  1144 1144   908 S     0.0  0.1   0:00 qmgr
 6305 root       9   0  1832 1828  1260 S     0.0  0.2   0:00 smbd
 6307 root       9   0  1656 1656  1508 S     0.0  0.1   0:00 nmbd
 6394 root       9   0  1292 1292  1168 S     0.0  0.1   0:00 sshd
chriswillis root # dmesg
Linux version 2.4.20 (root@cdimage) (gcc version 3.2.2) #1 SMP Mon May 19 
13:33:18 PDT 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 0000000000100000 - 000000004fff0000 (usable)
 BIOS-e820: 000000004fff0000 - 000000004ffffc00 (ACPI data)
 BIOS-e820: 000000004ffffc00 - 0000000050000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
found SMP MP-table at 000fe710
hm, page 000fe000 reserved twice.
hm, page 000ff000 reserved twice.
hm, page 000f0000 reserved twice.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: DELL     Product ID: PE 010B      APIC at: 0xFEE00000
Processor #0 Pentium(tm) Pro APIC version 17
I/O APIC #1 Version 17 at 0xFEC00000.
I/O APIC #2 Version 17 at 0xFEC01000.
Processors: 1
Kernel command line: root=/dev/hdb3
Initializing CPU#0
Detected 1196.835 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2385.51 BogoMIPS
Memory: 903904k/917504k available (2054k kernel code, 13216k reserved, 693k 
data, 140k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel(R) Celeron(TM) CPU                1200MHz stepping 04
per-CPU timeslice cutoff: 731.44 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Error: only one processor found.
ENABLING IO-APIC IRQs
Setting 1 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 1 ... ok.
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
 IO-APIC (apicid-pin) 1-0, 1-2, 1-10, 1-11, 1-13, 2-5, 2-6, 2-9 not connected.
..TIMER: vector=0x31 pin1=-1 pin2=0
...trying to set up timer (IRQ0) through the 8259A ...
..... (found pin 0) ...works.
number of MP IRQ sources: 37.
number of IO-APIC #1 registers: 16.
number of IO-APIC #2 registers: 16.
testing the IO APIC.......................

IO APIC #1......
.... register #00: 01000000
.......    : physical APIC id: 01
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 001 01  0    0    0   0   0    1    1    31
 01 001 01  0    0    0   0   0    1    1    39
 02 000 00  1    0    0   0   0    0    0    00
 03 001 01  0    0    0   0   0    1    1    41
 04 001 01  0    0    0   0   0    1    1    49
 05 001 01  1    1    0   1   0    1    1    51
 06 001 01  0    0    0   0   0    1    1    59
 07 001 01  0    0    0   0   0    1    1    61
 08 001 01  0    0    0   0   0    1    1    69
 09 001 01  0    0    0   0   0    1    1    71
 0a 000 00  1    0    0   0   0    0    0    00
 0b 000 00  1    0    0   0   0    0    0    00
 0c 001 01  0    0    0   0   0    1    1    79
 0d 000 00  1    0    0   0   0    0    0    00
 0e 001 01  0    0    0   0   0    1    1    81
 0f 001 01  0    0    0   0   0    1    1    89

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 0C000000
.......     : arbitration: 0C
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 001 01  1    1    0   1   0    1    1    91
 01 001 01  1    1    0   1   0    1    1    99
 02 001 01  1    1    0   1   0    1    1    A1
 03 001 01  1    1    0   1   0    1    1    A9
 04 001 01  1    1    0   1   0    1    1    B1
 05 000 00  1    0    0   0   0    0    0    00
 06 000 00  1    0    0   0   0    0    0    00
 07 001 01  1    1    0   1   0    1    1    B9
 08 001 01  1    1    0   1   0    1    1    C1
 09 000 00  1    0    0   0   0    0    0    00
 0a 001 01  1    1    0   1   0    1    1    C9
 0b 001 01  1    1    0   1   0    1    1    D1
 0c 001 01  1    1    0   1   0    1    1    D9
 0d 001 01  1    1    0   1   0    1    1    E1
 0e 001 01  1    1    0   1   0    1    1    E9
 0f 001 01  1    1    0   1   0    1    1    32
IRQ to pin mappings:
IRQ0 -> 0:0
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ12 -> 0:12
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 1:0
IRQ17 -> 1:1
IRQ18 -> 1:2
IRQ19 -> 1:3
IRQ20 -> 1:4
IRQ23 -> 1:7
IRQ24 -> 1:8
IRQ26 -> 1:10
IRQ27 -> 1:11
IRQ28 -> 1:12
IRQ29 -> 1:13
IRQ30 -> 1:14
IRQ31 -> 1:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1196.8582 MHz.
..... host bus clock speed is 99.7380 MHz.
cpu: 0, clocks: 997380, slice: 498690
CPU0<T0:997376,T1:498672,D:14,S:498690,C:997380>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfc82e, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus 01 [IRQ]
PCI: Using IRQ router ServerWorks [1166/0201] at 00:0f.0
PCI->APIC IRQ transform: (B0,I2,P0) -> 20
PCI->APIC IRQ transform: (B0,I10,P0) -> 30
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI 
ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ServerWorks CSB5: IDE controller on PCI bus 00 dev 79
ServerWorks CSB5: detected chipset, but driver not compiled in!
ServerWorks CSB5: chipset revision 146
ServerWorks CSB5: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x08b0-0x08b7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x08b8-0x08bf, BIOS settings: hdc:pio, hdd:pio
hdb: C/H/S=0/0/0 from BIOS ignored
hda: SAMSUNG CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
hdb: WDC WD400BB-18DEA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdb: setmax LBA 78125040, native  78125000
hdb: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=77504/16/63
hda: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 /dev/ide/host0/bus0/target1/lun0: [PTBL] [4863/255/63] p1 p2 p3
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0a.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xec80. Vers LK1.1.16
eepro100.c:v1.09j-t 9/29/99 Donald Becker 
http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin 
<saw@saw.sw.com.sg> and others
eth1: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:C0:9F:12:0A:E2, IRQ 20.
  Receiver lock-up bug exists -- enabling work-around.
  Board assembly 07195d-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).
  Receiver lock-up workaround activated.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized radeon 1.1.1 20010405 on minor 1
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
SCSI subsystem driver Revision: 1.00
megaraid: v1.18 (Release Date: Thu Oct 11 15:02:53 EDT 2001)
megaraid: no BIOS enabled.
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 140k freed
Adding Swap: 1309288k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,67), internal journal
chriswillis root #
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 Intel(R) Celeron(TM) CPU                1200MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /var/bind:/usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm imlib jpeg kde gnome 
libg++ mikmod mmx mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell 
svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java X tcpd pam 
libwww ssl perl python esd gtk qt motif opengl"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -pipe"
CXXFLAGS="-O3 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 steveb 2003-05-20 19:15:17 UTC
i think this has nothing to do with the gentoo distribution. i think it is your kernel configuration wich is not okay. could you post what kernel you are using and maybe the .config file?

cheers

SteveB
Comment 2 Nathan Adams 2003-06-10 20:32:25 UTC
I think Steve B is correct; this is a config issue and not a bug. The user needs to compile with the CONFIG_HIGHMEM4G flag set. See http://strasbourg.linuxfr.org/jl3/features-2.3-2.html for more information.
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-09 21:41:13 UTC
well, seems like a config issue and the end-user has not repsonded.

closing.