Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2008 20:24:15 +0200
From:      "Julian Stacey" <jhs@berklix.org>
To:        freebsd-hackers@freebsd.org
Subject:   Not seeing enough memory though its there.
Message-ID:  <200805151824.m4FIOFBm000937@fire.js.berklix.net>

next in thread | raw e-mail | index | archive | help
Hi Hackers cc Gary J,
On a Compaq Pressario 2254 with 7.0-Release & Generic kernel, I'm
not seeing enough RAM: A 128M DIM reports as 56M, a 256M reports as
96M.  Any ideas please ?

   dmesg
	FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
	    root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
	Timecounter "i8254" frequency 1193182 Hz quality 0
	CPU: AMD-K6tm w/ multimedia extensions (233.03-MHz 586-class CPU)
	  Origin = "AuthenticAMD"  Id = 0x562  Stepping = 2
	  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
	  AMD Features=0x400<<b10>>
	real memory  = 100663296 (96 MB)
	avail memory = 84484096 (80 MB)
	pnpbios: Bad PnP BIOS data checksum		# Dont know why bad

   With a 128M RAM
	Without	hw.physmem= in /boot/loader.conf
		dmesg
			real memory  = 58720256 (56 MB)
			avail memory = 43507712 (41 MB)
		sysctl -a | grep mem
			hw.physmem: 45572096
			hw.usermem: 33267712
			hw.realmem: 58720256
	With	/boot/loader.conf hw.physmem=134217728
		same as above except
			hw.usermem: 33312768
   With a 256 RAM
	power on Bios auto resizes to about 96M !
	Without	hw.physmem=
		dmesg
			real memory  = 100663296 (96 MB)
			avail memory = 84484096 (80 MB)
		sysctl -a | grep mem
			hw.physmem: 87515136
			hw.usermem: 74280960
			hw.realmem: 100663296
	With	/boot/loader.conf hw.physmem=268435456
		same as above except
			hw.usermem: 74141696

This Compaq has just 1 RAM slot.  The RAM DIMs used:
   128M RAM (original far as I know from PC in Germany)
        Module Paper Label: 128MB Sync 133 MHz CL3; 168 pin DIM, 13.3 x 3 cm,
                Slots: 1 in middle, + 1 @ 2.45 mm from end with pins 1 & 85
        2 sides x 8 chips: Ramos 0131, RC28S0801B1-13AC
   256M borrowed from another PC bought in UK 
	(with 2 completely different RAM sources, unlikey both might be 
	 accidentaly or deliberately mislabeled (as occasionals occurs
	 re CT mag article on cache chips some years back)
	Module Paper Label: 	IRL DEM DP133 064323E
				PC133 333 520 256MB
				0137-2328-062[56]
	2 sides x 8 chips: Hynix 132A, HY57V2882DAT-H

I did check hw.physmem can set (reduce at least) in 7.0 /boot/loader.conf,
on another laptop, after a reboot, from 512M to 256M).

Julian
--
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
	Mail just Ascii plain text.  HTML & Base64 text are spam.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805151824.m4FIOFBm000937>