From owner-freebsd-current@FreeBSD.ORG Mon Oct 5 19:59:19 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14D0F1065672 for ; Mon, 5 Oct 2009 19:59:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 80D0E8FC0C for ; Mon, 5 Oct 2009 19:59:17 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n95Jwtcv049392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Oct 2009 22:58:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n95JwtAj095048; Mon, 5 Oct 2009 22:58:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n95Jwt4q095047; Mon, 5 Oct 2009 22:58:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 5 Oct 2009 22:58:55 +0300 From: Kostik Belousov To: Michio Karl Jinbo Message-ID: <20091005195855.GC2259@deviant.kiev.zoral.com.ua> References: <200910041220.n94CKxTH073639@svn.freebsd.org> <20091005072515.3622.22FF24F1@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5wdX5gfZV4kojQYf" Content-Disposition: inline In-Reply-To: <20091005072515.3622.22FF24F1@gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: pmap_invalidate_cache_range() panic on Xen Server X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 19:59:19 -0000 --5wdX5gfZV4kojQYf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 05, 2009 at 07:25:18AM +0900, Michio Karl Jinbo wrote: > On Sun, 4 Oct 2009 12:20:59 +0000 (UTC) > Konstantin Belousov wrote: >=20 > > Log: > > MFC r197663: > > As a workaround, for Intel CPUs, do not use CLFLUSH in > > pmap_invalidate_cache_range() when self-snoop is apparently not repor= ted > > in cpu features. > > =20 > > Approved by: re (bz, kensmith) >=20 > I was tested r197663/r197744, but kernel panic again on Citrix Xen Server. >=20 > using 8.0-RC1 install cd, results are > 1. INTEL SU9400+HYPER-V(Windows2008 R2) -> boot OK. > 2. AMD Athlon X2 TK-55+HYPER-V(Windows2008 R2) -> boot NG. > 3. AMD PhenomII 940BK+Citrix Xen Server -> boot NG. >=20 > I think INTEL CPUs are no problem, but AMD CPUs appear the problem. So I = tested > the following patch, kernel boot was successed on recent 9-CURRENT and en= vironment 3. >=20 > sorry, poor English. Does the GENERIC kernel after r197744 boots on your plain hardware, without any hypervisor ? Also, please provide the lines from dmesg with CPU features lists, both from boot on plain hardware and under XEN. --5wdX5gfZV4kojQYf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkrKT/8ACgkQC3+MBN1Mb4jOEwCfVs0jXDaMjfTRkvzQZ/PmEIB+ D+QAnRuyD/Hsgbdrvx8uCqjB/FxRRaio =WBCb -----END PGP SIGNATURE----- --5wdX5gfZV4kojQYf--