From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 19:39:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C71D16A41F for ; Wed, 4 Jan 2006 19:39:00 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id B757843D5F for ; Wed, 4 Jan 2006 19:38:55 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1915032wxc for ; Wed, 04 Jan 2006 11:38:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mdRJxPEA/MK7dhjcu10EhoLt+fIBrlxZ3WqWKe/q68udSV/XDE4OF4C/p0jF7qk9TiQh2zG5siqI0BV7OR8pt9tbxiNrUFAHvTLn1rGytLzei5Vo0IObSeW5IdWWGQ071qN60Ck72vyBfIay8H6loCjBcAo+Q2B+fXy9JYaz7qY= Received: by 10.70.122.16 with SMTP id u16mr1151984wxc; Wed, 04 Jan 2006 11:38:30 -0800 (PST) Received: by 10.70.66.9 with HTTP; Wed, 4 Jan 2006 11:38:30 -0800 (PST) Message-ID: Date: Wed, 4 Jan 2006 13:38:30 -0600 From: Nikolas Britton To: Crispy Beef In-Reply-To: <43BC0484.9020502@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43B951B4.1060601@ntlworld.com> <20060102184137.GI7533@osiris.chen.org.nz> <43BA9432.6090409@ntlworld.com> <43BC0484.9020502@ntlworld.com> Cc: freebsd-questions@freebsd.org Subject: Re: Kernel Compilation... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 19:39:00 -0000 On 1/4/06, Crispy Beef wrote: > Nikolas Britton wrote: > > To rule out hardware problems rebuild the generic kernel using the > > virgin GENERIC kernel config file: > > > > 0. If you've messed with /etc/make.conf change it back to the defaults! > > 1. su > > 2. cd /usr/src/sys/i386/conf > > 3. rm -r ../compile/GENERIC > > 4. config GENERIC > > 5. cd ../compile/GENERIC > > 6. make depend > > 7. make > > 8. make install > > 9. reboot > > > > If you can't get to step 8 you have a hardware problem (or FreeBSD > > wasn't installed correctly, see step 5 below): > > First time I tried this I had another seg fault (error 11) so did a compl= ete > install from the CD again (kernel developer options). It failed once dur= ing > that compile, then the second time it worked just fine. I then did my ow= n > config cutting out all the stuff I don't need and it's compiled just fine= . > Strange... > > Thinking about it, this is the only time I've got the sources from the CD= . I > always grabbed them from an ftpe server via sysinstall, maybe the newer > sources were causing problems like the guys mentioned earlier? > > Got a version of MemTest86 running too and that went for a couple of hour= s > without any errors showing up, will run it overnight to be sure. > > I guess the next thing is to have a go at make buildworld with options in > make.conf and see if it barfs then. > > Thanks for the help. :-) > > Paul > Still sounds like a hardware problem. Maybe the laptop is overheating, compiling software is always hard on a system. Also I don't think Memtest86 will show you anything even if your ram is bad. The best way to find out is to just change it out if you have extra somewhere or remove part of it and/or shuffle it around. Check for thermal issues, maybe build the kernel with the laptop in the refrigerator or something :-). If you do something like that make sure you don't get condensation buildup when you take it out of the cold and into the warm... but the humidity is always low in the winter so it shouldn't be to much of a problem.