From owner-freebsd-virtualization@freebsd.org Mon Jul 13 08:06:11 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38A4899B5E7; Mon, 13 Jul 2015 08:06:11 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0110.outbound.protection.outlook.com [157.56.110.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B28691A94; Mon, 13 Jul 2015 08:06:10 +0000 (UTC) (envelope-from weh@microsoft.com) Received: from BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) by BY1PR03MB1434.namprd03.prod.outlook.com (10.162.127.152) with Microsoft SMTP Server (TLS) id 15.1.213.14; Mon, 13 Jul 2015 08:06:01 +0000 Received: from BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) by BY1PR03MB1434.namprd03.prod.outlook.com ([10.162.127.152]) with mapi id 15.01.0213.000; Mon, 13 Jul 2015 08:06:01 +0000 From: Wei Hu To: Pavel Timofeev , Slawa Olhovchenkov CC: "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" Subject: RE: MS DNS doesn't answer to CURRENT under Hyper-V Thread-Topic: MS DNS doesn't answer to CURRENT under Hyper-V Thread-Index: AQHQuKsxHCAHG2fAnE6RlFoo4JehXp3P+tkAgAAgVgCAAAxjAIABENiAgAfXc/A= Date: Mon, 13 Jul 2015 08:06:01 +0000 Message-ID: References: <20150707130902.GA41189@zxy.spb.ru> <20150707154906.GA44094@zxy.spb.ru> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none; x-originating-ip: [167.220.232.8] x-microsoft-exchange-diagnostics: 1; BY1PR03MB1434; 5:Yh7r75WgXSJoXoYdCFVL6mIAISCz94ylXd7eTaTIuOskKhWjrEJrwzCSBXAk5bFt4hcq4F1OOmcXHCnh2/+uXB4IxEc5IXtQEuLv5xZRLeAxIahwqstF29RuoLzM8oIavnoPM0M4wtxs+cYgow8C1Q==; 24:8zLBs1T+eBLKi6hNLJUgusjmM4oG5XsBVvHd1IvWyngLvSKmfl8ndIKLCOMqmlLmwqGIjct5COA12K49sayun1cp/tN+dlOcS8f+WZOB9Iw=; 20:L3Ew4ZMO61jhmBJ7wKk7Y1d5xn7tjL8bdxfS+rGjzOEGEBRd85hQ4K9TahVvZ9bXNyxwfeEpm1MpEjmX8xmxIQ== x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:BY1PR03MB1434; by1pr03mb1434: X-MS-Exchange-Organization-RulesExecuted x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY1PR03MB1434; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1434; x-forefront-prvs: 0636271852 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(24454002)(377424004)(51704005)(13464003)(377454003)(54356999)(99286002)(86612001)(33656002)(76576001)(1720100001)(189998001)(86362001)(5002640100001)(92566002)(5003600100002)(77156002)(74316001)(2950100001)(122556002)(19580405001)(2900100001)(19580395003)(230673001)(40100003)(15975445007)(102836002)(5001960100002)(77096005)(62966003)(50986999)(5001770100001)(46102003)(76176999)(87936001)(2656002)(93886004)(66066001)(4477795004)(106116001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1434; H:BY1PR03MB1434.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2015 08:06:01.2679 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1434 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 08:06:11 -0000 We have root caused the problem. This issue happens on the Hyper-Vs on Wind= ows Server 2012 (Win 8.0) and earlier releases. On these releases, the UPD = checksum offloading on host side does not work properly. The workaround is = to disable UPD checksum offloading in the FreeBSD guest through 'ifconfig'.= We are also working on a patch to turn off UPD checksum offloading in the = netvsc driver when detecting the Hyper-V releases.=20 The UDP checksum offloading works fine on Windows Server 2012R2 and Win 8.1= hosts.=20 Thanks Pavel and Slawa for the support. Wei > -----Original Message----- > From: owner-freebsd-virtualization@freebsd.org [mailto:owner-freebsd- > virtualization@freebsd.org] On Behalf Of Pavel Timofeev > Sent: Wednesday, July 8, 2015 4:06 PM > To: Slawa Olhovchenkov > Cc: freebsd-current@freebsd.org; freebsd-virtualization@freebsd.org > Subject: Re: MS DNS doesn't answer to CURRENT under Hyper-V >=20 > Ok, r284746 is the root of the problem. MS DNS works under r284745 and > doesn't work under r284746. > Slawa, what should I look at in wireshark output? >=20 >=20 > 2015-07-07 18:49 GMT+03:00 Slawa Olhovchenkov : > > On Tue, Jul 07, 2015 at 06:04:46PM +0300, Pavel Timofeev wrote: > > > >> Well, turning off checksum offloading by `ifconfig hn0 -txcsum > >> -rxcsum` definitely helps. > >> > >> As for tcpdump I'm not completely sure if I did it right, but I see > >> "bad udp cksum" phrase: > >> > >> # tcpdump -i hn0 -vvv -nn udp dst port 53 > >> tcpdump: listening on hn0, link-type EN10MB (Ethernet), capture size > >> 262144 bytes > >> 18:01:19.139994 IP (tos 0x0, ttl 64, id 61218, offset 0, flags > >> [none], proto UDP (17), length 51) > >> 192.168.25.26.45683 > 192.168.25.3.53: [bad udp cksum 0xb39e -> > >> 0xf210!] 52886+ A? ya.ru. (23) > >> 18:01:24.140544 IP (tos 0x0, ttl 64, id 17293, offset 0, flags > >> [none], proto UDP (17), length 51) > >> 192.168.25.26.12575 > 192.168.25.3.53: [bad udp cksum 0xb39e -> > >> 0x7365!] 52886+ A? ya.ru. (23) > > > > tcpdump "bad udp cksum" is normal on FreeBSD host in case checksum > > offload (and may be need only for help finding issuse in code). Need > > wireshark capturing from MS DNS host (or from mirroring port). > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization- > unsubscribe@freebsd.org"