From owner-freebsd-current@FreeBSD.ORG Wed Oct 4 18:56:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 8BFB216A494 for ; Wed, 4 Oct 2006 18:56:16 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 595C843D6A for ; Wed, 4 Oct 2006 18:56:03 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k94Itg8p036809; Wed, 4 Oct 2006 14:55:53 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ian FREISLICH Date: Wed, 4 Oct 2006 14:55:45 -0400 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610041455.45991.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 04 Oct 2006 14:55:53 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1997/Wed Oct 4 11:20:43 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-current@freebsd.org Subject: Re: boot/loader broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 04 Oct 2006 18:56:16 -0000 On Wednesday 04 October 2006 02:12, Ian FREISLICH wrote: > John Baldwin wrote: > > On Tuesday 03 October 2006 09:00, Ian FREISLICH wrote: > > > Hi > > > > > > After a build/install today, I can't boot my boxes: > > > > > > BTX loader 1.00 BTX version is 1.01 > > > Consoles: internal video/keyboard > > > BIOS drive C: is disk0 > > > BIOS 633kB/2096000kB available memory > > > > > > FreeBSD/i386 bootstrap loader, Revision 1.1 > > > (ianf@testbed, Tue Oct 3 08:22:43 SAST 2006) > > > > > > > can't load 'kernel' > > > > > > Type '?' for a list of commands, 'help' for more detailed help. > > > OK ls > > > open '/' failed: input/output error > > > OK lsdev > > > cd devices: > > > disk devices: > > > disk0: BIOS drive C: > > > pxe devices: > > > > > > I don't know what else I can get of interest from this interface. > > > It's happened to 2 of my test servers. They rebooted fine before > > > the upgrade. > > > > What drive controller do they have? Try backing out the recent commits to > > sys/boot/i386/btx/btx/btx.S in case they cause it. > > It's an Adaptec 2410SA. I tried ru's suggestion and the old loader works. > > Some time between: > > -r-xr-xr-x 1 root wheel 245760 Sep 26 12:03 /boot/loader.working > -r-xr-xr-x 1 root wheel 245760 Oct 3 12:31 /boot/loader.broken > > 1.41 of sys/boot/i386/btx/btx/btx.S breaks the loader. Try www.freebsd.org/~jhb/patches/btx_fix.patch I misused leal, the scale is a multiplicative factor in gas, not a shift count. -- John Baldwin