From owner-freebsd-stable@FreeBSD.ORG Thu Jun 26 19:54:41 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F90B106564A; Thu, 26 Jun 2008 19:54:41 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 457CC8FC16; Thu, 26 Jun 2008 19:54:41 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 137ED1CC031; Thu, 26 Jun 2008 12:54:41 -0700 (PDT) Date: Thu, 26 Jun 2008 12:54:41 -0700 From: Jeremy Chadwick To: Kelly Black Message-ID: <20080626195441.GA2608@eos.sc1.parodius.com> References: <1b1b33f10806261134v7ce1750ek17d8985fc7263141@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b1b33f10806261134v7ce1750ek17d8985fc7263141@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org, jhb@freebsd.org Subject: Re: Problem with /boot/loader X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 19:54:41 -0000 On Thu, Jun 26, 2008 at 02:34:44PM -0400, Kelly Black wrote: > >On Wed, Jun 25, 2008 at 7:38 AM, Kelly Black wrote: > >> I have a problem with loader. I recently upgraded from 6_rel to 7_rel. > >> Now when I install world there is a problem booting. > >> > >> Here is what I do: > >[snip] > >> Now when I reboot there is a problem. I get an error that the system > >> cannot boot. Part of it looks like this: > >> Can't work out which disk we are booting from. > >> Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0: > >> > >> If I boot from a live disk and replace /boot/loader with > >> /boot/loader.old it boots up fine and everything looks good. A new > >> world and a new kernel. I would be grateful for any help or any > >> pointers. > > > >What do you have in /etc/make.conf? I recall there being a point in > >time where incorrect CFLAGS options could build a broken loader. > > > >Try renaming /etc/make.conf (or just commenting out all > >CFLAGS/CXXFLAGS options) and rebuilding either just the loader or the > >whole world, and see if that makes a difference. > > Hello, > > Thank you for the reply. I put my make.conf file back to its default > when I first did the upgrade to avoid other kinds of problems: > > make.conf > # added by use.perl 2008-04-07 11:54:35 > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > > And it still produced the loader that does not load. Kelly, A couple things: I'm wondering if you're getting bit by changes made to loader(8) by John Baldwin last year. Those changes were positive and increased compatibility with systems greatly, but there were a couple reports of users whose systems preferred the old "method" used. Those changes are documented here; and yes, I realise you don't get a screen full of continual register dumps, but different people saw different behaviour: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues Also see these mailing list threads: http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078755.html http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038214.html Secondly, you said you migrated from "6_rel to 7_rel". Do you mean 7.0-RELEASE, or are you referring to the RELENG_7 tag? What tag are you following when doing csup/cvsup? CC'ing John as well. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |