From owner-freebsd-xen@FreeBSD.ORG Mon Sep 23 11:06:56 2013 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 64B62CED for ; Mon, 23 Sep 2013 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 518802160 for ; Mon, 23 Sep 2013 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8NB6u1e069676 for ; Mon, 23 Sep 2013 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8NB6tQ5069674 for freebsd-xen@FreeBSD.org; Mon, 23 Sep 2013 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Sep 2013 11:06:55 GMT Message-Id: <201309231106.r8NB6tQ5069674@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-xen@FreeBSD.org Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org 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: Mon, 23 Sep 2013 11:06:56 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/180788 xen [xen] [panic] XEN PV kernel 9.2-BETA1 panics on boot o kern/180403 xen [xen] Problems with GENERIC and XENHVM kernels with Xe o kern/180402 xen [xen] XEN kernel does not load in XenClient 4.5.5 o kern/179814 xen [xen] mountroot fails with error=19 under Xen on 9-STA o kern/176471 xen [xen] xn driver crash on detach o kern/176053 xen [xen] [patch] i386: Correct wrong usage of vsnprintf() o kern/175954 xen [xen] XENHVM xn network driver extreme packet loss dur o kern/175822 xen [xen] FreeBSD 9.1 does not work with Xen 4.0 o kern/175757 xen [xen] [patch] xen pvhvm looses keyboard input from VNC o kern/171873 xen [xen] xn network device floods warning in dmesg o kern/171118 xen [xen] FreeBSD XENHVM guest doesn't shutdown cleanly o kern/166174 xen [xen] Problems ROOT MOUNT ERROR o kern/165418 xen [xen] Problems mounting root filesystem from XENHVM o kern/164630 xen [xen] XEN HVM kernel: run_interrupt_driven_hooks: stil o kern/164450 xen [xen] Failed to install FreeeBSD 9.0-RELEASE from CD i o kern/162677 xen [xen] FreeBSD not compatible with "Current Stable Xen" o kern/161318 xen [xen] sysinstall crashes with floating point exception o kern/155468 xen [xen] Xen PV i386 multi-kernel CPU system is not worki o kern/155353 xen [xen] [patch] put "nudging TOD" message under boot_ver o kern/154833 xen [xen]: xen 4.0 - DomU freebsd8.2RC3 i386, XEN kernel. o kern/154473 xen [xen] xen 4.0 - DomU freebsd8.1 i386, XEN kernel. Not o kern/154472 xen [xen] xen 4.0 - DomU freebsd8.1 i386 xen kernel reboot o kern/154428 xen [xen] xn0 network interface and PF - Massive performan o kern/153674 xen [xen] i386/XEN idle thread shows wrong percentages o kern/153672 xen [xen] [panic] i386/XEN panics under heavy fork load o kern/153620 xen [xen] Xen guest system clock drifts in AWS EC2 (FreeBS o kern/153477 xen [xen] XEN pmap code abuses vm page queue lock o kern/153150 xen [xen] xen/ec2: disable checksum offloading on interfac o kern/152228 xen [xen] [panic] Xen/PV panic with machdep.idle_mwait=1 o kern/144629 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143398 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor o kern/143340 xen [xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor f kern/143069 xen [xen] [panic] Xen Kernel Panic - Memory modified after f kern/135667 xen ufs filesystem corruption on XEN DomU system f kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. f kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i p kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all f i386/124516 xen [xen] FreeBSD-CURRENT Xen Kernel Segfaults when config o kern/118734 xen [xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to b 39 problems total. From owner-freebsd-xen@FreeBSD.ORG Fri Sep 27 07:00:50 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B02589BE for ; Fri, 27 Sep 2013 07:00:50 +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 92BE926A2 for ; Fri, 27 Sep 2013 07:00:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=shankerbalan.net; s=x; h=Mime-Version:To:Date:Message-Id:Subject:Content-Transfer-Encoding:Content-Type:From; bh=xtkYqvBc6w1ykLh4yUXHH9OwtNzLLacMGlMoSfsDkqg=; b=i3j6Za1Ht9R9bhFsQ+ykzkBXnMt0gxO8zML5bgRi8R32OhZTXHRGItoYr2E5h6GsRAoyqyQcXvkO3LIzvqchvG283b885n+fRjykpPftdBGNANpqw8g3swXO6lejgxCI; Received: from [103.5.132.53] (helo=buffy.local) by sympanel.syminet.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1VPRLY-0000K5-Ok for freebsd-xen@freebsd.org; Thu, 26 Sep 2013 23:16:13 -0700 From: Shanker Balan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Latest current -CURRENT (rev 255904) panics with "device hyperv" on XenServer 6.2 Message-Id: <7943FB36-C6F4-4529-A805-2C467192231F@shankerbalan.net> Date: Fri, 27 Sep 2013 11:46:11 +0530 To: "freebsd-xen@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) 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] / [0 0] 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 07:00:50 -0000 Helo, 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. GENERIC without "device hyperv" works properly. The hypervisor is = XenServer 6.2. # HyperV drivers device hyperv # HyperV drivers=20 Panic screenshots with backtrace at http://imgur.com/cZsDsKE&VCkh4VS Regards. @shankerbalan= From owner-freebsd-xen@FreeBSD.ORG Fri Sep 27 14:50:59 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 77027C20; Fri, 27 Sep 2013 14:50:59 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3737026EE; Fri, 27 Sep 2013 14:50:57 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.90,993,1371081600"; d="scan'208";a="55549937" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 27 Sep 2013 14:50:49 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Fri, 27 Sep 2013 10:50:49 -0400 Message-ID: <52459B47.8030101@citrix.com> Date: Fri, 27 Sep 2013 16:50:47 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Shanker Balan Subject: Re: Latest current -CURRENT (rev 255904) panics with "device hyperv" on XenServer 6.2 References: <7943FB36-C6F4-4529-A805-2C467192231F@shankerbalan.net> In-Reply-To: <7943FB36-C6F4-4529-A805-2C467192231F@shankerbalan.net> Content-Type: multipart/mixed; boundary="------------020200080305020009060200" X-DLP: MIA2 Cc: "freebsd-xen@freebsd.org" , abgupta@microsoft.com, grehan@FreeBSD.org, "freebsd-virtualization@freebsd.org" 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:50:59 -0000 --------------020200080305020009060200 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit On 27/09/13 08:16, Shanker Balan wrote: > Helo, > > 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. > > GENERIC without "device hyperv" works properly. The hypervisor is XenServer 6.2. > > # HyperV drivers > device hyperv # HyperV drivers > > Panic screenshots with backtrace at http://imgur.com/cZsDsKE&VCkh4VS Hello, 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). 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. Roger. --------------020200080305020009060200 Content-Type: text/plain; charset="UTF-8"; x-mac-type=0; x-mac-creator=0; name="xen_hyperv.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_hyperv.patch" diff --git a/sys/dev/hyperv/vmbus/hv_hv.c b/sys/dev/hyperv/vmbus/hv_hv.c index e3f3ae0..64b10fb 100644 --- a/sys/dev/hyperv/vmbus/hv_hv.c +++ b/sys/dev/hyperv/vmbus/hv_hv.c @@ -88,6 +88,16 @@ hv_vmbus_query_hypervisor_presence(void) { u_int regs[4]; int hyper_v_detected = 0; + + /* + * The Xen Hypervisor also announces itself as HyperV when + * viridian support is enabled, but we should only use Xen + * in this case, so check for Xen first and disable HyperV + * support if Xen is found. + */ + if (vm_guest == VM_GUEST_XEN) + return 0; + do_cpuid(1, regs); if (regs[2] & 0x80000000) { /* if(a hypervisor is detected) */ /* make sure this really is Hyper-V */ diff --git a/sys/x86/xen/hvm.c b/sys/x86/xen/hvm.c index 2286cf0..9539dd1 100644 --- a/sys/x86/xen/hvm.c +++ b/sys/x86/xen/hvm.c @@ -699,6 +699,7 @@ xen_hvm_init(enum xen_hvm_init_type init_type) return; setup_xen_features(); + vm_guest = VM_GUEST_XEN; break; case XEN_HVM_INIT_RESUME: if (error != 0) --------------020200080305020009060200-- 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 From owner-freebsd-xen@FreeBSD.ORG Fri Sep 27 15:05:03 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2570235F for ; Fri, 27 Sep 2013 15:05:03 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7441D27C6 for ; Fri, 27 Sep 2013 15:05:01 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.90,993,1371081600"; d="scan'208";a="58094138" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 27 Sep 2013 15:04:59 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Fri, 27 Sep 2013 11:04:58 -0400 Message-ID: <52459E9A.5060801@citrix.com> Date: Fri, 27 Sep 2013 17:04:58 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Shanker Balan Subject: Re: Latest current -CURRENT (rev 255904) panics with "device hyperv" on XenServer 6.2 References: <7943FB36-C6F4-4529-A805-2C467192231F@shankerbalan.net> <52459B47.8030101@citrix.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Cc: "freebsd-xen@freebsd.org" 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 15:05:03 -0000 On 27/09/13 16:59, Shanker Balan wrote: > 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. $ patch -p1 < /path/to/patch should work AFAIK, this is a git generated diff. If it still doesn't work applying it by hand shouldn't be that hard. From owner-freebsd-xen@FreeBSD.ORG Fri Sep 27 16:30:05 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AEE22B90; Fri, 27 Sep 2013 16:30:05 +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 8E5632C47; Fri, 27 Sep 2013 16:30:05 +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:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=fDIzDw0OqmLSaCpp8zbkYY+mPQ/7Pd3QfJwon+jBj4s=; b=rIEPlL8klsZ7vMPBEsTPvR7Rtsxmrqffv+KMHNT3uKHjQyzk5cmd1C5lhWNvM94tGtky2cpyiKtbzcHSG42Qh0V1dNB8AAoq64A9rN2Es1CEfc+ll4ybKrMk18YLM740; 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 1VPavb-0008Oz-Lc; Fri, 27 Sep 2013 09:30:04 -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: <52459E9A.5060801@citrix.com> Date: Fri, 27 Sep 2013 21:59:56 +0530 Content-Transfer-Encoding: quoted-printable Message-Id: <0BDA4CB1-032A-4893-8FB6-14C94FD36D30@shankerbalan.net> References: <7943FB36-C6F4-4529-A805-2C467192231F@shankerbalan.net> <52459B47.8030101@citrix.com> <52459E9A.5060801@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 Cc: abgupta@microsoft.com, grehan@FreeBSD.org, freebsd-virtualization@freebsd.org 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 16:30:05 -0000 (Doing a proper reply all now) On 27-Sep-2013, at 8:34 PM, Roger Pau Monn=E9 = wrote: > On 27/09/13 16:59, Shanker Balan wrote: >> Roger, >>=20 >> Thank you very much for looking into the issue. >>=20 >> Can I have a SVN version of the patch? "patch" does not seem to like >> the diff (or maybe I am using it incorrectly) >>=20 >> root@fxen1:/usr/src # patch -n < ~/xen_hyperv.patch >> Hmm... I can't seem to find a patch in there anywhere. >=20 > $ patch -p1 < /path/to/patch >=20 > should work AFAIK, this is a git generated diff. If it still doesn't > work applying it by hand shouldn't be that hard. >=20 >=20 Patch works for me on XenServer 6.2. root@fxen1:~ # uname -a FreeBSD fxen1.lab 10.0-ALPHA3 FreeBSD 10.0-ALPHA3 #1 r255912M: Fri Sep = 27 15:27:19 IST 2013 root@fxen1.lab:/usr/obj/usr/src/sys/MYKERNEL = amd64 root@fxen1:~ #=20 root@fxen1:~ # sysctl -a | grep ^device | grep "xen\|hyper" device hyperv device xenpci Thank you very much. Regards. @shankerbalan