From owner-freebsd-stable@FreeBSD.ORG Thu Jun 26 21:53:59 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 D348F1065677 for ; Thu, 26 Jun 2008 21:53:59 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 5BB9F8FC32 for ; Thu, 26 Jun 2008 21:53:59 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7db4.q.ppp-pool.de [89.53.125.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 9B73512883F; Thu, 26 Jun 2008 23:53:52 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 498C12E823; Thu, 26 Jun 2008 23:53:06 +0200 (CEST) Message-ID: <48640FE8.9080501@vwsoft.com> Date: Thu, 26 Jun 2008 23:53:44 +0200 From: Volker User-Agent: Thunderbird 2.0.0.14 (X11/20080615) MIME-Version: 1.0 To: Kelly Black References: <1b1b33f10806250738y55fc8437l8e26c9c1698ea364@mail.gmail.com> In-Reply-To: <1b1b33f10806250738y55fc8437l8e26c9c1698ea364@mail.gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1215121988.0128@5U4wceZKTLlOTC2RxYO/hw X-MailScanner-ID: 498C12E823.4A704 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-stable@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 21:53:59 -0000 On 12/23/-58 20:59, Kelly Black wrote: > Hello, > > 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: > cd /usr/src > make buildworld > make buildkernel KERNCONF=BLACK > make installkernel KERNCONF=BLACK > > At this point I can reboot and all is good. After boot I install the new world: > > cd /usr/src > mergemaster -p > reboot into single user mode > cd /usr/src > make installworld > mergemaster > > 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. > > Sincerely, > Kel > > PS I do not do anything special with my loader config files: > > $ cat loader.conf >... Kelly, the /boot/loader.conf file does not come into play at that stage. Early in the loader code, loader needs to figure out, which disk (BIOS device) has been booted from. Until loader knows which device was booted up, it's unable to access any files (even loader.conf) on your boot device. As I've never seen such a problem while upgrading any system, I suspect your problem must be settings specific. Can you show me your kernel config or are you using a plain vanilla GENERIC? Which arch are we talking about? As I'm currently investigating another boot problem (but earlier in the boot chain), I'll check boot logic in the source code and may check for your issue, too, at that time, so it's just one effort. But please stay patient for some days, as I'm currently too busy. Volker