From owner-freebsd-hardware@FreeBSD.ORG Mon Aug 30 17:09:00 2004 Return-Path: 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 63EEC16A4CE for ; Mon, 30 Aug 2004 17:09:00 +0000 (GMT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1CC043D31 for ; Mon, 30 Aug 2004 17:08:58 +0000 (GMT) (envelope-from valery@no-log.org) Received: from [192.168.0.22] (gambetta-2-82-67-185-6.fbx.proxad.net [82.67.185.6]) by postfix3-1.free.fr (Postfix) with ESMTP id 8114A173BEB for ; Mon, 30 Aug 2004 19:08:57 +0200 (CEST) Message-ID: <41335F0C.5030400@no-log.org> Date: Mon, 30 Aug 2004 19:08:28 +0200 From: =?ISO-8859-1?Q?Val=E9ry?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [5.2.1] - Kernel/Memory segmentation fault : a solution. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 17:09:00 -0000 Hello, i met an error when compiling a new kernel : "Memory error : segmentation fault" (i tried to compile orginal GENERIC and my own, and the same result appear). This kinds of computing stress the memory, and if you have a bad one, you'll get this message. Changing my 256Mo memory to a "10 years guaranted", exactly what is specified by the mobo, the trouble continued. Because i'm using an IGP graphic card, you must know that this one use the main memory to allocate his own. For example, when you boot, if you have installed 256Mo of main memory, system say that you have only 192Mo, and it's right, the IGP allocate 64Mo for his own space. So, knowing that, perhaps signals between BSD and the mobo are not clear, and this will explain my "memory fault" (system trying to use more than available for him ?.., i don't know, because BSD say well that i have 192Mo, not 256). Thus, searching, i have found a solution to avoid that : you "must" just add one parameter in loader.conf, and all will be nice : /boot/loader.conf hw.physmem="your_exact_ammount_of_memoryM" you can specify hw.physmem="128M", or "131072K", or use the suffix G for 1Go, and so one (see loader(8)) Setting this parameter was good for me, my new kernel compile without error, even with my old memory. This tips perhaps will avoid to someone to buy a very expensive "10 years guaranted" memory. Regards to the community, -- v/