From owner-freebsd-i386@FreeBSD.ORG Fri Apr 28 07:40:14 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 5D2F716A406 for ; Fri, 28 Apr 2006 07:40:14 +0000 (UTC) (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 BF90143D45 for ; Fri, 28 Apr 2006 07:40:13 +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 k3S7eDPi025569 for ; Fri, 28 Apr 2006 07:40:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3S7eDP4025568; Fri, 28 Apr 2006 07:40:13 GMT (envelope-from gnats) Resent-Date: Fri, 28 Apr 2006 07:40:13 GMT Resent-Message-Id: <200604280740.k3S7eDP4025568@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, Yuichiro Goto Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DF2C16A401 for ; Fri, 28 Apr 2006 07:38:54 +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 02D7143D64 for ; Fri, 28 Apr 2006 07:38:47 +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 k3S7clAf018227 for ; Fri, 28 Apr 2006 07:38:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k3S7clXE018226; Fri, 28 Apr 2006 07:38:47 GMT (envelope-from nobody) Message-Id: <200604280738.k3S7clXE018226@www.freebsd.org> Date: Fri, 28 Apr 2006 07:38:47 GMT From: Yuichiro Goto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/96452: twiddle in cdboot does not work X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 07:40:14 -0000 >Number: 96452 >Category: i386 >Synopsis: twiddle in cdboot does not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 28 07:40:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yuichiro Goto >Release: FreeBSD 6.1-RC1 >Organization: >Environment: FreeBSD cobalt.my.domain 6.1-RC FreeBSD 6.1-RC #0: Wed Apr 26 10:38:08 JST 2006 root@cobalt.my.domain:/usr/obj/usr/src/sys/GENERIC i386 >Description: twiddle in src/sys/boot/i386/cdboot.s does not work, because when XLAT instruction is executed, BX register must hold the address of a table of twiddle chars, but two characters of twiddle chars are in BX register instead. >How-To-Repeat: Boot using cdboot. >Fix: Index: cdboot.s =================================================================== RCS file: /home/ncvs/src/sys/boot/i386/cdboot/cdboot.s,v retrieving revision 1.13.12.1 diff -u -r1.13.12.1 cdboot.s --- cdboot.s 18 Apr 2006 13:51:12 -0000 1.13.12.1 +++ cdboot.s 28 Apr 2006 07:36:48 -0000 @@ -472,7 +472,7 @@ twiddle: push %ax # Save push %bx # Save mov twiddle_index,%al # Load index - mov twiddle_chars,%bx # Address table + mov $twiddle_chars,%bx # Address table inc %al # Next and $3,%al # char mov %al,twiddle_index # Save index for next call >Release-Note: >Audit-Trail: >Unformatted: