Re: pmap_invalidate_cache_range() panic on Xen Server

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Mon, 5 Oct 2009 22:58:55 +0300
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 <kib_at_FreeBSD.org> wrote:
> 
> > Log:
> >   MFC r197663:
> >   As a workaround, for Intel CPUs, do not use CLFLUSH in
> >   pmap_invalidate_cache_range() when self-snoop is apparently not reported
> >   in cpu features.
> >   
> >   Approved by:	re (bz, kensmith)
> 
> I was tested r197663/r197744, but kernel panic again on Citrix Xen Server.
> 
> 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.
> 
> 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 environment 3.
> 
> 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.

Received on Mon Oct 05 2009 - 17:59:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC