From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 28 01:22:16 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63C7C16A407 for ; Thu, 28 Dec 2006 01:22:16 +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 909D913C466 for ; Thu, 28 Dec 2006 01:22:15 +0000 (UTC) (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 kBS0hFdm059827; Wed, 27 Dec 2006 19:43:17 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Wed, 27 Dec 2006 19:42:53 -0500 User-Agent: KMail/1.9.4 References: <458D36E4.9000900@dnainternet.net> <200612240836.11747.ogautherot@vtr.net> <458E795B.9020805@dnainternet.net> In-Reply-To: <458E795B.9020805@dnainternet.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612271942.53932.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, 27 Dec 2006 19:43:18 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2386/Wed Dec 27 13:32:31 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.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Erik Udo , olivier@gautherot.net Subject: Re: memory holes 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: Thu, 28 Dec 2006 01:22:16 -0000 On Sunday 24 December 2006 07:58, Erik Udo wrote: > Yes, i got it working after having two memoy modules that match in bus > speed. > > But, i was wondering how BIOS had 512MB of ram. Shouldn't the speed and > stuff be invisible to the OS? Or did i have bad memory? It is invisible, but the memory may not have worked, and FreeBSD does a few simple memory tests on almost all the memory before it uses it, so FreeBSD may have just ignored the memory that didn't work. > Olivier Gautherot wrote: > > Hi Erik! > > > > Mixing memory modules with different speeds is generally a dangerous thing to > > do. I would strongly recommend you match them all. The fact that your 384MB > > configuration worked is in no way a garantee that the 512MB config you > > describe should work (I would even say that it is a miracle that it ever > > worked in the first place). The problems you describe with the various *BSD > > sound very much like soft errors - which may happen with out-of-spec bus > > frequency. > > > > Merry Christmas > > Olivier > > > > On Saturday 23 December 2006 14:30, Erik Udo wrote: > >> OK. I've tested OpenBSD and NetBSD. > >> > >> Both find 512MB of ram, but.. > >> NetBSD crashes after boot stage when it starts to load the kernel. > >> (thanks NetBSD team for not building the kernel image with debugging > >> symbols, but you did build it with DDB) > >> > >> OpenBSD finds 512MB of ram too, but... > >> it wont find my hard disk, even thought it has wd0 as a hard disk in dmesh. > >> > >> To add to my previous post, i tested with 128MB PC100 + 32MB PC100. Both > >> memory modules was found by FreeBSD and put to use. > >> > >> Which leads me to the conclusion: Why can't FreeBSD use PC133 memory > >> when OpenBSD can? Did someone forget to port drivers for memory modules? :P > >> > >> Erik Udo wrote: > >>> I upgraded my hardware and software yesturday, and for some reason, > >>> FreeBSD only 'detects' 128MB of the memory, when the BIOS is clearly > >>> seeing 512MB. OpenBSD also finds 512MB of memory. > >>> > >>> So i added one 128MB ECC memory. There was one 128MB PC100 and 256MB > >>> PC133 memory before, and it worked fine on 6.2-PRERELASE. > >>> > >>> Now that i upgraded to 6.2-RC1, from 6.2-PRERELEASE and added the 128MB > >>> memory to the 384MB i had, the kernel started giving me this error on > >>> the first line of the kernel output: > >>> "Too many holes in the physical address space, giving up" > >>> > >>> Now, i searched google for anything, and found this earlier thread: > >>> http://www.mail-archive.com/freebsd-hardware@freebsd.org/msg01624.html > >>> > >>> I also found this: > >>> http://lists.freebsd.org/pipermail/freebsd-hackers/2005-October/013932.ht > >>> ml > >>> > >>> Like the previous post says, the memory was found after the increased > >>> PHYSMAP_SIZE. I increased mine to 2*32, later 2*128. It didn't work. > >>> > >>> Also someone told me to add this line to the kernel config: > >>> options MAXMEM=524288 > >>> > >>> That didn't work either. > >>> > >>> I also tried to toggle all the bios settings on the computer, i even > >>> upgraded the bios. Nothing. > >>> > >>> Now i found out that OpenBSD sees 512MB of memory, so there must be some > >>> kind of trick to make FreeBSD recognize that memory too. > >>> > >>> Here is some output of my verbose boot: > >>> > >>> with 512MB: > >>> real memory = 134234112 (128 MB) > >>> Physical memory chunk(s): > >>> 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) > >>> 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) > >>> 0x0000000000c25000 - 0x0000000007d82fff, 118874112 bytes (29022 pages) > >>> avail memory = 121798656 (116 MB) > >>> > >>> Anyone have any ideas? > >>> > >>> Thanks, > >>> Erik > >>> _______________________________________________ > >>> freebsd-hardware@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > >>> To unsubscribe, send any mail to > >>> "freebsd-hardware-unsubscribe@freebsd.org" > >> _______________________________________________ > >> freebsd-hardware@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > >> To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" > -- John Baldwin