Date: Mon, 16 Jan 2006 15:27:33 +0100 From: "Björn König" <bkoenig@cs.tu-berlin.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/91871: boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine Message-ID: <20060116142733.C53BD5285B@eurystheus.local> Resent-Message-ID: <200601161430.k0GEU8WX003493@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060116142733.C53BD5285B>