From owner-freebsd-net@freebsd.org Tue Jul 21 02:37:20 2015 Return-Path: Delivered-To: freebsd-net@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 B5F4E9A7D4E for ; Tue, 21 Jul 2015 02:37:20 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 856161117 for ; Tue, 21 Jul 2015 02:37:20 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: by ykfw194 with SMTP id w194so74415912ykf.0 for ; Mon, 20 Jul 2015 19:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=LgMrZo12QqlRfBS/sncd9UysiLqr7JJBivWKmRPS8jE=; b=lilzhU4UH+svv0x/kW+yqBBTmVo5g5o8G15nHBmydlHntCCPZTl+XveXbzBUjLOrOa MMSK0JWx5tUEoGVKRG4tqbzJOUPKyXWZCrqyYCbu3RnX9O1lwrTD5ELzYAa9k753afCw nJtQaJRvJdGdcz7uaaTw5yWTwQcmWCYoycuVSDnw9g5Lob7Il3mMogCywo7bJNVOoRG1 GlWL3ZnuipWAkP3zzWN78OUSqJS9BQRUKTrcH64HTtSuvgfl2rkEFBbVOO8VXTlZOKXb D5Xa+L58std1A7SVcuyvzBw5huqNBra9yT0+PNz7yEScwowqsdHmsE0EPOI+YrArltI/ MPOA== X-Received: by 10.129.46.143 with SMTP id u137mr31122077ywu.92.1437446239580; Mon, 20 Jul 2015 19:37:19 -0700 (PDT) Received: from ?IPv6:2606:a000:5686:1802:be5f:f4ff:fe5d:f28? ([2606:a000:5686:1802:be5f:f4ff:fe5d:f28]) by smtp.googlemail.com with ESMTPSA id q190sm21879534ywf.52.2015.07.20.19.37.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 19:37:19 -0700 (PDT) Message-ID: <55ADB05D.9060600@gmail.com> Date: Mon, 20 Jul 2015 22:37:17 -0400 From: Jason Unovitch User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Nikos Vassiliadis , freebsd-net@freebsd.org Subject: Re: [Bug 200319] Bridge+CARP crashes/freezes References: <55ACE900.1060603@gmx.com> In-Reply-To: <55ACE900.1060603@gmx.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 02:37:20 -0000 On 07/20/2015 08:26, Nikos Vassiliadis wrote: > Hi, > > regarding this bug... When carp information is about to be printed, > it stops. All network activity has stopped by then. For example: > >> bridge0: flags=8943 >> metric 0 mtu 1280 >> ether 02:48:9e:59:98:00 >> inet 156.0.0.2 netmask 0xffffffc0 broadcast 156.0.0.63 >> inet 156.0.0.10 netmask 0xffffffc0 broadcast 156.0.0.63 vhid 10 >> nd6 options=9 >> load: 1.18 cmd: ifconfig 1683 [running] 4.14r 0.00u 0.01s 35% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 4.59r 0.00u 0.01s 36% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 4.85r 0.00u 0.01s 39% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.05r 0.00u 0.01s 41% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.27r 0.00u 0.01s 39% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.48r 0.00u 0.01s 41% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.69r 0.00u 0.01s 43% 2268k >> ^C^C^C^Z >> >> >> >> >> >> load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.26r 0.00u 30.67s 88% 2268k >> load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.42r 0.00u 30.67s 88% 2268k >> ^Z^Z^Z^C^C^C^C >> >> load: 0.22 cmd: ifconfig 1683 [*carp_if] 645.27r 0.00u 30.67s 0% 2268k >> load: 0.21 cmd: ifconfig 1683 [*carp_if] 645.81r 0.00u 30.67s 0% 2268k >> load: 0.21 cmd: ifconfig 1683 [*carp_if] 646.17r 0.00u 30.67s 0% 2268k > > > Eventually the kernel will panic: >> panic: deadlkres: possible deadlock detected for 0xfffff800045b44a0, >> blocked for 900246 ticks > > > Is this the same bug, Jason? > > I could try the patch on my bhyve cluster. > > Thanks, > Nikos Nikos, The report at https://bugs.FreeBSD.org/200319 and associated pfSense report at https://redmine.pfSense.org/issues/4607 indicate that network traffic sent to the CARP IP is causing the issue. I don't see anything that mentions printing the information. However with that said, I'm not familiar with the issue as I've never used CARP. I'm just doing my due diligence passing on a report that the patch resolved another user's issue over in the FreeBSD Forums: https://forums.FreeBSD.org/threads/carp-bridge-crashes-freezes-on-freebsd-10.52427 Hope that helps. Jason