From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 02:42:35 2005 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 5D2DB16A41F; Thu, 10 Nov 2005 02:42:35 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from mailgate.bytemobile.com (mailgate.bytemobile.com [209.10.233.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9747F43D4C; Thu, 10 Nov 2005 02:42:28 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 9 Nov 2005 18:42:25 -0800 From: Giorgos Keramidas To: myfreebsd@cox.net Message-ID: <20051110024225.GA94049@flame.pc> References: <20051110015328.URCV22723.eastrmmtao02.cox.net@[172.18.52.8]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051110015328.URCV22723.eastrmmtao02.cox.net@[172.18.52.8]> X-OriginalArrivalTime: 10 Nov 2005 02:42:28.0176 (UTC) FILETIME=[63CBDD00:01C5E5A0] Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Fails to boot after buildworld 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: Thu, 10 Nov 2005 02:42:35 -0000 On 2005-11-09 20:53, myfreebsd@cox.net wrote: > Hey all, > > I don't know if this is a bug somewhere in the source but my > system will not boot after I buildworld FreeBSD 6.0. I get the > error: > > Can't work out which disk to boot from > > This error occurs right after the loader is booted and before > the FreeBSD menu. System of course stalls here and says to > press a key to reboot. > > I used the GENERIC kernel, empty loader.conf, my cvs tag = > RELENG_6 and my make.conf has: > > CPUTYPE?=pentium4 > CFLAGS= -O2 -mmmx -msse -msse2 -pipe -funroll-loops -ffast-math > CXXFLAGS+= -fconserve-space > COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math Try without all those fancy optimizations. There's a very good comment in /usr/share/examples/etc/make.conf' which you may be interested in reading carefully: # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings other than -O and -O2 are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" or -O2 before submitting bug # reports without patches to the developers. - Giorgos PS: Please, ignore the automatically forced 'footer' below. It's automatically added by the Exchange server I'm behind and has no relation whatsoever to non-work email I post. ----------------------------------------------------------------- This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, do not forward this email to any other person, delete this e-mail and destroy all copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal.