Date: Mon, 30 Aug 2004 19:08:28 +0200 From: =?ISO-8859-1?Q?Val=E9ry?= <valery@no-log.org> To: freebsd-hardware@freebsd.org Subject: [5.2.1] - Kernel/Memory segmentation fault : a solution. Message-ID: <41335F0C.5030400@no-log.org>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41335F0C.5030400>