From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 15:36:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A78A01065673 for ; Thu, 28 Feb 2008 15:36:01 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 546BF8FC1D for ; Thu, 28 Feb 2008 15:36:01 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:60023 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JUkng-0007We-3u for freebsd-questions@freebsd.org; Thu, 28 Feb 2008 16:36:00 +0100 Received: (qmail 10848 invoked from network); 28 Feb 2008 16:35:57 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 28 Feb 2008 16:35:57 +0100 Received: (qmail 22938 invoked by uid 1001); 28 Feb 2008 16:35:57 +0100 Date: Thu, 28 Feb 2008 16:35:57 +0100 From: Erik Trulsson To: Pedro Almeida Message-ID: <20080228153557.GA22894@owl.midgard.homeip.net> Mail-Followup-To: Pedro Almeida , freebsd-questions@freebsd.org References: <47C6D053.20908@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47C6D053.20908@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JUkng-0007We-3u. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JUkng-0007We-3u e213775a7de1266b04968f15b2b34fbc Cc: freebsd-questions@freebsd.org Subject: Re: panic: free: guard1 fail @ 0x6c23c 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, 28 Feb 2008 15:36:01 -0000 On Thu, Feb 28, 2008 at 03:16:35PM +0000, Pedro Almeida wrote: > I upgraded my system from 6.2 to 7.0 using cvsup. > I'm using ULE and device polling. After doing make installworld and reboot, > the system > don't boot anymore. I have some variables in make.conf, but I don't know if > this the cause of the problem. > CPUTYPE?=p3 > CFLAGS= -O2 -pipe -funroll-loops -ffast-math > COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math > Any ideas of how to fix this? Thanks a lot I don't know if the make.conf variables you show are the cause, but it would not surprise me. I would suggest you remove CFLAGS and COPTFLAGS entirely from make.conf and just relying on the default values for them (which are '-O2 -pipe -fno-strict-aliasing'. The flags you use are unlikely to bring any noticable improvements compared to the default, but are likely to make code misbehave. > > > Can't work out which disk we are booting from. > Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0: > panic: free: guard1 fail @ 0x6c23c > from /usr/src/sys/boot/i386/loader/../../common/module.c:959 > press any key to reboot -- Erik Trulsson ertr1013@student.uu.se