From owner-freebsd-i386@FreeBSD.ORG Mon Jan 16 14:30:11 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 486C416A41F for ; Mon, 16 Jan 2006 14:30:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E66CC43D62 for ; Mon, 16 Jan 2006 14:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0GEU8Za003494 for ; Mon, 16 Jan 2006 14:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0GEU8WX003493; Mon, 16 Jan 2006 14:30:08 GMT (envelope-from gnats) Resent-Date: Mon, 16 Jan 2006 14:30:08 GMT Resent-Message-Id: <200601161430.k0GEU8WX003493@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Björn König Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0EF716A41F for ; Mon, 16 Jan 2006 14:29:01 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3968543D45 for ; Mon, 16 Jan 2006 14:29:01 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-169-24.dynamic.qsc.de [212.202.169.24]) by efacilitas.de (Postfix) with ESMTP id 2DCD64B24D for ; Mon, 16 Jan 2006 15:37:57 +0100 (CET) Received: from hoppel.local (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with SMTP id C53BD5285B for ; Mon, 16 Jan 2006 15:27:33 +0100 (CET) Received: by hoppel.local (sSMTP sendmail emulation); Mon, 16 Jan 2006 15:27:33 +0100 Message-Id: <20060116142733.C53BD5285B@eurystheus.local> Date: Mon, 16 Jan 2006 15:27:33 +0100 From: "Björn König" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: i386/91871: boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Björn König List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2006 14:30:11 -0000 >Number: 91871 >Category: i386 >Synopsis: boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 16 14:30:07 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Björn König >Release: >Organization: >Environment: >Description: There was a small discussion (*) on the hackers mailing list in november 2003 where you deceided to use 0xf000:0xfff0 instead of 0xffff:0x0 in src/sys/boot/i386/btx/btx/btx.S (1.33) to jump to the reboot handler. For consistency you should use the same method in boot1.S. *) Subject: BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed) >How-To-Repeat: >Fix: --- boot1.S-20060116.diff begins here --- --- src/sys/boot/i386/boot2/boot1.S.orig Sat Aug 28 10:32:23 2004 +++ src/sys/boot/i386/boot2/boot1.S Mon Jan 16 15:13:14 2006 @@ -240,7 +240,7 @@ xorb %ah,%ah # BIOS: Get int $0x16 # keypress movw $0x1234, BDA_BOOT # Do a warm boot - ljmp $0xffff,$0x0 # reboot the machine + ljmp $0xf000,$0xfff0 # reboot the machine /* * Display a null-terminated string using the BIOS output. */ --- boot1.S-20060116.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: