From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 9 20:23:51 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2851516A4DD for ; Wed, 9 Aug 2006 20:23:51 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96EEC43D55 for ; Wed, 9 Aug 2006 20:23:44 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k79KNY5h066049; Wed, 9 Aug 2006 16:23:34 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Krassimir Slavchev Date: Wed, 9 Aug 2006 14:31:49 -0400 User-Agent: KMail/1.9.1 References: <200608090908.k79988pY086073@fire.jhs.private> <200608090832.30259.jhb@freebsd.org> <44D9D8D0.1020704@bulinfo.net> In-Reply-To: <44D9D8D0.1020704@bulinfo.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608091431.50183.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Wed, 09 Aug 2006 16:23:34 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1642/Wed Aug 9 10:30:49 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Julian Stacey , freebsd-hardware@freebsd.org Subject: Re: Real and available memory? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 20:23:51 -0000 On Wednesday 09 August 2006 08:45, Krassimir Slavchev wrote: > John Baldwin wrote: > > On Wednesday 09 August 2006 06:13, Krassimir Slavchev wrote: > > > >> Julian Stacey wrote: > >> > >>> Reference: > >>> > >>> > >>>> From: Krassimir Slavchev > >>>> Date: Wed, 09 Aug 2006 11:46:33 +0300 > >>>> Message-id: <44D9A0E9.30608@bulinfo.net> > >>>> > >>>> > >>> Krassimir Slavchev wrote: > >>> > >>> > >>>> Julian H. Stacey wrote: > >>>> > >>>> > >>>>> Krassimir Slavchev wrote: > >>>>> > >>>>> > >>>>> > >>>>>> Julian H. Stacey wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>> Krassimir Slavchev wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> Hello, > >>>>>>>> > >>>>>>>> I have Vortex86-6082 with 128Mb AMI bios. > >>>>>>>> > >>>>>>>> Why the kernel reports only 80 MB available memory? > >>>>>>>> Is this related to BIOS or kernel settings? > >>>>>>>> > >>>>>>>> dmesg output: > >>>>>>>> > >>>>>>>> Copyright (c) 1992-2006 The FreeBSD Project. > >>>>>>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > >>>>>>>> The Regents of the University of California. All rights reserved. > >>>>>>>> FreeBSD 6.1-STABLE #0: Wed Jul 26 10:09:06 EEST 2006 > >>>>>>>> root@krassi:/usr/obj/usr/src/sys/TINYBSD > >>>>>>>> Timecounter "i8254" frequency 1193182 Hz quality 0 > >>>>>>>> CPU: Pentium (166.61-MHz 586-class CPU) > >>>>>>>> Origin = "SiS SiS SiS " Id = 0x505 > >>>>>>>> real memory = 125829120 (120 MB) > >>>>>>>> avail memory = 84332544 (80 MB) > >>>>>>>> kbd1 at kbdmux0 > >>>>>>>> ... > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> Does the mboard BIOS on monitor at boot recognise all 128 M ? > >>>>>>> > >>>>>>> I've seen boards that only recognised 1/4 of the SIM size. > >>>>>>> 80 seems a bit of an odd (non hex) number though. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> Yes, at boot the board recognizes 128Mb. The RAM is embedded on the board. > >>>>>> The kernel reports real 120 Mb because maybe 8 Mb is used by video card. > >>>>>> I don't know why exact 80Mb is reported but 80 = 64+16. > >>>>>> > >>>>>> > >>>>>> > >>>>> Have you tried unplugging every board (inc. ethernet scsi raid etc) > >>>>> & plugging in a different (modest, old as possible. less demanding) > >>>>> graphic card ? Maybe that'd give a clue, maybe your graphics card > >>>>> is taking more than 8M ? > >>>>> > >>>>> > >>>>> > >>>>> > >>>> No, I can't unplug anything, see: > >>>> http://www.icop.com.tw/products_detail.asp?ProductID=119 > >>>> > >>>> > >>> Interesting little board, (might be of interest to other freebsd.org > >>> mail lists eg small, real time ). > >>> > >>> That URL specifies > >>> 128MB SDRAM > >>> ... > >>> AGP Rev.2.0 compliant > >>> Shared system memory up to 64MB (Default 8 MB) > >>> Maybe BIOS is no longer defaulting to 8 Meg ? > >>> Checkable / Settable in BIOS ? > >>> > >>> > >>> > >> I can't find anything related to video memory in the BIOS but it seems > >> to be correct > >> real memory = 120 Mb reported by the kernel. > >> My question is why the available memory is only 80Mb? > >> > > > > Are you using an MFS root or a really large kernel? > > > > > Yes, MFS root is 32 Mb and kernel is ~3.4Mb Well, that's where the missing 40 meg is. :) The kernel text (including any modules and preloaded mfsroot's) aren't include in the 'avail memory' count. -- John Baldwin