From owner-freebsd-xen@FreeBSD.ORG Fri Sep 27 14:59:55 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ABF3213D for ; Fri, 27 Sep 2013 14:59:55 +0000 (UTC) (envelope-from mail@shankerbalan.net) Received: from 3r6s4.syminet.com (3r6s4.syminet.com [74.80.234.42]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 895A1274C for ; Fri, 27 Sep 2013 14:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=shankerbalan.net; s=x; h=To:References:Message-Id:Content-Transfer-Encoding:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=Hf6mrDxxqBnvNfewgRhq+ZnyxNtiaXs9il/GadiZoso=; b=vmEgd7zcyU9x2Do8yfgXRhStC+Mv6kE8DeS1/DiRzC9JPmIWgfLMSfLY7a+gtvzl8+os2OuDf4L7dB8gYA2BPQ/38Y+Pyom8AMTH5A4eTwyhXypR7e5mZpQ46aPZRMos; Received: from [103.5.132.53] (helo=buffy.local) by 3r6s4.syminet.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1VPZWL-000853-7q for freebsd-xen@freebsd.org; Fri, 27 Sep 2013 07:59:53 -0700 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Latest current -CURRENT (rev 255904) panics with "device hyperv" on XenServer 6.2 From: Shanker Balan In-Reply-To: <52459B47.8030101@citrix.com> Date: Fri, 27 Sep 2013 20:29:48 +0530 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7943FB36-C6F4-4529-A805-2C467192231F@shankerbalan.net> <52459B47.8030101@citrix.com> To: "freebsd-xen@freebsd.org" X-Mailer: Apple Mail (2.1510) X-Antiabuse: This header was added to track abuse, please include it with any abuse report X-Antiabuse: Primary Hostname - 3r6s4.syminet.com X-Antiabuse: Original Domain - freebsd.org X-Antiabuse: Originator/Caller UID/GID - [105 113] / [105 113] X-Antiabuse: Sender Address Domain - shankerbalan.net X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 14:59:55 -0000 On 27-Sep-2013, at 8:20 PM, Roger Pau Monn=E9 = wrote: > On 27/09/13 08:16, Shanker Balan wrote: >> Helo, >>=20 >> Now that XENHVM has been merged into the GENERIC kernel, I recompiled = todays -CURRENT (rev 255904) >> and hit the following panic. It seeems to be HyperV related. >>=20 >> GENERIC without "device hyperv" works properly. The hypervisor is = XenServer 6.2. >>=20 >> # HyperV drivers >> device hyperv # HyperV drivers=20 >>=20 >> Panic screenshots with backtrace at http://imgur.com/cZsDsKE&VCkh4VS >=20 > Hello, >=20 > This is because XenServer enables viridian by default when running HVM > guests. That makes Xen also announce itself as HyperV for = compatibility > reasons, as a workaround you can try to disable viridian support (not > sure if this is possible on XenServer). >=20 > I'm attaching a patch that should solve the problem, Ccing the virt > mailing list and the persons that I think are involved in the HyperV > support for FreeBSD. Hi Roger, Thank you very much for looking into the issue. Can I have a SVN version of the patch? "patch" does not seem to like the diff (or maybe I am using it incorrectly) root@fxen1:/usr/src # patch -n < ~/xen_hyperv.patch Hmm... I can't seem to find a patch in there anywhere. root@fxen1:/usr/src #=20 Regards. @shankerbalan