Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 06:19:17 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r219896 - stable/8/sys/boot/i386/common
Message-ID:  <201103230619.p2N6JHx2083596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Wed Mar 23 06:19:17 2011
New Revision: 219896
URL: http://svn.freebsd.org/changeset/base/219896

Log:
  MFC r219702:
    Set control flags in putc(). This should fix zfsboot hangs in drvread().
  
    PR:		kern/153552
    Reviewed by:	jhb

Modified:
  stable/8/sys/boot/i386/common/cons.c
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)

Modified: stable/8/sys/boot/i386/common/cons.c
==============================================================================
--- stable/8/sys/boot/i386/common/cons.c	Wed Mar 23 05:13:54 2011	(r219895)
+++ stable/8/sys/boot/i386/common/cons.c	Wed Mar 23 06:19:17 2011	(r219896)
@@ -37,6 +37,7 @@ void
 putc(int c)
 {
 
+	v86.ctl = V86_FLAGS;
 	v86.addr = 0x10;
 	v86.eax = 0xe00 | (c & 0xff);
 	v86.ebx = 0x7;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103230619.p2N6JHx2083596>