From ast@marabu.ch  Tue Jan 27 12:59:58 2004
Return-Path: <ast@marabu.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C0DA016A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Jan 2004 12:59:58 -0800 (PST)
Received: from oneplusone.ch (oneplusone.ch [212.55.208.170])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A9AF143D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Jan 2004 12:59:33 -0800 (PST)
	(envelope-from ast@marabu.ch)
Received: from oneplusone.ch (localhost [127.0.0.1])
	by oneplusone.ch (8.12.9p1/8.12.9) with ESMTP id i0RKu4i3093526
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Jan 2004 21:56:04 +0100 (MET)
	(envelope-from ast@marabu.ch)
Received: (from uucp@localhost)
	by oneplusone.ch (8.12.9p1/8.12.9/Submit) with UUCP id i0RKu4dC093525
	for FreeBSD-gnats-submit@freebsd.org; Tue, 27 Jan 2004 21:56:04 +0100 (MET)
	(envelope-from ast@marabu.ch)
Received: from nano.marabu.ch (localhost [127.0.0.1])
	by nano.marabu.ch (8.12.9/8.12.9) with ESMTP id i0RKo0ux088097
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Jan 2004 21:50:01 +0100 (MET)
	(envelope-from ast@nano.marabu.ch)
Received: (from ast@localhost)
	by nano.marabu.ch (8.12.9/8.12.9/Submit) id i0RKo0ci088096;
	Tue, 27 Jan 2004 21:50:00 +0100 (MET)
	(envelope-from ast)
Message-Id: <200401272050.i0RKo0ci088096@nano.marabu.ch>
Date: Tue, 27 Jan 2004 21:50:00 +0100 (MET)
From: Adrian Steinmann <ast@marabu.ch>
Reply-To: Adrian Steinmann <ast@marabu.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: btx.s patch for i386 also applies to pc98 version
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62005
>Category:       kern
>Synopsis:       btx.s patch for i386 also applies to pc98 version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nyan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 27 13:10:17 PST 2004
>Closed-Date:    Tue Jan 27 20:21:31 PST 2004
>Last-Modified:  Tue Jan 27 20:21:31 PST 2004
>Originator:     Adrian Steinmann
>Release:        FreeBSD -stable, -current
>Organization:
Webgroup Consulting AG
>Environment:

/boot/loader

>Description:
In /usr/src/sys/boot/i386/btx/btx/btx.s revision 1.33 a reboot from
loader bug was fixed last november (see also PR i386/62003)

-		ljmp $0xffff,$0x0		# reboot the machine
+		ljmp $0xf000,$0xfff0		# reboot the machine

In /usr/src/sys/boot/pc98/btx/btx/btx.s this same problem still exists
near line 326, although it is ifdef-ed out by a .`ifdef' PC98

It would make sense to synchronise this code with the i386 case.

>How-To-Repeat:
This problem was discovered on Soekris net4501/4801 with comBIOS 1.22
boxes. Break into loader, "ok reboot" then hangs. See also PR i386/62003.

>Fix:
merge change in revision 1.33 from /usr/src/sys/boot/i386/btx/btx/btx.s
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->nyan 
Responsible-Changed-By: ru 
Responsible-Changed-When: Tue Jan 27 14:20:36 PST 2004 
Responsible-Changed-Why:  
Over to PC98 port maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62005 
State-Changed-From-To: open->closed 
State-Changed-By: nyan 
State-Changed-When: Tue Jan 27 20:18:58 PST 2004 
State-Changed-Why:  
Committed.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62005 
>Unformatted:
