From owner-freebsd-current@FreeBSD.ORG Sat Sep 4 12:47:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F8316A4CE; Sat, 4 Sep 2004 12:47:54 +0000 (GMT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id BBB5E43D3F; Sat, 4 Sep 2004 12:47:53 +0000 (GMT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Sep 2004 13:47:53 +0100 (BST) To: andrew.lankford@verizon.net In-Reply-To: Your message of "Sat, 04 Sep 2004 00:10:49 CDT." <20040904051049.DWQM14580.out011.verizon.net@outgoing.verizon.net> Date: Sat, 04 Sep 2004 13:47:49 +0100 From: Ian Dowse Message-ID: <200409041347.aa05366@salmon.maths.tcd.ie> cc: amd64@freebsd.org cc: current@freebsd.org Subject: Re: Latest MFCs break boot on amd64 notebook. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 12:47:55 -0000 In message <20040904051049.DWQM14580.out011.verizon.net@outgoing.verizon.net>, Andrew Lankford writes: >Unfortunately, due to either a mistake on my part or a spiteful Makefile, /boo >t/kernel.old/ is totally gone. I wish it wasn't, otherwise I'd be able to loo >k at the contents of my root partition more carefully. As you suggested, /boo >t/loader.old works almost as well as /boot/loader but the old version doesn't >allow me to load/unload modules like I can with the new version. But it doesn >'t matter whether I'm using /boot/loader.old or /boot/loader. As soon as I ha >ve /boot/kernel/kernel loaded into memory and tell it to boot, the "-\|/" twir >ley spins for a fraction of a second, freezes, and the computer powers down a >few seconds later. Thanks for these details. The fact that the kernel copyright messages etc don't get displayed even with the old loader makes it seem unlikely that it is a direct problem with the module preloading. Maybe the kernel itself is corrupt - this could happen for example if the system did not shut down cleanly immediately after writing it to disk. Does the "lsmod" loader command display sensible results after "load /boot/kernel/kernel"? If ACPI causes problems, you can also check with lsmod that you haven't accidentally compiled it in. In theory it should be possible to load the kernel from the compile directory by giving the loader the full partition-relative path, e.g load disk0s1e:/obj/usr/src/sys/amd64/compile/MYCONF/kernel where "disk0s1e" is your /usr partition and the path is the compile directory relative to /usr. Unfortunately this doesn't seem to work for me, so it may not be much help. Ian