From bkoenig@cs.tu-berlin.de Mon Jan 16 14:29:01 2006 Return-Path: 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" Reply-To: Björn König To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 91871 >Category: i386 >Synopsis: [boot1] [patch] boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine >Confidential: no >Severity: non-critical >Priority: medium >Responsible: brucec >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 16 14:30:07 GMT 2006 >Closed-Date: Sun Nov 21 13:12:25 UTC 2010 >Last-Modified: Sun Nov 21 13:20:07 UTC 2010 >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: Responsible-Changed-From-To: freebsd-i386->brucec Responsible-Changed-By: brucec Responsible-Changed-When: Tue Mar 2 23:19:36 UTC 2010 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=91871 State-Changed-From-To: open->patched State-Changed-By: brucec State-Changed-When: Sun Nov 14 08:25:35 UTC 2010 State-Changed-Why: Fixed in r215284. http://www.freebsd.org/cgi/query-pr.cgi?pr=91871 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: i386/91871: commit references a PR Date: Sun, 14 Nov 2010 08:25:33 +0000 (UTC) Author: brucec Date: Sun Nov 14 08:25:27 2010 New Revision: 215284 URL: http://svn.freebsd.org/changeset/base/215284 Log: When rebooting the machine jump to 0xf000:fff0 instead of 0xffff:0x0. This is the same change that was made in rev 1.33 of boot/i386/btx/btx/btx.S PR: i386/91871 Submitted by: Bjorn Konig MFC after: 1 week Modified: head/sys/boot/i386/boot2/boot1.S Modified: head/sys/boot/i386/boot2/boot1.S ============================================================================== --- head/sys/boot/i386/boot2/boot1.S Sun Nov 14 08:06:29 2010 (r215283) +++ head/sys/boot/i386/boot2/boot1.S Sun Nov 14 08:25:27 2010 (r215284) @@ -239,7 +239,7 @@ error: callw putstr # Display message xorb %ah,%ah # BIOS: Get int $0x16 # keypress movw $0x1234, BDA_BOOT # Do a warm boot - ljmp $0xffff,$0x0 # reboot the machine + ljmp $0xf000,$0x0 # reboot the machine /* * Display a null-terminated string using the BIOS output. */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From: Alexander Best To: bug-followup@freebsd.org Cc: Subject: Re: i386/91871: [boot1] [patch] boot1: jump to 0xf000:0xfff0 instead of 0xffff:0x0 when rebooting the machine Date: Sun, 14 Nov 2010 13:17:14 +0000 For future references: Please note that r215284 as well as r215285 need to be MF'ed. cheers. alex -- a13x From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: i386/91871: commit references a PR Date: Sun, 21 Nov 2010 12:52:40 +0000 (UTC) Author: brucec Date: Sun Nov 21 12:52:33 2010 New Revision: 215630 URL: http://svn.freebsd.org/changeset/base/215630 Log: MFC r215284, r215285: When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. This is the same change that was made in rev 1.33 of boot/i386/btx/btx.S. PR: i386/91871 Submitted by: Bjorn Konig Modified: stable/8/sys/boot/i386/boot2/boot1.S Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/boot/i386/boot2/boot1.S ============================================================================== --- stable/8/sys/boot/i386/boot2/boot1.S Sun Nov 21 12:47:54 2010 (r215629) +++ stable/8/sys/boot/i386/boot2/boot1.S Sun Nov 21 12:52:33 2010 (r215630) @@ -239,7 +239,7 @@ error: callw putstr # Display message 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. */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State-Changed-From-To: patched->closed State-Changed-By: brucec State-Changed-When: Sun Nov 21 13:11:57 UTC 2010 State-Changed-Why: Merged to stable/7 and stable/8. http://www.freebsd.org/cgi/query-pr.cgi?pr=91871 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: i386/91871: commit references a PR Date: Sun, 21 Nov 2010 13:11:58 +0000 (UTC) Author: brucec Date: Sun Nov 21 13:11:50 2010 New Revision: 215632 URL: http://svn.freebsd.org/changeset/base/215632 Log: MFC r215284, r215285: When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. This is the same change that was made in rev 1.33 of boot/i386/btx/btx.S. PR: i386/91871 Submitted by: Bjorn Konig Modified: stable/7/sys/boot/i386/boot2/boot1.S Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/boot/i386/boot2/boot1.S ============================================================================== --- stable/7/sys/boot/i386/boot2/boot1.S Sun Nov 21 13:04:53 2010 (r215631) +++ stable/7/sys/boot/i386/boot2/boot1.S Sun Nov 21 13:11:50 2010 (r215632) @@ -239,7 +239,7 @@ error: callw putstr # Display message 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. */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" >Unformatted: