From owner-freebsd-stable@FreeBSD.ORG Tue Apr 8 21:22:44 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 AFC1D10656E1 for ; Tue, 8 Apr 2008 21:22:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 387FF8FC16 for ; Tue, 8 Apr 2008 21:22:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 238405210-1834499 for multiple; Tue, 08 Apr 2008 17:22:25 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m38LMTuY057987; Tue, 8 Apr 2008 17:22:37 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Tue, 8 Apr 2008 14:27:07 -0400 User-Agent: KMail/1.9.7 References: <47F6A733.8060308@demax.sk> <47F777F4.9060507@demax.sk> <20080408141521.GE1317@core.byshenk.net> In-Reply-To: <20080408141521.GE1317@core.byshenk.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804081427.07839.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]); Tue, 08 Apr 2008 17:22:37 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6671/Tue Apr 8 13:52:06 2008 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: Greg Byshenk Subject: Re: 7-STABLE bootloader not working on Asus TR-DLS 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: Tue, 08 Apr 2008 21:22:44 -0000 On Tuesday 08 April 2008 10:15:22 am Greg Byshenk wrote: > I'm piggybacking this onto the previous bootloader thread because I have > a suspicion that my problem may be related to the 'fix' for the prveious > problem. > > I've got a machine (old-ish) that will not boot with the changes to > src/sys/boot/i386 in March. > > It it a dual-p3 system running on an Asus tr-dls motherboard (with most > recent -- from 2002, but that is the most recent) BIOS updates: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1266.72-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > Features=0x383fbff > real memory = 2147463168 (2047 MB) > avail memory = 2091913216 (1995 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 3 > cpu1 (AP): APIC ID: 0 > > When I install the most recent world (for example, a build of 7-STABLE from > 01-04-2008), it simply fails to boot. No panic, no crash, but just stops. > > I get to: > > [...] > BTX loader 1.00 BTX version is 1.02 > Consoles: internal video/keyboard > BIOS drive A: is disk0 > > ... and then nothing ... just hangs permanently > > If I change back to 7-RELEASE, or to 7-STABLE as of 18-03-2008, there is > no problem at all. If I run the system with 01-04-2008 world, but copy > back in the contents of /boot from 18-03-2008, then there is again no > problem. I can copy in the 01-04-2008 kernel and run under that, and there > is no problem (it is running like that now). But I have to use the old > version of the booloader. > > I'm not a coder, and haven't looked more deeply, but it appears that > something in here: > > i386/src/sys/boot/i386/btx/btx/Makefile > i386/src/sys/boot/i386/btx/btx/btx.S It would be these changes. Debugging this will be hard. :( Are you familiar with x86 assembly at all? -- John Baldwin