From owner-freebsd-i386@FreeBSD.ORG Thu Sep 28 10:32:06 2006 Return-Path: X-Original-To: freebsd-i386@freebsd.org Delivered-To: freebsd-i386@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C60116A403 for ; Thu, 28 Sep 2006 10:32:06 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01C5B43DB0 for ; Thu, 28 Sep 2006 10:31:42 +0000 (GMT) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by diri.bris.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1GStB5-0003JU-8d for freebsd-i386@freebsd.org; Thu, 28 Sep 2006 11:31:41 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1GSt9D-0007cw-Hb for freebsd-i386@freebsd.org; Thu, 28 Sep 2006 11:29:50 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.13.4/8.13.4) with ESMTP id k8SAQu9R000667 for ; Thu, 28 Sep 2006 11:26:56 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from shterenl@localhost) by mech-aslap33.men.bris.ac.uk (8.13.4/8.13.4/Submit) id k8SAQutw000666 for freebsd-i386@freebsd.org; Thu, 28 Sep 2006 11:26:56 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: shterenl set sender to mexas@bristol.ac.uk using -f Date: Thu, 28 Sep 2006 11:26:56 +0100 From: Anton Shterenlikht To: freebsd-i386@freebsd.org Message-ID: <20060928102656.GA540@mech-aslap33.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Spam-Score: -1.1 X-Spam-Level: - Subject: boot2 -> BTX halted, but loader(8) boots fine X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 10:32:06 -0000 I'm trying to bootstrap the system using boot2 directly as described in the Admin Guide (3rd edition, 2004, section 2.3) and in the man page for boot(8), FreeBSD 6.0, dated 18/08/2005. I have 3 different kernels. However, no matter which kernel I choose at the boot prompt, I always get "BTX halted". An example is reporduced below. - FreeBSD/i386 boot Default 0:ad(0,a)/boot/loader boot: /boot/kernel/kernel int=00000006 err=00000000 efl=00010002 eip=c0443c30 eax=c0443c30 ebx=c0a273c4 ecx=c0a273c4 edx=a020001e esi=00000050 edi=c0443c30 ebp=00002275 esp=0009eaf0 cs:eip=ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff ss:esp=69 95 00 00 00 00 00 80-1e 00 20 a0 00 00 00 00 00 00 00 00 00 00 00 00-a0 dc 00 78 4b 09 00 00 BTX halted At this point I have to reboot with CTRL+ALT+DEL. Only values of the following registers(?) change for 3 different kernels: eip, eax, ebx, ecx, edi, ebp. However, the values are always identical for eip, eix, edi and for ebx, ecx. All other values do not change from one kernel to another. Bootstrapping with loader(8) works fine, I can load any kernel. I use FreeBSD 6.0-release on compaq armada 1700 laptop with BIOS dated 11/30/1999. I cannot find a newer BIOS version for this model. I've read several reports regarding BTX halted issue on old compaq. Most people report turing off UDMA or DMA in BIOS as a solution. I cannot see any DMA settings in my BIOS (I used Compaq Computer Setup for Portables, ver 2.01H dated 24 Jan 1999). I'm also not sure if it applies in my case as booting with loader(8) works with no problems. How can I learn about the meaning of the registers(?) above? Do I need to look into the souces for /boot/boot2? Am I at all correct in thinking that it is /boot/boot2 that reports BTX halted? thanks anton