From nobody@FreeBSD.org  Mon Oct 23 11:46:50 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 49B5D16A403
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Oct 2006 11:46:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D4F8643D60
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Oct 2006 11:45:02 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9NBiwg0026781
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Oct 2006 11:44:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k9NBiw1O026780;
	Mon, 23 Oct 2006 11:44:58 GMT
	(envelope-from nobody)
Message-Id: <200610231144.k9NBiw1O026780@www.freebsd.org>
Date: Mon, 23 Oct 2006 11:44:58 GMT
From: Anton Shterenlikht<mexas@bris.ac.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: boot2 -> BTX halted, but loader(8) boots fine
X-Send-Pr-Version: www-3.0

>Number:         104709
>Category:       i386
>Synopsis:       boot2 -> BTX halted, but loader(8) boots fine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 23 11:50:19 GMT 2006
>Closed-Date:    Thu Oct 26 12:16:40 GMT 2006
>Last-Modified:  Mon Nov 27 15:00:31 GMT 2006
>Originator:     Anton Shterenlikht
>Release:        6.0-RELEASE
>Organization:
Bristol University
>Environment:
FreeBSD 6.0-RELEASE #1: Thu Sep 14 10:40:41 BST 2006     /usr/src/sys/i386/compile/SC  i386
>Description:
I'm trying to bootstrap the system using boot2 directly (bypassing
loader(8)) as described in the Admin Guide, in the Architecture Guide
and in the boot(8) man page. 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 the following registers change for 3 different kernels:
eip = eax = edi, ebx = ecx, ebp. 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-To-Repeat:
Reboot and hit any key before loader(8) starts. Then load any kernel
from boot2 prompt.
>Fix:
no idea
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Thu Oct 26 12:16:09 UTC 2006 
State-Changed-Why:  
Duplicate of PR i386/96430. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104709 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/104709: commit references a PR
Date: Thu, 26 Oct 2006 19:16:15 +0000 (UTC)

 ru          2006-10-26 19:15:54 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/boot/i386/boot2  boot2.c 
   Log:
   Back out rev. 1.71 as it breaks directly loading (i386) kernels.
   
   OK'ed by:       jhb
   PR:             i386/96430, i386/104709
   MFC after:      3 days
   
   Revision  Changes    Path
   1.80      +3 -3      src/sys/boot/i386/boot2/boot2.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/104709: commit references a PR
Date: Mon, 27 Nov 2006 14:50:48 +0000 (UTC)

 ru          2006-11-27 14:49:38 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/boot/i386/boot2  boot2.c 
   Log:
   MFC: 1.80: Restore support for directly loaded kernels.
        1.81: Restore support for -c and -d.
   
   PR:             i386/96430, i386/104709
   
   Revision  Changes    Path
   1.72.2.5  +7 -5      src/sys/boot/i386/boot2/boot2.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
