From owner-freebsd-net@FreeBSD.ORG Sun Aug 21 08:50:23 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90AFC106566C; Sun, 21 Aug 2011 08:50:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id E4AD58FC08; Sun, 21 Aug 2011 08:50:22 +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 p7L8Oa92016649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Aug 2011 11:24:36 +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.4/8.14.4) with ESMTP id p7L8OaJZ039838; Sun, 21 Aug 2011 11:24:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p7L8OawK039837; Sun, 21 Aug 2011 11:24:36 +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: Sun, 21 Aug 2011 11:24:36 +0300 From: Kostik Belousov To: Ask Bj?rn Hansen Message-ID: <20110821082436.GD17489@deviant.kiev.zoral.com.ua> References: <4E4AB3BE.4090603@sentex.net> <9255C71C-BB78-417E-A900-85140FC2050C@develooper.com> <20110817002911.GA7614@michelle.cdnetworks.com> <865C098E-2A24-481B-9B97-2E426AE481CB@develooper.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HdLezCswwuDmNOis" Content-Disposition: inline In-Reply-To: <865C098E-2A24-481B-9B97-2E426AE481CB@develooper.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=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: embedded@freebsd.org, net@freebsd.org Subject: Re: Hang with ZERO_COPY_SOCKETS or TCP_SIGNATURE enabled? (was: system locks up with vr driver on alix board) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2011 08:50:23 -0000 --HdLezCswwuDmNOis Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 20, 2011 at 04:58:59PM -0700, Ask Bj?rn Hansen wrote: >=20 > On Aug 17, 2011, at 7:52, Ask Bj?rn Hansen wrote: >=20 > > Grasping at straws here, but when enabling BREAK_TO_DEBUGGER I noticed = that the kernel had ZERO_COPY_SOCKETS and TCP_SIGNATURE enabled. I disable= d those, "just in case". >=20 > Hi everyone, >=20 > Thanks again for your help and hints getting this fixed for me. >=20 > I just wanted to send an update that those kernel options seemed to be th= e ticket to make it stable again. I haven't had it hang since disabling IP= SEC, ZERO_COPY_SOCKETS and TCP_SIGNATURE (I wasn't using md5 signatures, ha= ving any ipsec sessions or to my knowledge running any applications that'd = be using zero copy sockets). ZERO_COPY_SOCKETS are known to be broken. --HdLezCswwuDmNOis Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5QwMIACgkQC3+MBN1Mb4ii8QCg6lJZe+71tOugiSKEAsiVcLSk tygAoO82WrsQ4IkzbYsLt717RGF7/Pe1 =dNdC -----END PGP SIGNATURE----- --HdLezCswwuDmNOis--