From owner-freebsd-stable@FreeBSD.ORG Sun Mar 1 05:52:03 2009 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 D5AC61065670; Sun, 1 Mar 2009 05:52:03 +0000 (UTC) (envelope-from zanchey@ucc.gu.uwa.edu.au) Received: from panacea.ucs.uwa.edu.au (unknown [IPv6:2001:388:7094:180:250:56ff:fe96:3830]) by mx1.freebsd.org (Postfix) with ESMTP id D1E6F8FC12; Sun, 1 Mar 2009 05:52:02 +0000 (UTC) (envelope-from zanchey@ucc.gu.uwa.edu.au) Received: from kas30pipe.localhost (localhost.localdomain [127.0.0.1]) by panacea.uwa.edu.au (Postfix) with ESMTP id 338FF87AAF; Sun, 1 Mar 2009 14:52:01 +0900 (WST) Received: from panacea (localhost.localdomain [127.0.0.1]) by panacea.prekas (Postfix) with SMTP id AF65187E6E; Sun, 1 Mar 2009 14:51:52 +0900 (WST) X-UWA-Client-IP: 130.95.13.9 (UWA) Received: from mooneye.ucc.gu.uwa.edu.au (mooneye.ucc.gu.uwa.edu.au [130.95.13.9]) by panacea.extinput (Postfix) with ESMTP id 9895C87AAF; Sun, 1 Mar 2009 14:51:52 +0900 (WST) Received: by mooneye.ucc.gu.uwa.edu.au (Postfix, from userid 801) id 22D96367D2; Sun, 1 Mar 2009 14:51:51 +0900 (WST) Received: from martello.ucc.gu.uwa.edu.au (martello.ucc.gu.uwa.edu.au [130.95.13.23]) by mooneye.ucc.gu.uwa.edu.au (Postfix) with ESMTP id DA7BD367D2; Sun, 1 Mar 2009 14:51:51 +0900 (WST) Received: by martello.ucc.gu.uwa.edu.au (Postfix, from userid 11251) id BB7896C0A4; Sun, 1 Mar 2009 14:51:51 +0900 (WST) Received: from localhost (localhost [127.0.0.1]) by martello.ucc.gu.uwa.edu.au (Postfix) with ESMTP id A05936C09A; Sun, 1 Mar 2009 14:51:51 +0900 (WST) Date: Sun, 1 Mar 2009 14:51:51 +0900 (WST) From: David Adam To: Gavin Atkinson In-Reply-To: <1235563979.15704.6.camel@buffy.york.ac.uk> Message-ID: References: <1235563979.15704.6.camel@buffy.york.ac.uk> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SpamTest-Envelope-From: zanchey@ucc.gu.uwa.edu.au X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 7524 [Feb 28 2009] X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: freebsd-stable@FreeBSD.org Subject: Re: 7.1 new install halts on BTX error 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: Sun, 01 Mar 2009 05:52:04 -0000 On Wed, 25 Feb 2009, Gavin Atkinson wrote: > On Thu, 2009-01-29 at 12:13 +0900, David Adam wrote: > > I upgraded my 7.0 system to 7.1-RELEASE with freebsd-update only to find > > that it no longer boots correctly, instead crashing with a BTX backtrace. > > If I break to the loader prompt and use 'ls /boot', I also get a > > backtrace. > > > > A new install of 7.1 on this hardware using a separate SCSI card and drive > > array also leads to a BTX backtrace. I have copied this below as the first > > (most repeatable) error and also included the other problems. > > > > A fresh install of 7.0 works fine. FreeSBIE 1.0, based on FreeBSD 5.3, > > also boots fine and will happily list the contents of the original drive's > > /boot in the loader, although refuses to load the kernel. The FreeBSD 7.1 > > install CD also boots and allows me to install over FTP. > > A patch has just gone into HEAD which may fix this problem. If you want > to test it, it's at > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/btx/btx/btx.S.diff?r1=1.47;r2=1.48 > and should apply cleanly. I built and installed a new version of -CURRENT which has this patch, using the instructions at the bottom of UPDATING. To be certain - btx doesn't need loading into the boot blocks, does it? bsdlabel -wB from my 7.0-RELEASE install and then using make installworld etc with DESTDIR should ensure that the new boot binaries are installed? If so, then unfortunately the patch does not help - btx still crashes with a similar traceback to the one I originally posted. I would be more than happy to test further patches. David Adam zanchey@ucc.gu.uwa.edu.au