From owner-freebsd-net@freebsd.org Sun Aug 6 21:00:53 2017 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 81992DC9387 for ; Sun, 6 Aug 2017 21:00:53 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E54D6D72B for ; Sun, 6 Aug 2017 21:00:53 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v76L01ba085505 for ; Sun, 6 Aug 2017 21:00:53 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201708062100.v76L01ba085505@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention Date: Sun, 06 Aug 2017 21:00:53 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 06 Aug 2017 21:00:53 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 165622 | [ndis][panic][patch] Unregistered use of FPU in k In Progress | 206581 | bxe_ioctl_nvram handler is faulty New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 206053 | kqueue support code of netmap causes panic New | 213410 | [carp] service netif restart causes hang only whe New | 215874 | [patch] [icmp] [mbuf_tags] teach icmp_error() opt New | 217748 | sys/dev/ixgbe/if_ix.c: PVS-Studio: Assignment to New | 220076 | [patch] [panic] [netgraph] repeatable kernel pani Open | 173444 | socket: IPV6_USE_MIN_MTU and TCP is broken Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194485 | Userland cannot add IPv6 prefix routes Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; Open | 211031 | [panic] in ng_uncallout when argument is NULL Open | 211962 | bxe driver queue soft hangs and flooding tx_soft_ Open | 220860 | Double loading of the if_bridge module causes pan 19 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Aug 7 08:52:51 2017 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 7F3EDDC4DE6 for ; Mon, 7 Aug 2017 08:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D7971D7F for ; Mon, 7 Aug 2017 08:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v778qoiG055729 for ; Mon, 7 Aug 2017 08:52:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220860] Double loading of the if_bridge module causes panic Date: Mon, 07 Aug 2017 08:52:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 08:52:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220860 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org --- Comment #4 from Eugene Grosbein --- Created attachment 185114 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185114&action= =3Dedit proposed fix Please try this patch. Apply it and rebuild/reinstall kernel and modules, t= hen repeat the test. It should just complain the module is already present in t= he kernel and won't panic. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 09:05:16 2017 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 5EBA0DC597B for ; Mon, 7 Aug 2017 09:05:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8B49249C for ; Mon, 7 Aug 2017 09:05:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7795Eri086121 for ; Mon, 7 Aug 2017 09:05:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211031] [panic] in ng_uncallout when argument is NULL Date: Mon, 07 Aug 2017 09:05:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 09:05:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211031 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress Assignee|freebsd-net@FreeBSD.org |sbruno@FreeBSD.org --- Comment #6 from Eugene Grosbein --- Please perform MFC for r303848 to stable/11 and stable/10. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 16:10:24 2017 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 2DA23DAEE7E for ; Mon, 7 Aug 2017 16:10:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB3771F96 for ; Mon, 7 Aug 2017 16:10:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v77GALIB014420 for ; Mon, 7 Aug 2017 16:10:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Mon, 07 Aug 2017 16:10:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 16:10:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress CC| |sbruno@FreeBSD.org --- Comment #13 from Sean Bruno --- (In reply to Cassiano Peixoto from comment #8) For NetMap, yes. That would be a different issue. Which driver? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 16:14:12 2017 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 1F39DDB3949 for ; Mon, 7 Aug 2017 16:14:12 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA98F72750 for ; Mon, 7 Aug 2017 16:14:11 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 4A20226080B; Mon, 7 Aug 2017 18:14:09 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> From: Hans Petter Selasky Message-ID: <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> Date: Mon, 7 Aug 2017 18:11:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 16:14:12 -0000 On 08/04/17 21:09, Ben RUBSON wrote: >> On 04 Aug 2017, at 19:42, Ben RUBSON wrote: >> >> Feel free to ask me whatever you need to investigate on this ! >> I let this (production :/) server in this state to have a chance to get interesting traces. > > Server no more in production, I moved service to the standby node. > So we can do everything :) > swi4 still burning ! > > What is strange is that according to my monitoring, it began exactly at 15:00:00 UTC. > Certainly a coincidence, as I can't find anything related. > Hi, Try to enter "kgdb" and run: thread apply all bt Look for the callout function in question. --HPS From owner-freebsd-net@freebsd.org Mon Aug 7 16:19:39 2017 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 50978DB3F13 for ; Mon, 7 Aug 2017 16:19:39 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) (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 0EB78729E7 for ; Mon, 7 Aug 2017 16:19:38 +0000 (UTC) (envelope-from matt.joras@gmail.com) Received: by mail-qk0-f193.google.com with SMTP id d136so883529qkg.3 for ; Mon, 07 Aug 2017 09:19:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=o7MMotHfpFJOWx728xMEv8dbi8EyFDrbTEVXfDbKl6A=; b=BxcZtfG5QjR1KXkU+w/TR/wKGoKwdBWwJvcvg9FD2vMx7PWe3tEuIqB34V5WAex5gs oYmZFcefJuhYKhzHckZ2YRw3yxUZX+gCE6C2voW7r3IY8puKQt+9C/Qk4TDaXn7Lvvd2 4JC4QG+GG6A2Pckxn8FS+dw+vgf61eww6uqWSxpi16u3ZXHGktmw9k2VFLja+TLhdewB lTrk/xnXeMkjS1z1ewh0PQGkK+vujis/gR1jrgARn5C03sata7m3LSO8O8sAVxvD7WSY E5UAQSWPsyXs3IjbnQm7b9MHx7qG8oGJIuIowvDck/wOkYJdX+juaAOybNJOdliKOFIj W4KQ== X-Gm-Message-State: AHYfb5gf2nNin2DvsW6Ls+3KCr2qGfn2mpfDVz+B4P+KiSb0m08Fc52M vkTbKO4evC7tOaFsNYU= X-Received: by 10.55.21.193 with SMTP id 62mr1629881qkv.42.1502122772052; Mon, 07 Aug 2017 09:19:32 -0700 (PDT) Received: from [192.168.2.123] (71-35-178-103.tukw.qwest.net. [71.35.178.103]) by smtp.gmail.com with ESMTPSA id h16sm5382412qke.80.2017.08.07.09.19.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 09:19:31 -0700 (PDT) Subject: Re: mlx4en, timer irq @100%... To: Hans Petter Selasky , Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> From: Matt Joras Message-ID: <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> Date: Mon, 7 Aug 2017 09:19:29 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 16:19:39 -0000 On 08/07/2017 09:11, Hans Petter Selasky wrote: > Hi, > > Try to enter "kgdb" and run: > > thread apply all bt > > Look for the callout function in question. > > --HPS > If you don't have a way to attach kgdb handy you could also break into ddb(4) and run "alltrace". Though gdb would be more useful for an ongoing session if we need more than the backtrace since you could switch to that thread and investigate it directly. From owner-freebsd-net@freebsd.org Mon Aug 7 16:43:15 2017 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 EBC3CDB5828 for ; Mon, 7 Aug 2017 16:43:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA3E773C36 for ; Mon, 7 Aug 2017 16:43:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v77GhF7w002811 for ; Mon, 7 Aug 2017 16:43:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220860] Double loading of the if_bridge module causes panic Date: Mon, 07 Aug 2017 16:43:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marieheleneka@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 16:43:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220860 --- Comment #5 from Marie Helene Kvello-Aune --- Applied patch to 12-current r321460. Issue occured before patch, not after. With this patch: if_bridge is not loaded when it's compiled into kernel. No error output is printed to dmesg during boot about the module already exist= ing.=20 Seems to work as expected now. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 17:19:34 2017 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 465DCDB7E70 for ; Mon, 7 Aug 2017 17:19:34 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 CB5FF750D5; Mon, 7 Aug 2017 17:19:33 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x241.google.com with SMTP id y67so758569wrb.3; Mon, 07 Aug 2017 10:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FRcVUsPV0/hQaeWj9voxiQOyY4und++ditfIUQm0Fzg=; b=arTcS+8UzUehWkejFzsUQe3xOY5mhx8O2ZP3eeRYB8GItTjeoE0t11A6fpl6qt2Bbn uZE4r7yBV5gXAniGHOv1FdE1KjvkzpsS3UjFk89aJsOHHBxsmNvKAvmuxtz2AShmqZWH 8nkv7J2dol7GCrQyPLrIGz9FzYhrpF0AtVhgfaY15vG+Nzf0M5Tiqw3L9MdMH3Cr0Ys5 b4braz6++WAXHRwUA0l1TTfRz/nI+dac7DaYxwoRlc1A9KMZai4jLZdaN6Oj2fMmCp+m vXUXvu4Vpov6UsDy37yteXEQHUCcx3L7KoKZw5MHXs7Py8jPNCHeSuORi5yHOTkJuaYL Gi2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FRcVUsPV0/hQaeWj9voxiQOyY4und++ditfIUQm0Fzg=; b=DSATewkN0pqal6ytYuHn1+gT0zhRYy60jIaB8bm92w3v69S8jVpz6oG0stq87GvnZa N3xQFR91S15FYkjJwoCrc8VgIe8KDdfYbwpMvVp0eguaCMpzbuPvP7dbYgykRCJ2aBBL hdVaLHEHcxGLo4hLWWaXh68ZV0anC6Oxoh2N+zA3abyPMpdW7Wox8BS+oXYmnfQuPXWq lNYdBwgcS2PZ/9FEqqSW3VghWMfPfHq3Yeo19wPra/tzPY2K1NZ58vLc5brLlJvt+s1O Bmo0Nrj/xohDdTCSd7A+tpEquRL9X2NU+M0Ie1QxwkB3O3D9yrrMuZFSF7kMgPNoUr7F +SKg== X-Gm-Message-State: AHYfb5iWXrva9LVev1ELR5apk62gkVO42T/KlJEks1MvL3pICQrNi+2j kONPK/fqAytKXYhCCNU= X-Received: by 10.223.134.39 with SMTP id 36mr955086wrv.244.1502126372146; Mon, 07 Aug 2017 10:19:32 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id d10sm11619704wmh.4.2017.08.07.10.19.30 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Aug 2017 10:19:31 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> Date: Mon, 7 Aug 2017 19:19:29 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 17:19:34 -0000 > On 07 Aug 2017, at 18:19, Matt Joras wrote: >=20 > On 08/07/2017 09:11, Hans Petter Selasky wrote: >> Hi, >>=20 >> Try to enter "kgdb" and run: >>=20 >> thread apply all bt >>=20 >> Look for the callout function in question. >>=20 >> --HPS >>=20 > If you don't have a way to attach kgdb handy you could also break into > ddb(4) and run "alltrace". Though gdb would be more useful for an > ongoing session if we need more than the backtrace since you could > switch to that thread and investigate it directly. >=20 Hi Hans & Matt, Thank you for your answers, glad to hear from you :) So here is the full kgdb(thread apply all bt) command log : https://benrubson.github.io/kgdb.log We found the faulty thread : # procstat -ak | grep "swi4.*tcp" 12 100029 intr swi4: clock (0) tcp_tw_2msl_scan = pfslowtimo softclock_call_cc softclock intr_event_execute_handlers = ithread_loop fork_exit fork_trampoline=20 # kgdb (...) Thread 747 (Thread 100029): #0 sched_switch (td=3D0xfffff8000f337500, newtd=3D0xfffff8010e144000, = flags=3D) at /usr/src/sys/kern/sched_ule.c:1973 #1 0xfffffe1000f92d80 in ?? () #2 0xfffffe0f8f74b6e0 in ?? () #3 0xffffffff810bd274 in handleevents (now=3D, = fake=3DError accessing memory address 0xffffffffffffffcc: Bad address. ) at /usr/src/sys/kern/kern_clocksource.c:223 Previous frame inner to this frame (corrupt stack?) (...) Of course let me know if you need further info. Thank you again, Ben From owner-freebsd-net@freebsd.org Mon Aug 7 17:19:43 2017 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 3D86CDB7EA7 for ; Mon, 7 Aug 2017 17:19:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29A1775124 for ; Mon, 7 Aug 2017 17:19:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v77HJgUs052045 for ; Mon, 7 Aug 2017 17:19:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update Date: Mon, 07 Aug 2017 17:19:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 17:19:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 Cassiano Peixoto changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-net@FreeBSD.org, | |peixoto.cassiano@gmail.com, | |sbruno@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 17:20:30 2017 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 EEC1CDBC08A for ; Mon, 7 Aug 2017 17:20:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC93F752AF for ; Mon, 7 Aug 2017 17:20:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v77HKTRp055301 for ; Mon, 7 Aug 2017 17:20:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Mon, 07 Aug 2017 17:20:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 17:20:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 --- Comment #14 from Cassiano Peixoto --- (In reply to Sean Bruno from comment #13) Dear Sean, I've just opened a PR 221317 regarding ixgbe driver update and netmap issue. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 17:39:46 2017 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 412AADBD8A3 for ; Mon, 7 Aug 2017 17:39:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E35EB768FD for ; Mon, 7 Aug 2017 17:39:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v77HdjCt049374 for ; Mon, 7 Aug 2017 17:39:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update Date: Mon, 07 Aug 2017 17:39:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 17:39:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Keywords| |IntelNetworking CC| |erj@freebsd.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Aug 7 17:59:46 2017 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 8C4F8DBE9EB for ; Mon, 7 Aug 2017 17:59:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4047D77309 for ; Mon, 7 Aug 2017 17:59:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id DA01626080B; Mon, 7 Aug 2017 19:59:43 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> From: Hans Petter Selasky Message-ID: <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> Date: Mon, 7 Aug 2017 19:57:29 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 17:59:46 -0000 On 08/07/17 19:19, Ben RUBSON wrote: > >> On 07 Aug 2017, at 18:19, Matt Joras wrote: >> >> On 08/07/2017 09:11, Hans Petter Selasky wrote: >>> Hi, >>> >>> Try to enter "kgdb" and run: >>> >>> thread apply all bt >>> >>> Look for the callout function in question. >>> >>> --HPS >>> >> If you don't have a way to attach kgdb handy you could also break into >> ddb(4) and run "alltrace". Though gdb would be more useful for an >> ongoing session if we need more than the backtrace since you could >> switch to that thread and investigate it directly. >> > > Hi Hans & Matt, > > Thank you for your answers, glad to hear from you :) > > So here is the full kgdb(thread apply all bt) command log : > https://benrubson.github.io/kgdb.log > > We found the faulty thread : > > # procstat -ak | grep "swi4.*tcp" > 12 100029 intr swi4: clock (0) tcp_tw_2msl_scan pfslowtimo softclock_call_cc softclock intr_event_execute_handlers ithread_loop fork_exit fork_trampoline > > # kgdb > (...) > Thread 747 (Thread 100029): > #0 sched_switch (td=0xfffff8000f337500, newtd=0xfffff8010e144000, flags=) at /usr/src/sys/kern/sched_ule.c:1973 > #1 0xfffffe1000f92d80 in ?? () > #2 0xfffffe0f8f74b6e0 in ?? () > #3 0xffffffff810bd274 in handleevents (now=, fake=Error accessing memory address 0xffffffffffffffcc: Bad address. > ) at /usr/src/sys/kern/kern_clocksource.c:223 > Previous frame inner to this frame (corrupt stack?) > (...) > > Of course let me know if you need further info. > Can you try to dump "td": set print pretty on thread 747 frame 0 print *td It might give some more clues. --HPS From owner-freebsd-net@freebsd.org Mon Aug 7 23:52:25 2017 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 85AA4DD0EBB for ; Mon, 7 Aug 2017 23:52:25 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 149C263F3D for ; Mon, 7 Aug 2017 23:52:25 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id m85so18119268wma.1 for ; Mon, 07 Aug 2017 16:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=z0KqqKCrWcPSUeO68YJQRqdeaJgZc6x3wWjU734apkQ=; b=hul3Br/PFzM7elpZihZnSfqTxAiYUgJ8f1Rtdx/Qvg/x3pXyXdjfgJeYtW7pXD7x6m uBRFUb09OT+f4ZJs330NxfHwyRbw7eUBFFFkMYJAFAnPSRqAgZF2L0ca4sTlU6j0/i9j LOhote2+wv3RMsyyxntjCJqGGd+GPyj+wJWRzjGJt5ymDYMTEDjCZgwugpzpOQerJ+Ds 5ZxfGvNAoXkUiS9ZnmBOoG/ikzLj3b77f0ULqGfQ7Jud0PD2AtAcT+DjNAX5CJ0Q3jLM vMqQTTLmi61lqxyIgx4CF+8r5Fb+8AbCbLeVO/z0iX/S90QwObCAGoXNNGcSVkWRpgrh DiAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=z0KqqKCrWcPSUeO68YJQRqdeaJgZc6x3wWjU734apkQ=; b=U4uFv/ut9nHCMpty+hCJ+6uxobsjO6ui116J2dndTB7bhghkfptaLodWFaJeWdWt35 jwJW3JBi4YO+92j79u/+djoRfBhGdapaT8+f1A9jDSBiF7icYJmDtv1wz6roayJXQCAv E6PQm42MzgLs826zUEzgUXbNjL7DsdyHw4fgwf16LqSyI0QiId67ZAzLxlX6jR9c+neB EuDgysxhF9lS1fGTH6XfhA9TQG+NoS9wyW1gJXqdhBwGF6+UI2UiQ85RqFn1n9PMAUJ5 otYLyycNm4x0P/R5hJu9WZY33Y895zJcRIrdseXjDA5MeNBr2YUB1mbx1djxoVE5rag+ TUOA== X-Gm-Message-State: AHYfb5jxi2mjWqJQB3KXjBcv1lPO3FFd/8RGs4QtQo4jm98eiKxK8YV/ X5zFoIiR3cjmxRjarcs= X-Received: by 10.28.99.11 with SMTP id x11mr1470912wmb.164.1502149942548; Mon, 07 Aug 2017 16:52:22 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id e53sm20040053wrg.68.2017.08.07.16.52.21 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Aug 2017 16:52:21 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> Date: Tue, 8 Aug 2017 01:52:21 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 23:52:25 -0000 > On 07 Aug 2017, at 19:57, Hans Petter Selasky wrote: >=20 > On 08/07/17 19:19, Ben RUBSON wrote: >>> On 07 Aug 2017, at 18:19, Matt Joras wrote: >>>=20 >>> On 08/07/2017 09:11, Hans Petter Selasky wrote: >>>> Hi, >>>>=20 >>>> Try to enter "kgdb" and run: >>>>=20 >>>> thread apply all bt >>>>=20 >>>> Look for the callout function in question. >>>>=20 >>>> --HPS >>>>=20 >>> If you don't have a way to attach kgdb handy you could also break = into >>> ddb(4) and run "alltrace". Though gdb would be more useful for an >>> ongoing session if we need more than the backtrace since you could >>> switch to that thread and investigate it directly. >>>=20 >> Hi Hans & Matt, >> Thank you for your answers, glad to hear from you :) >> So here is the full kgdb(thread apply all bt) command log : >> https://benrubson.github.io/kgdb.log >> We found the faulty thread : >> # procstat -ak | grep "swi4.*tcp" >> 12 100029 intr swi4: clock (0) tcp_tw_2msl_scan = pfslowtimo softclock_call_cc softclock intr_event_execute_handlers = ithread_loop fork_exit fork_trampoline >> # kgdb >> (...) >> Thread 747 (Thread 100029): >> #0 sched_switch (td=3D0xfffff8000f337500, newtd=3D0xfffff8010e144000, = flags=3D) at /usr/src/sys/kern/sched_ule.c:1973 >> #1 0xfffffe1000f92d80 in ?? () >> #2 0xfffffe0f8f74b6e0 in ?? () >> #3 0xffffffff810bd274 in handleevents (now=3D, = fake=3DError accessing memory address 0xffffffffffffffcc: Bad address. >> ) at /usr/src/sys/kern/kern_clocksource.c:223 >> Previous frame inner to this frame (corrupt stack?) >> (...) >> Of course let me know if you need further info. >=20 > Can you try to dump "td": >=20 > set print pretty on > thread 747 > frame 0 > print *td >=20 > It might give some more clues. Here it is : https://benrubson.github.io/td.log Thx ! Ben From owner-freebsd-net@freebsd.org Tue Aug 8 06:54:10 2017 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 6FA28DC64EB for ; Tue, 8 Aug 2017 06:54:10 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3002072719 for ; Tue, 8 Aug 2017 06:54:09 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 3E9BC26079F; Tue, 8 Aug 2017 08:54:07 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> From: Hans Petter Selasky Message-ID: Date: Tue, 8 Aug 2017 08:51:50 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 06:54:10 -0000 On 08/08/17 01:52, Ben RUBSON wrote: > >> On 07 Aug 2017, at 19:57, Hans Petter Selasky wrote: >> >> On 08/07/17 19:19, Ben RUBSON wrote: >>>> On 07 Aug 2017, at 18:19, Matt Joras wrote: >>>> >>>> On 08/07/2017 09:11, Hans Petter Selasky wrote: >>>>> Hi, >>>>> >>>>> Try to enter "kgdb" and run: >>>>> >>>>> thread apply all bt >>>>> >>>>> Look for the callout function in question. >>>>> >>>>> --HPS >>>>> >>>> If you don't have a way to attach kgdb handy you could also break into >>>> ddb(4) and run "alltrace". Though gdb would be more useful for an >>>> ongoing session if we need more than the backtrace since you could >>>> switch to that thread and investigate it directly. >>>> >>> Hi Hans & Matt, >>> Thank you for your answers, glad to hear from you :) >>> So here is the full kgdb(thread apply all bt) command log : >>> https://benrubson.github.io/kgdb.log >>> We found the faulty thread : >>> # procstat -ak | grep "swi4.*tcp" >>> 12 100029 intr swi4: clock (0) tcp_tw_2msl_scan pfslowtimo softclock_call_cc softclock intr_event_execute_handlers ithread_loop fork_exit fork_trampoline >>> # kgdb >>> (...) >>> Thread 747 (Thread 100029): >>> #0 sched_switch (td=0xfffff8000f337500, newtd=0xfffff8010e144000, flags=) at /usr/src/sys/kern/sched_ule.c:1973 >>> #1 0xfffffe1000f92d80 in ?? () >>> #2 0xfffffe0f8f74b6e0 in ?? () >>> #3 0xffffffff810bd274 in handleevents (now=, fake=Error accessing memory address 0xffffffffffffffcc: Bad address. >>> ) at /usr/src/sys/kern/kern_clocksource.c:223 >>> Previous frame inner to this frame (corrupt stack?) >>> (...) >>> Of course let me know if you need further info. >> >> Can you try to dump "td": >> >> set print pretty on >> thread 747 >> frame 0 >> print *td >> >> It might give some more clues. > > Here it is : > https://benrubson.github.io/td.log > > Thx ! > Can you show output from: vmstat -z Can you from kgdb do: print V_twq_2msl And follow the next link field and see where it goes? --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 07:04:43 2017 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 EA8BDDC6BF4 for ; Tue, 8 Aug 2017 07:04:43 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 9285D72C2A for ; Tue, 8 Aug 2017 07:04:43 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x241.google.com with SMTP id c24so1819883wra.2 for ; Tue, 08 Aug 2017 00:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=3rBWCzvg3ziXZB77GtgvLomEdcEMu8lJp9SLdrrzh9A=; b=L2cUJr9ArzLt9EvUp2x/pkFOTe2BNnFHnwfgWUaNl1O5iELyT2namYgSsEF341U18e OqO0ao5meXo33wFXUpsWivRL9MEzwzBjrFSCM5WEkGTBBAn7Sm4OvUhSdL7NoVLkTyUi 8O23ilFuFjmGxPsSb+C5nz1blwWguKoKpjo3p+xpjvF3Em0NIIJDjkiNK+UkyKa7scSO PKcMVx/ce/Ba4SsytOoIC2pb59GyIdeCzBEqJO6ZuNuMVWsVGGPzAYtK+XbbhipaHrNF 7G9EzItZj8B29AJWQkUVWFgQtfC/PUC/WXvyK9gYNjJhGfOxmw2kJ7JD2xax/MCtNOEd rUEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=3rBWCzvg3ziXZB77GtgvLomEdcEMu8lJp9SLdrrzh9A=; b=iTIWH2Kl+4ZE9dURnmcMPlXyTYPXjQulHlx70UV4iiH36jAOWzvTRLaWjvFKDpWKwU GJgoUKl5Dh3EsNsVQBADsWwQt2M5+HpwnmdcEITSsS6aN0FoTRRPwZhPQt5xDhfNxw8P ZNiKe2lXH9RKEdhxEpXN/IN4vvuppCeAhhTXs4Sdoq9QH4zrS0JMx57tdORfMp8ZEq6Y bSuNdaVM167HmBJB/tD+uhn1N+QX8uhgxqbmHI+277BKWMPtUNDoFkzYMwjKdIeipqNk /Y0NMMPwN8UkrNpA+ExLq67E/QEDhrY1QlogAAXqWyNZxmfTH48Fki/QDND7Vzf8pdNs TTYw== X-Gm-Message-State: AHYfb5gJOAlyAyXDqdSWnrxhHu4VS6ENlTISQKtqwwGCz0pEpENcWwt0 quOyRaOlDg7COHvwvLg= X-Received: by 10.223.177.143 with SMTP id q15mr1917786wra.200.1502175881732; Tue, 08 Aug 2017 00:04:41 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id 23sm651285wrz.8.2017.08.08.00.04.40 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 00:04:41 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: Date: Tue, 8 Aug 2017 09:04:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:04:44 -0000 > On 08 Aug 2017, at 08:51, Hans Petter Selasky wrote: >=20 > On 08/08/17 01:52, Ben RUBSON wrote: >>> On 07 Aug 2017, at 19:57, Hans Petter Selasky = wrote: >>>=20 >>> On 08/07/17 19:19, Ben RUBSON wrote: >>>>> On 07 Aug 2017, at 18:19, Matt Joras wrote: >>>>>=20 >>>>> On 08/07/2017 09:11, Hans Petter Selasky wrote: >>>>>> Hi, >>>>>>=20 >>>>>> Try to enter "kgdb" and run: >>>>>>=20 >>>>>> thread apply all bt >>>>>>=20 >>>>>> Look for the callout function in question. >>>>>>=20 >>>>>> --HPS >>>>>>=20 >>>>> If you don't have a way to attach kgdb handy you could also break = into >>>>> ddb(4) and run "alltrace". Though gdb would be more useful for an >>>>> ongoing session if we need more than the backtrace since you could >>>>> switch to that thread and investigate it directly. >>>>>=20 >>>> Hi Hans & Matt, >>>> Thank you for your answers, glad to hear from you :) >>>> So here is the full kgdb(thread apply all bt) command log : >>>> https://benrubson.github.io/kgdb.log >>>> We found the faulty thread : >>>> # procstat -ak | grep "swi4.*tcp" >>>> 12 100029 intr swi4: clock (0) tcp_tw_2msl_scan = pfslowtimo softclock_call_cc softclock intr_event_execute_handlers = ithread_loop fork_exit fork_trampoline >>>> # kgdb >>>> (...) >>>> Thread 747 (Thread 100029): >>>> #0 sched_switch (td=3D0xfffff8000f337500, = newtd=3D0xfffff8010e144000, flags=3D) at = /usr/src/sys/kern/sched_ule.c:1973 >>>> #1 0xfffffe1000f92d80 in ?? () >>>> #2 0xfffffe0f8f74b6e0 in ?? () >>>> #3 0xffffffff810bd274 in handleevents (now=3D, fake=3DError accessing memory address 0xffffffffffffffcc: Bad = address. >>>> ) at /usr/src/sys/kern/kern_clocksource.c:223 >>>> Previous frame inner to this frame (corrupt stack?) >>>> (...) >>>> Of course let me know if you need further info. >>>=20 >>> Can you try to dump "td": >>>=20 >>> set print pretty on >>> thread 747 >>> frame 0 >>> print *td >>>=20 >>> It might give some more clues. >> Here it is : >> https://benrubson.github.io/td.log >> Thx ! >=20 > Can you show output from: >=20 > vmstat -z >=20 > Can you from kgdb do: >=20 > print V_twq_2msl >=20 > And follow the next link field and see where it goes? Here is vmstat -z : https://benrubson.github.io/vmstatz.log "print V_twq_2msl" returns the following : No symbol "V_twq_2msl" in current context. Even if I rerun this before (as I exited kgdb) : set print pretty on thread 747 frame 0 Ben= From owner-freebsd-net@freebsd.org Tue Aug 8 07:35:39 2017 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 165B6DC86D7 for ; Tue, 8 Aug 2017 07:35:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8DC273C26 for ; Tue, 8 Aug 2017 07:35:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 8B60226079F; Tue, 8 Aug 2017 09:35:36 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> From: Hans Petter Selasky Message-ID: <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> Date: Tue, 8 Aug 2017 09:33:23 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:35:39 -0000 On 08/08/17 09:04, Ben RUBSON wrote: > "print V_twq_2msl" returns the following : > No symbol "V_twq_2msl" in current context. Are you using VIMAGE ? --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 07:37:13 2017 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 970CBDC8839 for ; Tue, 8 Aug 2017 07:37:13 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59A6773CFD for ; Tue, 8 Aug 2017 07:37:12 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7307226079F; Tue, 8 Aug 2017 09:37:10 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> From: Hans Petter Selasky Message-ID: <708ba28c-a235-aefe-f700-9bc78d5154a7@selasky.org> Date: Tue, 8 Aug 2017 09:34:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:37:13 -0000 On 08/08/17 09:04, Ben RUBSON wrote: > Here is vmstat -z : > https://benrubson.github.io/vmstatz.log From what I can see there are not TCP allocation failures. This rules out one class of bugs: > socket: 864, 2092652, 105, 371, 2318298, 0, 0 > unpcb: 240, 2092656, 14, 1506, 70953, 0, 0 > ipq: 56, 127374, 0, 0, 0, 0, 0 > udp_inpcb: 464, 2092656, 12, 1044, 1515824, 0, 0 > udpcb: 32, 2092750, 12, 7363, 1515824, 0, 0 > tcp_inpcb: 464, 2092656, 448, 432, 731341, 0, 0 > tcpcb: 1040, 2092653, 35, 205, 731341, 0, 0 > tcptw: 88, 27810, 413, 3862, 161063, 0, 0 > syncache: 168, 15364, 0, 1357, 17611, 0, 0 > hostcache: 128, 0, 0, 0, 0, 0, 0 > sackhole: 32, 0, 0, 5625, 42406, 0, 0 > tcpreass: 40, 254700, 0, 6900, 2276087, 0, 0 --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 07:37:58 2017 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 DAE03DC8922 for ; Tue, 8 Aug 2017 07:37:58 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 689C873DD1 for ; Tue, 8 Aug 2017 07:37:58 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id m85so93684wma.0 for ; Tue, 08 Aug 2017 00:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=avruDESgRX7iV2iFN077SDv6A3vIjXgJHNG55/Fw+h8=; b=e9HD4pIPYOKKjIOKfutewM7KrC8jRqSmyADlgyPj9yZviVzRI3M1Yv3bZAi6pGTfWL +/I7+St4O0eEq5mET7pl3wHlNFyUvsHzfD0W+E48iL5RgAipj11feMxbV/Cy03mzR/VF Y9PdWXx71E263K4WxkSTyaeMSJw3hqZdjFzoUODFrQcd1fKkF9oUSZdMpcHZJukDFXA1 QLV2CTugyHCH/RPA6QqoXMC6yXtBgawo5GAcuKAqrIDTpdUN1jSrRX9M55G/dqrYLPqc YsOm+Kny1wWgQkmQjGrU6LhuXwpNLrkjZ6SEcopEAsUnslmVFyCBcQGcQPZNr6cEYRy5 U9xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=avruDESgRX7iV2iFN077SDv6A3vIjXgJHNG55/Fw+h8=; b=LItzUt5PzB+gucZ8IdacIFs0rOvoQ7J4q6IoFvaOEr4tTEPvbG62pMD9OasPOW1hgy OUl3MQ3f0XrbIQWIJFY8fHtp0j+sodrdZToOwhMRMd2f9wCV1oUkaTaZXcOGvrfvXkXQ D2DtP0WzRQ3PrfCUzLCQpO3nWNwveSPxuS4fIHZlHorH+6IoYUS7J4T3quF/iOoKolni g6dlPtGMO9GxlyeH5Ys48BA3omaXXmBQ+Y+mkJim2RY2yVvG6NiixBSU3/HAW/AlIeY7 yhY+j4Q2qMTczcfftHvtNhSoEcl2KN8TpUrHpQ9GOnntDR8AbtzGbQOpO+jGEZSadTDT cn8Q== X-Gm-Message-State: AHYfb5gdl7+HJylwEkeQ/MfSLcpv2ja7yeBkbDp1SHDSjH8SeNF8U+3Y eUsKLnB+tsBrGJfqgeQ= X-Received: by 10.28.69.16 with SMTP id s16mr1967938wma.169.1502177876543; Tue, 08 Aug 2017 00:37:56 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id w134sm1001480wmd.7.2017.08.08.00.37.55 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 00:37:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> Date: Tue, 8 Aug 2017 09:37:54 +0200 Content-Transfer-Encoding: 7bit Message-Id: <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:37:59 -0000 > On 08 Aug 2017, at 09:33, Hans Petter Selasky wrote: > > On 08/08/17 09:04, Ben RUBSON wrote: >> "print V_twq_2msl" returns the following : >> No symbol "V_twq_2msl" in current context. > > Are you using VIMAGE ? No, GENERIC FreeBSD 11.0 on a physical server. From owner-freebsd-net@freebsd.org Tue Aug 8 07:41:14 2017 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 1D7F3DC8B87 for ; Tue, 8 Aug 2017 07:41:14 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D88C474087 for ; Tue, 8 Aug 2017 07:41:13 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id A238A26079F; Tue, 8 Aug 2017 09:41:11 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> From: Hans Petter Selasky Message-ID: <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> Date: Tue, 8 Aug 2017 09:38:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:41:14 -0000 On 08/08/17 09:37, Ben RUBSON wrote: > >> On 08 Aug 2017, at 09:33, Hans Petter Selasky wrote: >> >> On 08/08/17 09:04, Ben RUBSON wrote: >>> "print V_twq_2msl" returns the following : >>> No symbol "V_twq_2msl" in current context. >> >> Are you using VIMAGE ? > > No, GENERIC FreeBSD 11.0 on a physical server. Can you try to figure out where this symbol is located. We need to have a dump of it. --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 07:43:11 2017 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 80B29DC8E83 for ; Tue, 8 Aug 2017 07:43:11 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 0CDBB7426C for ; Tue, 8 Aug 2017 07:43:11 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id m85so188799wma.0 for ; Tue, 08 Aug 2017 00:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=O2DO4uaimzoNMzte4ChqgnLcx3A5O+GkRRMsQA2lNOM=; b=PXst+TIIS61WnWGlrWPS8W3mrR9i2z6l+aNU0Sy8dkO1YXyrknqSERK8v4FCGGE2Nd jCEkHSsYwmEzrhBHRP61pnhACWMC+yPbmwxgFhJcMZja6Kzkrl3t9HgvY1z3DS+MRTo6 BosT85sXt4WXCH2wy2nIVGjN41a7l7/PYVvBUrC02wTFklCIqnL5Kz84JkQoKvTXWmai 7augBbd/lZBP5sKSveRMt7g/1JvfW5mUKTyCWMkJzKv5v1+YBHMpjwWL6R8QxXQKpvxa 4cyjefU4XZanwd0vPA7427XEzGPptba4uJ1qIC5hHPNic8lBMIzIAulMIcDz9AkKREpg axDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=O2DO4uaimzoNMzte4ChqgnLcx3A5O+GkRRMsQA2lNOM=; b=rx/sJD5GiLP+UHjtJULW2aIhCCEvcYaeZQk3u9mc6WbshwSrzcmgJ9SBpCPupEwok8 o+Qr1nhYFvgt2HlDH4PyV25dEh8hMQscjEOha/DDudt6/+u81znQG7VjzXqX0XGxtfB2 bLpnwE+2lWNg/BsO88/32bSX52iE+AQVxNAkLkfM66CTsWFIweGbkvytthAM78POwr9a gfPczZE+vVq0HOSVGkljEY+MIYj8egZ1/j9IBgBu/D5yMC7s7eT/E7mlSMO3uOQFsMNw 8YpD/C+GIYlLzMdYRtpk/DXWwsaId78JO4XQdiTdNwUYmzVoODDFlFZCYwdYmQWUT+xY 0RBw== X-Gm-Message-State: AHYfb5ijxKxwSPYTd8fLazyQbgjajdqgD9tgUm+qYlD7VhdWqOb3df85 5m9VedF1YjEdKjC6KQs= X-Received: by 10.28.228.134 with SMTP id b128mr1968136wmh.53.1502178189126; Tue, 08 Aug 2017 00:43:09 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id u128sm742155wmu.29.2017.08.08.00.43.08 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 00:43:08 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> Date: Tue, 8 Aug 2017 09:43:07 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:43:11 -0000 > On 08 Aug 2017, at 09:38, Hans Petter Selasky wrote: >=20 > On 08/08/17 09:37, Ben RUBSON wrote: >>> On 08 Aug 2017, at 09:33, Hans Petter Selasky = wrote: >>>=20 >>> On 08/08/17 09:04, Ben RUBSON wrote: >>>> "print V_twq_2msl" returns the following : >>>> No symbol "V_twq_2msl" in current context. >>>=20 >>> Are you using VIMAGE ? >> No, GENERIC FreeBSD 11.0 on a physical server. >=20 > Can you try to figure out where this symbol is located. We need to = have a dump of it. OK. I'm quite (well, absolutely) new to kgdb, some clue on how I should = proceed ? Thank you ! Ben= From owner-freebsd-net@freebsd.org Tue Aug 8 07:51:32 2017 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 12D63DC94B5 for ; Tue, 8 Aug 2017 07:51:32 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) (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 9359E744EE for ; Tue, 8 Aug 2017 07:51:31 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x232.google.com with SMTP id v105so9823593wrb.0 for ; Tue, 08 Aug 2017 00:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=SrxKYLiDxJRUdRq0ErnphmhSdsNTlgeSo+Qs+eicYgs=; b=ucf5NEEo3u584Tdjn8UNUJ8gYZhVW0ybk8VmrQLgTyE9NSkFSrVZqhd7NpFiIz3sqy v5jMto/67XKSX+1tkgcQ/q+zPXCwsBAbzyRmc8hpsN2ie8ZL0nWXTpvihlxXGvHA69sY cH6d5DG6TzyQRWNU06mGLSaViGOPLUO8OKK6PFC5/HhE8+EfvAOVylJX6De3iniIzhoA em/aHGMFcYCz43SsZtOZFl9A+yNBEyUUBziLbDuBWgiSBE3/L7dJig17G97ZaJor/7i8 19fYzoFiUyylteGyjEM6Q5tnYXACU3ws2/y61EJoout2RRF+L1TT6yfrdeCg8giROWZc pMbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=SrxKYLiDxJRUdRq0ErnphmhSdsNTlgeSo+Qs+eicYgs=; b=AKJet+fu8u529FOQrkmQs0YZN9GA4NuBvdGlv/LtgY/hNV6J7gIax+qrjeTuUK0mFj NB0Gnpa09c6bRZCF2dk4mbypnPhODUg1K/f8fzgwv00sxavARkI2DOs/zJxnCh+wWVfa BMGOH8Dea3qKdUOQTGIJIDK7fffnA1puUqTblka3H1cla+E2XUX/FCEQDwfCalrcFP8a HvmU6DCKP4tvNiUsinTbd9oOONIZ9DMsaJPuV5U+McVtv1pd6TEYNFAfWy+HkKJSNPBE VnpKFfk3tmgqcGuzMGO1XM2LogJv14j3TJKtJRkr/XBSgrm/Y+3FN68xiWiyVbCY1LHg WQEg== X-Gm-Message-State: AHYfb5iK/Wxt+tgdgL9R/2LCqmB6G49cIm/F2e6TsEPuCTjr1fZRVdSC T8tfZ+M1UdxxYt/mbes= X-Received: by 10.223.178.26 with SMTP id u26mr1984454wra.133.1502178689782; Tue, 08 Aug 2017 00:51:29 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id y73sm809986wmh.46.2017.08.08.00.51.28 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 00:51:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> Date: Tue, 8 Aug 2017 09:51:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6402778F-E164-40EE-9F16-CAE9FBD46E82@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:51:32 -0000 > On 08 Aug 2017, at 09:38, Hans Petter Selasky wrote: >=20 > On 08/08/17 09:37, Ben RUBSON wrote: >>> On 08 Aug 2017, at 09:33, Hans Petter Selasky = wrote: >>>=20 >>> On 08/08/17 09:04, Ben RUBSON wrote: >>>> "print V_twq_2msl" returns the following : >>>> No symbol "V_twq_2msl" in current context. >>>=20 >>> Are you using VIMAGE ? >> No, GENERIC FreeBSD 11.0 on a physical server. >=20 > Can you try to figure out where this symbol is located. We need to = have a dump of it. Perhaps we can't find the symbol due to the frame error which seems to = be reported ? Thread 747 (Thread 100029): #0 sched_switch (td=3D0xfffff8000f337500, newtd=3D0xfffff8010e144000, = flags=3D) at /usr/src/sys/kern/sched_ule.c:1973 #1 0xfffffe1000f92d80 in ?? () #2 0xfffffe0f8f74b6e0 in ?? () #3 0xffffffff810bd274 in handleevents (now=3D, = fake=3DError accessing memory address 0xffffffffffffffcc: Bad address. ) at /usr/src/sys/kern/kern_clocksource.c:223 Previous frame inner to this frame (corrupt stack?) From owner-freebsd-net@freebsd.org Tue Aug 8 07:56:35 2017 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 D7020DC98C3 for ; Tue, 8 Aug 2017 07:56:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97B1A7490B for ; Tue, 8 Aug 2017 07:56:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 52D8926079F; Tue, 8 Aug 2017 09:56:33 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> From: Hans Petter Selasky Message-ID: <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> Date: Tue, 8 Aug 2017 09:54:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 07:56:35 -0000 On 08/08/17 09:43, Ben RUBSON wrote: > OK. > I'm quite (well, absolutely) new to kgdb, some clue on how I should proceed ? > Thank you ! > Ben print twq_2msl print *twq_2msl.tqh_first --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 08:00:09 2017 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 084C7DC9D7D for ; Tue, 8 Aug 2017 08:00:09 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 873FD74A60 for ; Tue, 8 Aug 2017 08:00:08 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id t201so530643wmt.0 for ; Tue, 08 Aug 2017 01:00:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=TpHwBeYDj7Ldqa1lYkWoVPiBN/EM+t3MdPe/l6zB/20=; b=nGpaLWhCibi4RbYAST6neq/fwC7OhOjg1UjhwO3krZDH6lS0QUmnBMWMKag+K0lLwM aHxIL4L/jdAAc+PiMJ83ahUELuS46paKe/vYI3TQPAew4IoLnkXK1zSG/DD1UmatqJAj E4LG/rVHTbfNX4djebNYZ1zUBYI1kN3dSEUmcTY1NMHwisqeynFA9CwabnvyyxVSDyeF bcygVDbhbIsnyQ4a4gg7p9z11q+zn9fJIcA7qEF6A1EEyZVOM2jP5y04bI1uyNNSyJYw qQQrgiKFNgR7+tv2RIqCdVj8d1SNA3/ybl/v9C1pUdieR5DKmo95mT3++X/tt4RXy4Nw hm1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=TpHwBeYDj7Ldqa1lYkWoVPiBN/EM+t3MdPe/l6zB/20=; b=oPpomvkIh5UIS6NCTqpeeN5TRBrEq6UfZt4FD+85xc8xvLKj3jGg9vXDyoUzaIOoNP gwSWVaAuXxeHi+9gd7kbh+lKCyn/6NwnMc6RbCyWuRxtYcKkrgZvOiFZMRLDrx7U4Yzf sZ+suV5lqhvGnCHx/3tKaJZTraeFcTp09ybu0E53v+BTZvrDO4DnqVjVJUvf66i8jJvb uYzkE3sVDQaduU6sxEz0z/1K8JRkWlHbS0jLkTcDT8ImZ2ko+94XgmPTPfaCuPRlZMNs r0yMHWIcVRAvpIQkw2vgg6Xrpwz1g+H6S48eCFytWzW4yBzqhAO0Yv32CNztmPEsPesm chYQ== X-Gm-Message-State: AHYfb5jIU6sq43IAD0xmRl86QzRmWnyd2QyEzfzGT4pkhGsux+RxfLml Cq9NDd1oucyHsbwXmyQ= X-Received: by 10.28.71.203 with SMTP id m72mr1915799wmi.97.1502179206528; Tue, 08 Aug 2017 01:00:06 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id 13sm1539591wrw.72.2017.08.08.01.00.05 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 01:00:05 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> Date: Tue, 8 Aug 2017 10:00:04 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 08:00:09 -0000 > On 08 Aug 2017, at 09:54, Hans Petter Selasky wrote: >=20 > On 08/08/17 09:43, Ben RUBSON wrote: >> OK. >> I'm quite (well, absolutely) new to kgdb, some clue on how I should = proceed ? >> Thank you ! >> Ben >=20 > print twq_2msl > print *twq_2msl.tqh_first (kgdb) set print pretty on (kgdb) print twq_2msl $1 =3D { tqh_first =3D 0xfffff80d1bf12210,=20 tqh_last =3D 0xfffff808b73433a8 } (kgdb) print *twq_2msl.tqh_first $2 =3D { tw_inpcb =3D 0xfffff8031c570740,=20 snd_nxt =3D 4140013171,=20 rcv_nxt =3D 3258392061,=20 iss =3D 4140006661,=20 irs =3D 3258390776,=20 last_win =3D 513,=20 tw_so_options =3D 12,=20 tw_cred =3D 0xfffff804ae6ca400,=20 t_recent =3D 1263366217,=20 ts_offset =3D 4279193351,=20 t_starttime =3D 606489428,=20 tw_time =3D 606516815,=20 tw_2msl =3D { tqe_next =3D 0xfffff80ff71453c8,=20 tqe_prev =3D 0xffffffff81d763a0 },=20 tw_pspare =3D 0x0,=20 tw_spare =3D 0x0 } (kgdb)=20 From owner-freebsd-net@freebsd.org Tue Aug 8 08:05:01 2017 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 1108BDCA32E for ; Tue, 8 Aug 2017 08:05:01 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C5D7174EAD for ; Tue, 8 Aug 2017 08:05:00 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B45BF26079F; Tue, 8 Aug 2017 10:04:57 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... To: Ben RUBSON , FreeBSD Net References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> From: Hans Petter Selasky Message-ID: <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> Date: Tue, 8 Aug 2017 10:02:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 08:05:01 -0000 On 08/08/17 10:00, Ben RUBSON wrote: > kgdb) print *twq_2msl.tqh_first > $2 = { > tw_inpcb = 0xfffff8031c570740, print *twq_2msl.tqh_first->tw_inpcb --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 08:06:28 2017 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 2EDD1DCA4F8 for ; Tue, 8 Aug 2017 08:06:28 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 BDAA974FAA for ; Tue, 8 Aug 2017 08:06:27 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id m85so638557wma.0 for ; Tue, 08 Aug 2017 01:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=I2HXzYYDQWHr0A5ZHKYJ8jf5uwvujKgnVDl0V2zrVOM=; b=bBeQXt2upRpwhwuh3erGhygtCZ3x2cSLtcjX5VWqSRGPzmiZ+FhW33EUGXMLOgAVzc ZaYq1nlzBVnT9uZ5jgK79xsTfYOi2vuw4wiXFytCQvdawgLgxZay50eX0ad+WmVTHvJ0 +iAX2wSuBDeOF4umTMgtlR2L5bDGVjb9h00S2kh3/iJgrwxJRA2My16q/QU8ms77MNoF Dm+wABNHt/NWgCXELoWxT0uMT4ftw5w6Yim4qjgeYBSajK41HMHji6g372hLXLrUl2cv 0dyWMkCvNB1jOUTV0tftGqbMWdxmq2eExlK++Z2of63bxAUath66BDPK3wbCbrpjQ9XJ PPEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=I2HXzYYDQWHr0A5ZHKYJ8jf5uwvujKgnVDl0V2zrVOM=; b=l5yd/3EOOzVH1RQEzu0YgrqwPWgzaFANUdMSxU9s89B54h3XQgWh4p6tw81EjUex2K Ft1b73beysf5NwR8aJGRquFRLdCalTzs24u/sgjDtvbOS90l3h2CAGHGTb/AkjcioPp6 bLNglWVzXNRI05AP36f9Px5+4lJl6UM13M5+exUg+M2t/1Q5jPJe3c24zwbiQXE5M4D9 N+hTBNNItqbcD1lk+pf2Y1HriJQMZoVnKLhXRmP0L90Zs3LmeBuGI32iNYgGAOVwk999 rF/5Z2ebjMJYVZ2jqBItboe20DFpHWP12mhZxWRGMLdqQyQ7VwqUL9TwmeR+etUNL0qo vE5A== X-Gm-Message-State: AHYfb5g/QvE4bp/ZktE7yP4H+/WPGe0nZj1LbyIOrC/CDjRZjhxMEPEl cF21azTFLADrtci5+ho= X-Received: by 10.28.222.70 with SMTP id v67mr2010049wmg.152.1502179586014; Tue, 08 Aug 2017 01:06:26 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id m23sm1244180wrm.73.2017.08.08.01.06.25 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 01:06:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... From: Ben RUBSON In-Reply-To: <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> Date: Tue, 8 Aug 2017 10:06:24 +0200 Content-Transfer-Encoding: 7bit Message-Id: <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> References: <72b9de84-5572-3737-b274-34d2c5cdf634@selasky.org> <91DCB96E-4C08-44C5-94E7-E7C686DEFE5F@gmail.com> <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 08:06:28 -0000 > On 08 Aug 2017, at 10:02, Hans Petter Selasky wrote: > > On 08/08/17 10:00, Ben RUBSON wrote: >> kgdb) print *twq_2msl.tqh_first >> $2 = { >> tw_inpcb = 0xfffff8031c570740, > > print *twq_2msl.tqh_first->tw_inpcb (kgdb) print *twq_2msl.tqh_first->tw_inpcb $3 = { inp_hash = { le_next = 0x0, le_prev = 0xfffffe000f78adb8 }, inp_pcbgrouphash = { le_next = 0x0, le_prev = 0x0 }, inp_list = { le_next = 0xfffff80c2a07f570, le_prev = 0xffffffff81e15e20 }, inp_ppcb = 0xfffff80d1bf12210, inp_pcbinfo = 0xffffffff81e15e28, inp_pcbgroup = 0x0, inp_pcbgroup_wild = { le_next = 0x0, le_prev = 0x0 }, inp_socket = 0x0, inp_cred = 0xfffff804ae6ca400, inp_flow = 0, inp_flags = 92274688, inp_flags2 = 16, inp_vflag = 0 '\0', inp_ip_ttl = 64 '@', inp_ip_p = 0 '\0', inp_ip_minttl = 0 '\0', inp_flowid = 946611505, inp_refcount = 2, inp_pspare = 0xfffff8031c5707c0, inp_flowtype = 191, inp_rss_listen_bucket = 0, inp_ispare = 0xfffff8031c5707f0, inp_inc = { inc_flags = 0 '\0', inc_len = 0 '\0', inc_fibnum = 0, inc_ie = { ie_fport = 53987, ie_lport = 47873, ie_dependfaddr = { ie46_foreign = { ia46_pad32 = 0xfffff8031c570808, ia46_addr4 = { s_addr = 3011802202 } }, ie6_foreign = { __u6_addr = { __u6_addr8 = 0xfffff8031c570808 "", __u6_addr16 = 0xfffff8031c570808, __u6_addr32 = 0xfffff8031c570808 } } }, ie_dependladdr = { ie46_local = { ia46_pad32 = 0xfffff8031c570818, ia46_addr4 = { s_addr = 4068705883 } }, ie6_local = { __u6_addr = { __u6_addr8 = 0xfffff8031c570818 "", __u6_addr16 = 0xfffff8031c570818, __u6_addr32 = 0xfffff8031c570818 } } }, ie6_zoneid = 0 } }, inp_label = 0x0, inp_sp = 0x0, inp_depend4 = { inp4_ip_tos = 0 '\0', inp4_options = 0x0, inp4_moptions = 0x0 }, inp_depend6 = { inp6_options = 0x0, inp6_outputopts = 0x0, inp6_moptions = 0x0, inp6_icmp6filt = 0x0, inp6_cksum = 0, inp6_hops = 0 }, inp_portlist = { le_next = 0xfffff80274298ae0, le_prev = 0xfffff800454999b0 }, inp_phd = 0xfffff800454999a0, inp_gencnt = 2119756, inp_lle = 0x0, inp_lock = { lock_object = { lo_name = 0xffffffff814e6940 "tcpinp", lo_flags = 90898432, lo_data = 0, lo_witness = 0x0 }, rw_lock = 18446735277871559936 }, inp_rt_cookie = 10, inp_rtu = { inpu_route = { ro_rt = 0x0, ro_lle = 0x0, ro_prepend = 0x0, ro_plen = 0, ro_flags = 384, ro_mtu = 0, spare = 0, ro_dst = { sa_len = 16 '\020', sa_family = 2 '\002', sa_data = 0xfffff8031c5708f2 "" } }, inpu_route6 = { ro_rt = 0x0, ro_lle = 0x0, ro_prepend = 0x0, ro_plen = 0, ro_flags = 384, ro_mtu = 0, spare = 0, ro_dst = { sin6_len = 16 '\020', sin6_family = 2 '\002', sin6_port = 0, sin6_flowinfo = 3011802202, sin6_addr = { __u6_addr = { __u6_addr8 = 0xfffff8031c5708f8 "", __u6_addr16 = 0xfffff8031c5708f8, __u6_addr32 = 0xfffff8031c5708f8 } }, sin6_scope_id = 0 } } } } (kgdb) From owner-freebsd-net@freebsd.org Tue Aug 8 08:33:49 2017 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 3362BDCBC1A; Tue, 8 Aug 2017 08:33:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D22EB75DA8; Tue, 8 Aug 2017 08:33:48 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 01AFA26079F; Tue, 8 Aug 2017 10:33:46 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) To: Ben RUBSON , FreeBSD Net , jch , hiren , Slawa Olhovchenkov , FreeBSD Stable References: <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> From: Hans Petter Selasky Message-ID: Date: Tue, 8 Aug 2017 10:31:33 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> Content-Type: multipart/mixed; boundary="------------FE67B731424B1568ADC4B17D" Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 08:33:49 -0000 This is a multi-part message in MIME format. --------------FE67B731424B1568ADC4B17D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 08/08/17 10:06, Ben RUBSON wrote: >> On 08 Aug 2017, at 10:02, Hans Petter Selasky wrote: >> >> On 08/08/17 10:00, Ben RUBSON wrote: >>> kgdb) print *twq_2msl.tqh_first >>> $2 = { >>> tw_inpcb = 0xfffff8031c570740, >> >> print *twq_2msl.tqh_first->tw_inpcb > > (kgdb) print *twq_2msl.tqh_first->tw_inpcb > $3 = { > inp_hash = { > le_next = 0x0, > le_prev = 0xfffffe000f78adb8 > }, > inp_pcbgrouphash = { > le_next = 0x0, > le_prev = 0x0 > }, > inp_list = { > le_next = 0xfffff80c2a07f570, > le_prev = 0xffffffff81e15e20 > }, > inp_ppcb = 0xfffff80d1bf12210, > inp_pcbinfo = 0xffffffff81e15e28, > inp_pcbgroup = 0x0, > inp_pcbgroup_wild = { > le_next = 0x0, > le_prev = 0x0 > }, > inp_socket = 0x0, > inp_cred = 0xfffff804ae6ca400, > inp_flow = 0, > inp_flags = 92274688, > inp_flags2 = 16, > inp_vflag = 0 '\0', > inp_ip_ttl = 64 '@', > inp_ip_p = 0 '\0', > inp_ip_minttl = 0 '\0', > inp_flowid = 946611505, > inp_refcount = 2, > inp_pspare = 0xfffff8031c5707c0, > inp_flowtype = 191, > inp_rss_listen_bucket = 0, > inp_ispare = 0xfffff8031c5707f0, > inp_inc = { > inc_flags = 0 '\0', > inc_len = 0 '\0', > inc_fibnum = 0, > inc_ie = { > ie_fport = 53987, > ie_lport = 47873, > ie_dependfaddr = { > ie46_foreign = { > ia46_pad32 = 0xfffff8031c570808, > ia46_addr4 = { > s_addr = 3011802202 > } > }, > ie6_foreign = { > __u6_addr = { > __u6_addr8 = 0xfffff8031c570808 "", > __u6_addr16 = 0xfffff8031c570808, > __u6_addr32 = 0xfffff8031c570808 > } > } > }, > ie_dependladdr = { > ie46_local = { > ia46_pad32 = 0xfffff8031c570818, > ia46_addr4 = { > s_addr = 4068705883 > } > }, > ie6_local = { > __u6_addr = { > __u6_addr8 = 0xfffff8031c570818 "", > __u6_addr16 = 0xfffff8031c570818, > __u6_addr32 = 0xfffff8031c570818 > } > } > }, > ie6_zoneid = 0 > } > }, > inp_label = 0x0, > inp_sp = 0x0, > inp_depend4 = { > inp4_ip_tos = 0 '\0', > inp4_options = 0x0, > inp4_moptions = 0x0 > }, > inp_depend6 = { > inp6_options = 0x0, > inp6_outputopts = 0x0, > inp6_moptions = 0x0, > inp6_icmp6filt = 0x0, > inp6_cksum = 0, > inp6_hops = 0 > }, > inp_portlist = { > le_next = 0xfffff80274298ae0, > le_prev = 0xfffff800454999b0 > }, > inp_phd = 0xfffff800454999a0, > inp_gencnt = 2119756, > inp_lle = 0x0, > inp_lock = { > lock_object = { > lo_name = 0xffffffff814e6940 "tcpinp", > lo_flags = 90898432, > lo_data = 0, > lo_witness = 0x0 > }, > rw_lock = 18446735277871559936 > }, > inp_rt_cookie = 10, > inp_rtu = { > inpu_route = { > ro_rt = 0x0, > ro_lle = 0x0, > ro_prepend = 0x0, > ro_plen = 0, > ro_flags = 384, > ro_mtu = 0, > spare = 0, > ro_dst = { > sa_len = 16 '\020', > sa_family = 2 '\002', > sa_data = 0xfffff8031c5708f2 "" > } > }, > inpu_route6 = { > ro_rt = 0x0, > ro_lle = 0x0, > ro_prepend = 0x0, > ro_plen = 0, > ro_flags = 384, > ro_mtu = 0, > spare = 0, > ro_dst = { > sin6_len = 16 '\020', > sin6_family = 2 '\002', > sin6_port = 0, > sin6_flowinfo = 3011802202, > sin6_addr = { > __u6_addr = { > __u6_addr8 = 0xfffff8031c5708f8 "", > __u6_addr16 = 0xfffff8031c5708f8, > __u6_addr32 = 0xfffff8031c5708f8 > } > }, > sin6_scope_id = 0 > } > } > } > } > (kgdb) > Hi, Here is the conclusion: The following code is going in an infinite loop: > for (;;) { > TW_RLOCK(V_tw_lock); > tw = TAILQ_FIRST(&V_twq_2msl); > if (tw == NULL || (!reuse && (tw->tw_time - ticks) > 0)) { > TW_RUNLOCK(V_tw_lock); > break; > } > KASSERT(tw->tw_inpcb != NULL, ("%s: tw->tw_inpcb == NULL", > __func__)); > > inp = tw->tw_inpcb; > in_pcbref(inp); > TW_RUNLOCK(V_tw_lock); > > if (INP_INFO_TRY_RLOCK(&V_tcbinfo)) { > > INP_WLOCK(inp); > tw = intotw(inp); > if (in_pcbrele_wlocked(inp)) { in_pcbrele_wlocked() returns (1) because INP_FREED (16) is set in inp->inp_flags2. I guess you have invariants disabled, because the KASSERT() below should have caused a panic. > KASSERT(tw == NULL, ("%s: held last inp " > "reference but tw not NULL", __func__)); > INP_INFO_RUNLOCK(&V_tcbinfo); > continue; > } This is a regression issue after: > commit 5630210a7f1dbbd903b77b2aef939cd47c63da58 > Author: jch > Date: Thu Oct 30 08:53:56 2014 +0000 > > Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() and > tcp_tw_2msl_scan(). This race condition drives unplanned timewait > timeout cancellation. Also simplify implementation by holding inpcb > reference and removing tcptw reference counting. Suggested fix attached. --HPS --------------FE67B731424B1568ADC4B17D Content-Type: text/x-patch; name="tcp_timewait.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tcp_timewait.diff" Index: sys/netinet/tcp_timewait.c =================================================================== --- sys/netinet/tcp_timewait.c (revision 321981) +++ sys/netinet/tcp_timewait.c (working copy) @@ -709,10 +709,11 @@ INP_WLOCK(inp); tw = intotw(inp); if (in_pcbrele_wlocked(inp)) { - KASSERT(tw == NULL, ("%s: held last inp " - "reference but tw not NULL", __func__)); INP_INFO_RUNLOCK(&V_tcbinfo); - continue; + if (tw == NULL) + continue; + else + break; /* INP_FREED flag is set */ } if (tw == NULL) { --------------FE67B731424B1568ADC4B17D-- From owner-freebsd-net@freebsd.org Tue Aug 8 08:51:40 2017 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 04D01DCCCF6; Tue, 8 Aug 2017 08:51:40 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 8365A7673C; Tue, 8 Aug 2017 08:51:39 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id x64so3313620wmg.1; Tue, 08 Aug 2017 01:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0Lg1qqe3YoSfWVcOjfxlsVisICZxoCdxsCANfoDom8o=; b=u+5XWeFPq3vb3iJE4sax2B7MCfJI17T7q5/EIuagnIPrivT9nJZHMsrST3Gf/bcniS cKWynWnVIN8ullDr3ZqYDnZIDThtElqWPrZw4ydIGcXHLVtVB/gr+vzNOdZKbEomCIUg KHCMaqoVmf+viw+uypT1MFyKSNhcsc+OjZokhyxohx7dz4qJ4RrPG/BJRkOsUpl5kmZY aB1YE6NAtOQfnuurv6o0dXdjdBcc/65+prJK+tvn1vqAWSuRW97RckwKjBD0eTbZSSlR 74fL/NgETpkyaT4DBpXoaG18iOPCvGt14P0AWJd7rgawGfFzGZRHesVmL7sEQdPVp5py IIQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0Lg1qqe3YoSfWVcOjfxlsVisICZxoCdxsCANfoDom8o=; b=NJjq/DRQZhfM4gRwyPcShLTp5A6hrI6oPWpZJs/70vrvKKDnfQtzR03xf8Ek1xDNDW cqLgF7pY4NlWK5NvdYII1rGm5egiULq6l3unNYAEznod8qaoPltto9KLJaOYIquQ3dPn 9cI5k+5YVuCWbtmCyt+NdtIEetGCuFRQewwMefISbGPntEkvH3hq38bICxFIK6gvjkDd NY3LMSvaYyMNLUyqAJKdT/JF4uNjcL2iqoTMSUveuei/FCjH5aMDbuThheZkp3R5oSvL dzCJqFVwDiuUuW1qzBabWVUvAtFVJ+PLs693+UWwRvLpD4hYNZuXfc8zMZeX9uLdMsGg 7/Iw== X-Gm-Message-State: AHYfb5hnpSqLitZczu17Jmaxqm2jkbvLCUxz6cKD2fmEVzWLRiHbs25U KFcYdnj3XjWmdECe6F+ltQ== X-Received: by 10.28.194.138 with SMTP id s132mr2606550wmf.29.1502182297885; Tue, 08 Aug 2017 01:51:37 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id v186sm1005318wmf.34.2017.08.08.01.51.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 01:51:37 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) From: Ben RUBSON In-Reply-To: Date: Tue, 8 Aug 2017 10:51:35 +0200 Cc: jch , hiren , Slawa Olhovchenkov , FreeBSD Stable Content-Transfer-Encoding: quoted-printable Message-Id: <18031E23-711F-4E74-9D59-15A3C1DB113F@gmail.com> References: <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> To: FreeBSD Net X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 08:51:40 -0000 > On 08 Aug 2017, at 10:31, Hans Petter Selasky wrote: >=20 > On 08/08/17 10:06, Ben RUBSON wrote: >>> On 08 Aug 2017, at 10:02, Hans Petter Selasky = wrote: >>>=20 >>> On 08/08/17 10:00, Ben RUBSON wrote: >>>> kgdb) print *twq_2msl.tqh_first >>>> $2 =3D { >>>> tw_inpcb =3D 0xfffff8031c570740, >>>=20 >>> print *twq_2msl.tqh_first->tw_inpcb >> (kgdb) print *twq_2msl.tqh_first->tw_inpcb >> $3 =3D { >> inp_hash =3D { >> le_next =3D 0x0, >> le_prev =3D 0xfffffe000f78adb8 >> }, >> inp_pcbgrouphash =3D { >> le_next =3D 0x0, >> le_prev =3D 0x0 >> }, >> inp_list =3D { >> le_next =3D 0xfffff80c2a07f570, >> le_prev =3D 0xffffffff81e15e20 >> }, >> inp_ppcb =3D 0xfffff80d1bf12210, >> inp_pcbinfo =3D 0xffffffff81e15e28, >> inp_pcbgroup =3D 0x0, >> inp_pcbgroup_wild =3D { >> le_next =3D 0x0, >> le_prev =3D 0x0 >> }, >> inp_socket =3D 0x0, >> inp_cred =3D 0xfffff804ae6ca400, >> inp_flow =3D 0, >> inp_flags =3D 92274688, >> inp_flags2 =3D 16, >> inp_vflag =3D 0 '\0', >> inp_ip_ttl =3D 64 '@', >> inp_ip_p =3D 0 '\0', >> inp_ip_minttl =3D 0 '\0', >> inp_flowid =3D 946611505, >> inp_refcount =3D 2, >> inp_pspare =3D 0xfffff8031c5707c0, >> inp_flowtype =3D 191, >> inp_rss_listen_bucket =3D 0, >> inp_ispare =3D 0xfffff8031c5707f0, >> inp_inc =3D { >> inc_flags =3D 0 '\0', >> inc_len =3D 0 '\0', >> inc_fibnum =3D 0, >> inc_ie =3D { >> ie_fport =3D 53987, >> ie_lport =3D 47873, >> ie_dependfaddr =3D { >> ie46_foreign =3D { >> ia46_pad32 =3D 0xfffff8031c570808, >> ia46_addr4 =3D { >> s_addr =3D 3011802202 >> } >> }, >> ie6_foreign =3D { >> __u6_addr =3D { >> __u6_addr8 =3D 0xfffff8031c570808 "", >> __u6_addr16 =3D 0xfffff8031c570808, >> __u6_addr32 =3D 0xfffff8031c570808 >> } >> } >> }, >> ie_dependladdr =3D { >> ie46_local =3D { >> ia46_pad32 =3D 0xfffff8031c570818, >> ia46_addr4 =3D { >> s_addr =3D 4068705883 >> } >> }, >> ie6_local =3D { >> __u6_addr =3D { >> __u6_addr8 =3D 0xfffff8031c570818 "", >> __u6_addr16 =3D 0xfffff8031c570818, >> __u6_addr32 =3D 0xfffff8031c570818 >> } >> } >> }, >> ie6_zoneid =3D 0 >> } >> }, >> inp_label =3D 0x0, >> inp_sp =3D 0x0, >> inp_depend4 =3D { >> inp4_ip_tos =3D 0 '\0', >> inp4_options =3D 0x0, >> inp4_moptions =3D 0x0 >> }, >> inp_depend6 =3D { >> inp6_options =3D 0x0, >> inp6_outputopts =3D 0x0, >> inp6_moptions =3D 0x0, >> inp6_icmp6filt =3D 0x0, >> inp6_cksum =3D 0, >> inp6_hops =3D 0 >> }, >> inp_portlist =3D { >> le_next =3D 0xfffff80274298ae0, >> le_prev =3D 0xfffff800454999b0 >> }, >> inp_phd =3D 0xfffff800454999a0, >> inp_gencnt =3D 2119756, >> inp_lle =3D 0x0, >> inp_lock =3D { >> lock_object =3D { >> lo_name =3D 0xffffffff814e6940 "tcpinp", >> lo_flags =3D 90898432, >> lo_data =3D 0, >> lo_witness =3D 0x0 >> }, >> rw_lock =3D 18446735277871559936 >> }, >> inp_rt_cookie =3D 10, >> inp_rtu =3D { >> inpu_route =3D { >> ro_rt =3D 0x0, >> ro_lle =3D 0x0, >> ro_prepend =3D 0x0, >> ro_plen =3D 0, >> ro_flags =3D 384, >> ro_mtu =3D 0, >> spare =3D 0, >> ro_dst =3D { >> sa_len =3D 16 '\020', >> sa_family =3D 2 '\002', >> sa_data =3D 0xfffff8031c5708f2 "" >> } >> }, >> inpu_route6 =3D { >> ro_rt =3D 0x0, >> ro_lle =3D 0x0, >> ro_prepend =3D 0x0, >> ro_plen =3D 0, >> ro_flags =3D 384, >> ro_mtu =3D 0, >> spare =3D 0, >> ro_dst =3D { >> sin6_len =3D 16 '\020', >> sin6_family =3D 2 '\002', >> sin6_port =3D 0, >> sin6_flowinfo =3D 3011802202, >> sin6_addr =3D { >> __u6_addr =3D { >> __u6_addr8 =3D 0xfffff8031c5708f8 "", >> __u6_addr16 =3D 0xfffff8031c5708f8, >> __u6_addr32 =3D 0xfffff8031c5708f8 >> } >> }, >> sin6_scope_id =3D 0 >> } >> } >> } >> } >> (kgdb) >=20 > Hi, >=20 > Here is the conclusion: >=20 > The following code is going in an infinite loop: >=20 >=20 >> for (;;) { >> TW_RLOCK(V_tw_lock); >> tw =3D TAILQ_FIRST(&V_twq_2msl); >> if (tw =3D=3D NULL || (!reuse && (tw->tw_time - ticks) = > 0)) { >> TW_RUNLOCK(V_tw_lock); >> break; >> } >> KASSERT(tw->tw_inpcb !=3D NULL, ("%s: tw->tw_inpcb =3D=3D= NULL", >> __func__)); >> inp =3D tw->tw_inpcb; >> in_pcbref(inp); >> TW_RUNLOCK(V_tw_lock); >> if (INP_INFO_TRY_RLOCK(&V_tcbinfo)) { >> INP_WLOCK(inp); >> tw =3D intotw(inp); >> if (in_pcbrele_wlocked(inp)) { >=20 > in_pcbrele_wlocked() returns (1) because INP_FREED (16) is set in = inp->inp_flags2. I guess you have invariants disabled, because the = KASSERT() below should have caused a panic. You're right, INVARIANTS is not in GENERIC : # grep -i INVARIANTS /usr/src/sys/amd64/conf/GENERIC # grep -i INVARIANTS /usr/src/sys/amd64/conf/* /usr/src/sys/amd64/conf/MINIMAL:options INVARIANTS = # Enable calls of extra sanity checking /usr/src/sys/amd64/conf/MINIMAL:options INVARIANT_SUPPORT = # Extra sanity checks of internal structures, required by INVARIANTS >> KASSERT(tw =3D=3D NULL, ("%s: held = last inp " >> "reference but tw not NULL", = __func__)); >> INP_INFO_RUNLOCK(&V_tcbinfo); >> continue; >> } >=20 > This is a regression issue after: >=20 >> commit 5630210a7f1dbbd903b77b2aef939cd47c63da58 >> Author: jch >> Date: Thu Oct 30 08:53:56 2014 +0000 >> Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() = and >> tcp_tw_2msl_scan(). This race condition drives unplanned timewait >> timeout cancellation. Also simplify implementation by holding = inpcb >> reference and removing tcptw reference counting. >=20 > Suggested fix attached. Thank you very much for your investigation HPS and for the patch ! Not sure however how to test it as I don't know a way to reproduce the = issue. Certainly your patch will reach 11.0 & 11.1 soon. Thank you again, and glad to have helped to track this down. Ben From owner-freebsd-net@freebsd.org Tue Aug 8 11:34:03 2017 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 9189ADD5A4C; Tue, 8 Aug 2017 11:34:03 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 375E881D22; Tue, 8 Aug 2017 11:34:03 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1df2lk-000Jxr-ET; Tue, 08 Aug 2017 14:33:52 +0300 Date: Tue, 8 Aug 2017 14:33:52 +0300 From: Slawa Olhovchenkov To: Hans Petter Selasky Cc: Ben RUBSON , FreeBSD Net , jch , hiren , FreeBSD Stable Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) Message-ID: <20170808113352.GH18123@zxy.spb.ru> References: <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 11:34:03 -0000 On Tue, Aug 08, 2017 at 10:31:33AM +0200, Hans Petter Selasky wrote: > Here is the conclusion: > > The following code is going in an infinite loop: > > > > for (;;) { > > TW_RLOCK(V_tw_lock); > > tw = TAILQ_FIRST(&V_twq_2msl); > > if (tw == NULL || (!reuse && (tw->tw_time - ticks) > 0)) { > > TW_RUNLOCK(V_tw_lock); > > break; > > } > > KASSERT(tw->tw_inpcb != NULL, ("%s: tw->tw_inpcb == NULL", > > __func__)); > > > > inp = tw->tw_inpcb; > > in_pcbref(inp); > > TW_RUNLOCK(V_tw_lock); > > > > if (INP_INFO_TRY_RLOCK(&V_tcbinfo)) { > > > > INP_WLOCK(inp); > > tw = intotw(inp); > > if (in_pcbrele_wlocked(inp)) { > > in_pcbrele_wlocked() returns (1) because INP_FREED (16) is set in > inp->inp_flags2. I guess you have invariants disabled, because the > KASSERT() below should have caused a panic. > > > KASSERT(tw == NULL, ("%s: held last inp " > > "reference but tw not NULL", __func__)); > > INP_INFO_RUNLOCK(&V_tcbinfo); > > continue; > > } > > This is a regression issue after: > > > commit 5630210a7f1dbbd903b77b2aef939cd47c63da58 > > Author: jch > > Date: Thu Oct 30 08:53:56 2014 +0000 > > > > Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() and > > tcp_tw_2msl_scan(). This race condition drives unplanned timewait > > timeout cancellation. Also simplify implementation by holding inpcb > > reference and removing tcptw reference counting. > > Suggested fix attached. Hmm, I am not sure, IMHO between TW_RUNLOCK(V_tw_lock); and if (INP_INFO_TRY_WLOCK(&V_tcbinfo)) { `inp` can be invalidated, freed and this pointer may be invalid? > Index: sys/netinet/tcp_timewait.c > =================================================================== > --- sys/netinet/tcp_timewait.c (revision 321981) > +++ sys/netinet/tcp_timewait.c (working copy) > @@ -709,10 +709,11 @@ > INP_WLOCK(inp); > tw = intotw(inp); > if (in_pcbrele_wlocked(inp)) { > - KASSERT(tw == NULL, ("%s: held last inp " > - "reference but tw not NULL", __func__)); > INP_INFO_RUNLOCK(&V_tcbinfo); > - continue; > + if (tw == NULL) > + continue; > + else > + break; /* INP_FREED flag is set */ > } > > if (tw == NULL) { > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Tue Aug 8 11:51:24 2017 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 A3ACCDD6C89; Tue, 8 Aug 2017 11:51:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6940F82DAE; Tue, 8 Aug 2017 11:51:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7DCE326080B; Tue, 8 Aug 2017 13:51:22 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) To: Slawa Olhovchenkov Cc: FreeBSD Net , FreeBSD Stable , Ben RUBSON , hiren , jch References: <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> <20170808113352.GH18123@zxy.spb.ru> From: Hans Petter Selasky Message-ID: Date: Tue, 8 Aug 2017 13:49:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170808113352.GH18123@zxy.spb.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 11:51:24 -0000 On 08/08/17 13:33, Slawa Olhovchenkov wrote: > TW_RUNLOCK(V_tw_lock); > and > if (INP_INFO_TRY_WLOCK(&V_tcbinfo)) { > > `inp` can be invalidated, freed and this pointer may be invalid? If you look one line up there is a pcbref ?? --HPS From owner-freebsd-net@freebsd.org Tue Aug 8 11:56:38 2017 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 C5783DD70D5; Tue, 8 Aug 2017 11:56:38 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B42D83135; Tue, 8 Aug 2017 11:56:38 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1df37j-000K9C-Cs; Tue, 08 Aug 2017 14:56:35 +0300 Date: Tue, 8 Aug 2017 14:56:35 +0300 From: Slawa Olhovchenkov To: Hans Petter Selasky Cc: FreeBSD Net , FreeBSD Stable , Ben RUBSON , hiren , jch Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) Message-ID: <20170808115635.GY1585@zxy.spb.ru> References: <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> <20170808113352.GH18123@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 11:56:38 -0000 On Tue, Aug 08, 2017 at 01:49:08PM +0200, Hans Petter Selasky wrote: > On 08/08/17 13:33, Slawa Olhovchenkov wrote: > > TW_RUNLOCK(V_tw_lock); > > and > > if (INP_INFO_TRY_WLOCK(&V_tcbinfo)) { > > > > `inp` can be invalidated, freed and this pointer may be invalid? > > If you look one line up there is a pcbref ?? Yes. Can different thread take this inp and freed it? May be timer thread? From owner-freebsd-net@freebsd.org Tue Aug 8 12:00:46 2017 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 E2429DD79B9; Tue, 8 Aug 2017 12:00:46 +0000 (UTC) (envelope-from julien.charbon@gmail.com) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) (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 763228367A; Tue, 8 Aug 2017 12:00:46 +0000 (UTC) (envelope-from julien.charbon@gmail.com) Received: by mail-wr0-f195.google.com with SMTP id g32so2267016wrd.5; Tue, 08 Aug 2017 05:00:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=HMGu62aG5xnbzGPlxvUFWp4spkuQo/iym+Ss38zM/5M=; b=GeWsymHpGTmWhQ05xJGImrm+7MqsI9ozqJO9nFIj6p798VtSdv0QhRHdhkla3NriAc jCOM2gxxXphzf2URaduGPbeH+tKheU+WQWpDFoE25zqUU9wombxAchYjYx7uFNK7GHYu 3MXRk3htGGXWf+2YdyfASLRnayNG/BKVX5AUoeWkMBXoJZdIrwntgcqGPmYPOuE/aOUN WaNd7Z6D4/E6PChn/iUO0SwYQYsTjhT9ca9Z4pUQ5Y2a/b/dnLeIzNM2+2rdUDYuGTMA aUiT0N6BuY/+HJloW7SaFJzQ6Ds6SetjN/mGLCliUUHFD2Bar2+pq4UrbUvlzmqz8wdE a8Jw== X-Gm-Message-State: AHYfb5ghuz2qlJAEHcj/5GBGYW99xf97gAs2QKajlE3WQan/lsrnuGLb +jtleA7L2vCmlOU01z8= X-Received: by 10.223.177.202 with SMTP id r10mr2601657wra.36.1502192025945; Tue, 08 Aug 2017 04:33:45 -0700 (PDT) Received: from [10.100.64.12] ([217.30.88.7]) by smtp.gmail.com with ESMTPSA id g93sm1533468wrd.11.2017.08.08.04.33.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Aug 2017 04:33:45 -0700 (PDT) Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) To: Hans Petter Selasky , Ben RUBSON , FreeBSD Net , hiren , Slawa Olhovchenkov , FreeBSD Stable References: <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> From: Julien Charbon Message-ID: <0a5787c5-8a53-ab09-971a-dc1cd5f3aca0@freebsd.org> Date: Tue, 8 Aug 2017 13:33:43 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 12:00:47 -0000 Hi, On 8/8/17 10:31 AM, Hans Petter Selasky wrote: > On 08/08/17 10:06, Ben RUBSON wrote: >>> On 08 Aug 2017, at 10:02, Hans Petter Selasky wrote: >>> >>> On 08/08/17 10:00, Ben RUBSON wrote: >>>> kgdb) print *twq_2msl.tqh_first >>>> $2 = { >>>> tw_inpcb = 0xfffff8031c570740, >>> >>> print *twq_2msl.tqh_first->tw_inpcb >> > > Here is the conclusion: > > The following code is going in an infinite loop: > > >> for (;;) { >> TW_RLOCK(V_tw_lock); >> tw = TAILQ_FIRST(&V_twq_2msl); >> if (tw == NULL || (!reuse && (tw->tw_time - ticks) > >> 0)) { >> TW_RUNLOCK(V_tw_lock); >> break; >> } >> KASSERT(tw->tw_inpcb != NULL, ("%s: tw->tw_inpcb == >> NULL", >> __func__)); >> >> inp = tw->tw_inpcb; >> in_pcbref(inp); >> TW_RUNLOCK(V_tw_lock); >> >> if (INP_INFO_TRY_RLOCK(&V_tcbinfo)) { >> >> INP_WLOCK(inp); >> tw = intotw(inp); >> if (in_pcbrele_wlocked(inp)) { > > in_pcbrele_wlocked() returns (1) because INP_FREED (16) is set in > inp->inp_flags2. I guess you have invariants disabled, because the > KASSERT() below should have caused a panic. > >> KASSERT(tw == NULL, ("%s: held last inp " >> "reference but tw not NULL", >> __func__)); >> INP_INFO_RUNLOCK(&V_tcbinfo); >> continue; >> } > > This is a regression issue after: > >> commit 5630210a7f1dbbd903b77b2aef939cd47c63da58 >> Author: jch >> Date: Thu Oct 30 08:53:56 2014 +0000 >> >> Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() and >> tcp_tw_2msl_scan(). This race condition drives unplanned timewait >> timeout cancellation. Also simplify implementation by holding inpcb >> reference and removing tcptw reference counting. > > Suggested fix attached. I agree we your conclusion. Just for the record, more precisely this regression seems to have been introduced with: commit b02d40ddcda08b51a49e5667e6808f5dc5ec0472 Author: fabient Date: Wed Nov 25 14:45:43 2015 +0000 The r241129 description was wrong that the scenario is possible only for read locks on pcbs. The same race can happen with write lock semantics as well. The race scenario: - Two threads (1 and 2) locate pcb with writer semantics (INPLOOKUP_WLOCKPCB) and do in_pcbref() on it. - 1 and 2 both drop the inp hash lock. - Another thread (3) grabs the inp hash lock. Then it runs in_pcbfree(), which wlocks the pcb. They must happen faster than 1 or 2 come INP_WLOCK()! - 1 and 2 congest in INP_WLOCK(). - 3 does in_pcbremlists(), drops hash lock, and runs in_pcbrele_wlocked(), which doesn't free the pcb due to two references on it. Then it unlocks the pcb. - 1 (or 2) gets wlock on the pcb, runs in_pcbrele_wlocked(), which doesn't report inp as freed, due to 2 (or 1) still helding extra reference on it. The thread tries to do smth with a disconnected pcb and crashes. Submitted by: emeric.poupon@stormshield.eu Reviewed by: gleb@ MFC after: 1 week Sponsored by: Stormshield Tested by: Cassiano Peixoto, Stormshield Notes: svn path=/head/; revision=291301 Before this change in_pcbrele_wlocked() returned 1 only on the last reference which is what tcp_tw_2msl_scan() currently expects. Thus good catch, and your patch looks good. I am going to just verify the other in_pcbrele_wlocked() calls in TCP stack. Thanks. -- Julien From owner-freebsd-net@freebsd.org Tue Aug 8 12:01:25 2017 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 6AAF9DD7CD8; Tue, 8 Aug 2017 12:01:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1DB0E83839; Tue, 8 Aug 2017 12:01:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E281C26080B; Tue, 8 Aug 2017 14:01:22 +0200 (CEST) Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) To: Slawa Olhovchenkov Cc: jch , FreeBSD Net , FreeBSD Stable , Ben RUBSON , hiren References: <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> <20170808113352.GH18123@zxy.spb.ru> <20170808115635.GY1585@zxy.spb.ru> From: Hans Petter Selasky Message-ID: Date: Tue, 8 Aug 2017 13:59:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170808115635.GY1585@zxy.spb.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 08 Aug 2017 12:01:25 -0000 On 08/08/17 13:56, Slawa Olhovchenkov wrote: > On Tue, Aug 08, 2017 at 01:49:08PM +0200, Hans Petter Selasky wrote: > >> On 08/08/17 13:33, Slawa Olhovchenkov wrote: >>> TW_RUNLOCK(V_tw_lock); >>> and >>> if (INP_INFO_TRY_WLOCK(&V_tcbinfo)) { >>> >>> `inp` can be invalidated, freed and this pointer may be invalid? >> >> If you look one line up there is a pcbref ?? > > Yes. > Can different thread take this inp and freed it? > May be timer thread? No, it cannot be freed while there is a ref. Some lines down the ref is dropped once the inp pointer is no longer needed. --HPS From owner-freebsd-net@freebsd.org Wed Aug 9 01:16:24 2017 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 C15D1DABED7 for ; Wed, 9 Aug 2017 01:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B00738026E for ; Wed, 9 Aug 2017 01:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v791GMaI008654 for ; Wed, 9 Aug 2017 01:16:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Wed, 09 Aug 2017 01:16:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jtl@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11+ X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 01:16:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 Jonathan T. Looney changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jtl@freebsd.org --- Comment #89 from Jonathan T. Looney --- FWIW, I have created a patch to address the behavior reported in comment #8= 7. It maintains the RFC-compliant behavior of sending ACKs, but rate limits th= em. This isn't perfect, but seems better (to me) than either of the extreme alternatives (drop every packet or ACK every packet). I'd be curious to have someone try this and see if it provides effective mitigation. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 9 01:17:06 2017 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 3A49FDABFB2 for ; Wed, 9 Aug 2017 01:17:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 289AE8034E for ; Wed, 9 Aug 2017 01:17:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v791H5eQ009778 for ; Wed, 9 Aug 2017 01:17:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Wed, 09 Aug 2017 01:17:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jtl@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 01:17:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 --- Comment #90 from Jonathan T. Looney --- (In reply to Jonathan T. Looney from comment #89) Forgot to include a link to the patch: https://reviews.freebsd.org/D11929 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 9 05:20:39 2017 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 18B47DC2D7C for ; Wed, 9 Aug 2017 05:20:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 059693254 for ; Wed, 9 Aug 2017 05:20:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v795Kcct034809 for ; Wed, 9 Aug 2017 05:20:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Wed, 09 Aug 2017 05:20:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@ruka.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 05:20:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 --- Comment #91 from Richard Russo --- For us, this may have limited effect, because our icmplim is much higher th= an the default (16k), because we do want to send closed port RSTs in high volumewhen our service ports are closed. This patch should keep our system available, but we'd still be sending out a rather large number of acks on t= hese broken connections. Given that r317208 means we only see this condition when the syncache overflows, this may be a reasonable trade off. I have been thinking that it might be useful if these acks (or other unexpe= cted packets) would actually push the connection into one of the existing state recovery behaviors, such as immediately triggering a keepalive sequence if = one wasn't already ongoing. That's certainly a larger change though. I'll get this patch up somewhere and let you know how it goes. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 9 11:48:10 2017 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 7DFBBDCA9F0 for ; Wed, 9 Aug 2017 11:48:10 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (unknown [IPv6:2001:470:1f0f:3ad:bb:dcff:fe50:d900]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EC1A6E8D8 for ; Wed, 9 Aug 2017 11:48:10 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Sender :Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ptyxvetK2O4s+5AAqHo5yYOU6hIMOQsKd58in8aJPyM=; b=vdRCO/094eLJXtL9LkNPl4xArJ +/PKjnPaP3RGag8sjL+xST4xc+jUW4mpWWxcnGgaqicrK2NnFzoBYH3DwWA0cjxl9ZwfXwAyywxUS ieAbU0A4ABhDvK3jUAsxXray9RbB1dOBA0gOrlKRaCKrrhdsanHAR0SPkKQgkOOUVOAs=; Received: from 76-250-255-117.lightspeed.austtx.sbcglobal.net ([76.250.255.117]:40046 helo=lrosenman.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dfPT7-000GSf-AO for freebsd-net@FreeBSD.org; Wed, 09 Aug 2017 06:48:09 -0500 Date: Wed, 9 Aug 2017 06:47:59 -0500 From: Larry Rosenman To: freebsd-net@FreeBSD.org Subject: IPv6/ATT Fiber/DMZ+/routing Message-ID: <20170809114759.x3md4c32hz6bmjp2@lrosenman.lerctr.org> Mail-Followup-To: freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170714 (1.8.3) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 11:48:10 -0000 I just moved into a brand new house, and it has ATT Fiber. I have their gateway (Pace/Arris 5268AC) in DMZ+ mode with an OPNsense (FreeBSD 11) Firewall Router as the DMZ Host. I can get IPv6 on the router / FW: root@home-fw:~ # ping6 ipv6.google.com PING6(56=40+8+8 bytes) 2602:304:cfaf:f750:242:43ff:feac:29c --> 2607:f8b0:4000:812::200e 16 bytes from 2607:f8b0:4000:812::200e, icmp_seq=0 hlim=55 time=10.084 ms 16 bytes from 2607:f8b0:4000:812::200e, icmp_seq=1 hlim=55 time=10.103 ms ^C --- ipv6.l.google.com ping6 statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 10.084/10.093/10.103/0.010 ms root@home-fw:~ # ifconfig em0: flags=8843 metric 0 mtu 1500 options=42098 ether 00:42:43:ac:02:9c inet6 fe80::242:43ff:feac:29c%em0 prefixlen 64 scopeid 0x1 inet6 2602:304:cfaf:f750:242:43ff:feac:29c prefixlen 64 autoconf inet 76.250.255.117 netmask 0xfffffc00 broadcast 76.250.255.255 nd6 options=23 media: Ethernet autoselect (1000baseT ) status: active em1: flags=8843 metric 0 mtu 1500 options=42098 ether 00:42:43:ac:02:9d inet6 fe80::242:43ff:feac:29d%em1 prefixlen 64 scopeid 0x2 inet6 2602:304:cfaf:f751::1 prefixlen 64 inet 192.168.200.11 netmask 0xfffffc00 broadcast 192.168.203.255 nd6 options=21 media: Ethernet autoselect (1000baseT ) status: active em2: flags=8c02 metric 0 mtu 1500 options=4219b ether 00:42:43:ac:02:9e nd6 options=21 media: Ethernet autoselect status: no carrier em3: flags=8c02 metric 0 mtu 1500 options=4219b ether 00:42:43:ac:02:9f nd6 options=21 media: Ethernet autoselect status: no carrier enc0: flags=0<> metric 0 mtu 1536 nd6 options=21 groups: enc lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 groups: lo pflog0: flags=100 metric 0 mtu 33160 groups: pflog pfsync0: flags=0<> metric 0 mtu 1500 groups: pfsync syncpeer: 0.0.0.0 maxupd: 128 defer: off root@home-fw:~ # ndp -a Neighbor Linklayer Address Netif Expire S Flags fe80::f6f5:d8ff:fedb:e124%em1 f4:f5:d8:db:e1:24 em1 23h58m15s S fe80::20d:5dff:fe10:b4fb%em1 00:0d:5d:10:b4:fb em1 23h52m14s S 2602:304:cfaf:f751::1 00:42:43:ac:02:9d em1 permanent R fe80::f6f5:d8ff:fead:65f4%em1 f4:f5:d8:ad:65:f4 em1 23h59m58s S fe80::230:48ff:fecf:2b1c%em1 00:30:48:cf:2b:1c em1 23h53m48s S fe80::f6f5:d8ff:feae:4136%em1 f4:f5:d8:ae:41:36 em1 23h58m8s S 2602:304:cfaf:f751:c412:15dc:8924:30d7 68:5b:35:9f:90:21 em1 23h55m0s S fe80::f6f5:d8ff:feac:48d0%em1 f4:f5:d8:ac:48:d0 em1 23h59m35s S fe80::242:43ff:feac:29d%em1 00:42:43:ac:02:9d em1 permanent R fe80::f6f5:d8ff:fec9:776e%em1 f4:f5:d8:c9:77:6e em1 23s R fe80::1842:632e:39ae:76d3%em1 68:5b:35:9f:90:21 em1 23h56m26s S fe80::5a9c:fcff:fe0b:6e07%em1 58:9c:fc:0b:6e:07 em1 23h59m59s S fe80::f6f5:d8ff:fedf:11ec%em1 f4:f5:d8:df:11:ec em1 23h58m8s S 2602:304:cfaf:f751:d7:b8ff:fe51:f200 02:d7:b8:51:f2:00 em1 12s R fe80::d7:b8ff:fe51:f200%em1 02:d7:b8:51:f2:00 em1 7s R 2602:304:cfaf:f750::1 d4:b2:7a:9e:cf:05 em0 23h56m55s S R 2602:304:cfaf:f750:230:48ff:fecf:2b1c (incomplete) em0 expired I 3 fe80::d6b2:7aff:fe9e:cf05%em0 d4:b2:7a:9e:cf:05 em0 9s R R 2602:304:cfaf:f750:242:43ff:feac:29c 00:42:43:ac:02:9c em0 permanent R fe80::242:43ff:feac:29c%em0 00:42:43:ac:02:9c em0 permanent R root@home-fw:~ # ATT uses 6RD: 6rd IPv6 Internet Connection Type Value Default Gateway 2602:300:c533:1510::1 6rd BR 12.83.49.81 6rd Prefix 2602:300::/28 6rd Delegated Prefix 2602:304:cfaf:f750::/60 6rd MTU 1472 How can I extend this to the LAN? I currently have the LAN defined with an address out of subnet 1. and if I have my Mac or FreeBSD box SLAAC, the IPv6 packets do not traverse to the internet. If I tcpdump the LAN interface, I see the packets enter, but nothing leaves. Anyone have an idea on what I'm missing here? (or is the Pace/Arris box getting in the way? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 From owner-freebsd-net@freebsd.org Wed Aug 9 13:21:20 2017 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 3B6E2DCCE9A for ; Wed, 9 Aug 2017 13:21:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 265FD71CEC for ; Wed, 9 Aug 2017 13:21:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v79DLHUE057720 for ; Wed, 9 Aug 2017 13:21:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Wed, 09 Aug 2017 13:21:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jtl@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 13:21:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 --- Comment #92 from Jonathan T. Looney --- (In reply to Richard Russo from comment #91) > For us, this may have limited effect, because our icmplim is much higher = than the default (16k) > [...] Yes, I agree it is a problem you can't set these independently. I had alrea= dy been planning to propose a change to allow separate limits for all the rate-limited things. You would then be able to set this limit separately. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 9 13:26:51 2017 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 72FE6DCD065 for ; Wed, 9 Aug 2017 13:26:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61B497225E for ; Wed, 9 Aug 2017 13:26:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v79DQoAv074464 for ; Wed, 9 Aug 2017 13:26:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Wed, 09 Aug 2017 13:26:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 13:26:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 --- Comment #93 from commit-hook@freebsd.org --- A commit references this bug: Author: tuexen Date: Wed Aug 9 13:26:12 UTC 2017 New revision: 322315 URL: https://svnweb.freebsd.org/changeset/base/322315 Log: MFC r317208: Syncoockies can be used in combination with the syncache. If the cache overflows, syncookies are used. This patch restricts the usage of syncookies in this case: accept syncookies only if there was an overflow of the syncache recently. This mitigates a problem reported in PR217637, where is syncookie was accepted without any recent drops. Thanks to glebius@ for suggesting an improvement. PR: 217637 Reviewed by: gnn, glebius Differential Revision: https://reviews.freebsd.org/D10272 Changes: _U stable/10/ stable/10/sys/netinet/tcp_syncache.c stable/10/sys/netinet/tcp_syncache.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 9 13:29:12 2017 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 2D83FDCD17A for ; Wed, 9 Aug 2017 13:29:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C39A723C4 for ; Wed, 9 Aug 2017 13:29:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v79DTBUJ078276 for ; Wed, 9 Aug 2017 13:29:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Wed, 09 Aug 2017 13:29:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 13:29:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 --- Comment #94 from Michael Tuexen --- (In reply to Kubilay Kocak from comment #85) Merged to stable/10 in r322315. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Aug 9 19:35:46 2017 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 DD8F9DD44D7 for ; Wed, 9 Aug 2017 19:35:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C58C982AEE for ; Wed, 9 Aug 2017 19:35:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v79JZkeG041247 for ; Wed, 9 Aug 2017 19:35:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 23063] [arp] [patch] for static ARP tables in rc.network Date: Wed, 09 Aug 2017 19:35:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 4.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 19:35:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D23063 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org Status|In Progress |Closed Resolution|--- |FIXED --- Comment #5 from Eugene Grosbein --- For now, ifconfig(8) has "staticarp/-arp" options implementing kernel side = of the request, arp(8) has "-f" option to load list of MAC addresses into the kernel and we have rcNG system to call "arp -f /usr/local/etc/arp.list" at right moment during boot. That should be enough to do the job. If not, speak up. Close this after 11 years of inactivity. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 10 03:12:10 2017 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 089E1DB5990 for ; Thu, 10 Aug 2017 03:12:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAD9F6C8E3 for ; Thu, 10 Aug 2017 03:12:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7A3C93i089000 for ; Thu, 10 Aug 2017 03:12:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Date: Thu, 10 Aug 2017 03:12:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 03:12:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: sbruno Date: Thu Aug 10 03:11:05 UTC 2017 New revision: 322337 URL: https://svnweb.freebsd.org/changeset/base/322337 Log: Export IFCAP_HWSTATS so that we don't experience double stats counting on iflib enabled devices. PR: 220198 Submitted by: Matt Macy Reported by: Ben Woods Sponsored by: Limelight Networks Changes: head/sys/net/iflib.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Aug 10 12:45:40 2017 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 5FD34DD1AAF for ; Thu, 10 Aug 2017 12:45:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 3574382B12 for ; Thu, 10 Aug 2017 12:45:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id BD80938D2C; Thu, 10 Aug 2017 12:45:39 +0000 (UTC) Date: Thu, 10 Aug 2017 12:45:39 +0000 To: freebsd-net@freebsd.org From: "oleg (Oleg Bulyzhin)" Reply-to: D1777+325+ec2e1ba39a1e09fe@reviews.freebsd.org Subject: [Differential] D1777: Associated fix for arp/nd6 timer usage. Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D1777: Associated fix for arp/nd6 timer usage. X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: N2Y2Y2VmY2ZjNTc1MTM4NTA3YmIzZDk3NmE4IFmMVXM= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 12:45:40 -0000 b2xlZyBhZGRlZCBhIGNvbW1lbnQuCgoKICBQbGVhc2UgY29ycmVjdCBtZSBpZiBpJ20gd3Jvbmcg YnV0IHRoZXJlIGlzIHJlZiBsZWFrYWdlLiBJbiBwYXJ0aWN1bGFyOgogIAogICJJZiB0aGUgY2Fs bG91dCB3YXMgcmVzdGFydGVkLCB0aGUgcGVuZGluZyBiaXQgd2lsbCBiZSBiYWNrIG9uIGFuZCIK ICBhZ3JlZS4KICAKICAid2UganVzdCB3YW50IHRvIGJhaWwiCiAgbm8sIGkgd291bGQgc2F5IHdl IHNob3VsZCBkbyBMTEVfUkVNUkVGKGxsZSkgZmlyc3QsIHRoZW4gdW5sb2NrL3JldHVybgogIGJl Y2F1c2UgdGhpcyBvbmUgaXMgd3Jvbmc6CiAgCiAgInNpbmNlIHRoZSBjYWxsb3V0X3Jlc2V0IHdv dWxkIHJldHVybiAxIGFuZCBvdXIgcmVmZXJlbmNlIHdvdWxkIGhhdmUgYmVlbiByZW1vdmUgYnkg bmQ2X2xsaW5mb19zZXR0aW1lcl9sb2NrZWQgYWJvdmUgc2luY2UgY2FuY2VsZWQgd291bGQgaGF2 ZSBiZWVuIDEuIgogIAogIElmIHdlIGdvdCBjYWxsb3V0X3BlbmRpbmcoKSAhPTAgaW4gY2FsbG91 dCBmdW5jdGlvbiBpdCBkb2VzIG1lYW4gY2FsbG91dF9yZXNldCBmYWlsZWQgdG8gc3RvcCB1cyBh bmQgY2FsbG91dF9yZXNldCByZXR1cm4gdmFsdWUgd291bGQgYmUgMC4KICAJ4oCLCgpSRVZJU0lP TiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDE3NzcKCkVNQUlMIFBSRUZF UkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWls cHJlZmVyZW5jZXMvCgpUbzogcnJzLCBraWIsIGpoYiwgaW1wLCBsc3Rld2FydCwgZ25uLCBzYnJ1 bm8sIGJ6LCBhZHJpYW4sIHJ3YXRzb24KQ2M6IG9sZWcsIGFlLCBieiwgZnJlZWJzZC1uZXQtbGlz dCwgZW1hc3RlLCBoaXJlbiwganVsaWFuLCBoc2VsYXNreQo= From owner-freebsd-net@freebsd.org Thu Aug 10 13:08:07 2017 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 EF510DD2152 for ; Thu, 10 Aug 2017 13:08:07 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id C5CA683A14 for ; Thu, 10 Aug 2017 13:08:07 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 4A1694F3EF; Thu, 10 Aug 2017 13:08:07 +0000 (UTC) Date: Thu, 10 Aug 2017 13:08:07 +0000 To: freebsd-net@freebsd.org From: "hselasky (Hans Petter Selasky)" Reply-to: D1777+325+ec2e1ba39a1e09fe@reviews.freebsd.org Subject: [Differential] D1777: Associated fix for arp/nd6 timer usage. Message-ID: <2e7895a8aae8d9208ebf2d7967eeed44@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D1777: Associated fix for arp/nd6 timer usage. X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: N2Y2Y2VmY2ZjNTc1MTM4NTA3YmIzZDk3NmE4IFmMWrc= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 13:08:08 -0000 aHNlbGFza3kgYWRkZWQgYSBzdWJzY3JpYmVyOiBnbGViaXVzLgpoc2VsYXNreSBhZGRlZCBhIGNv bW1lbnQuCgoKICBAb2xlZyA6IEJld2FyZSBvZiB0aGUgY2FsbG91dCByZXR1cm4gdmFsdWUgZGlm ZmVyZW5jZXMgYmV0d2VlbiBGcmVlQlNEIDktMTAtMTEgYW5kIDEyICEKICBAZ2xlYml1cwoKUkVW SVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0QxNzc3CgpFTUFJTCBQ UkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9l bWFpbHByZWZlcmVuY2VzLwoKVG86IHJycywga2liLCBqaGIsIGltcCwgbHN0ZXdhcnQsIGdubiwg c2JydW5vLCBieiwgYWRyaWFuLCByd2F0c29uCkNjOiBnbGViaXVzLCBvbGVnLCBhZSwgYnosIGZy ZWVic2QtbmV0LWxpc3QsIGVtYXN0ZSwgaGlyZW4sIGp1bGlhbiwgaHNlbGFza3kK From owner-freebsd-net@freebsd.org Thu Aug 10 13:42:33 2017 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 65DA7DD3319 for ; Thu, 10 Aug 2017 13:42:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9B81533 for ; Thu, 10 Aug 2017 13:42:33 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id B8C4452AA7; Thu, 10 Aug 2017 13:42:32 +0000 (UTC) Date: Thu, 10 Aug 2017 13:42:32 +0000 To: freebsd-net@freebsd.org From: "oleg (Oleg Bulyzhin)" Reply-to: D1777+325+ec2e1ba39a1e09fe@reviews.freebsd.org Subject: [Differential] D1777: Associated fix for arp/nd6 timer usage. Message-ID: <6c3a8d0e962e23cd9044c7b54d362cf9@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D1777: Associated fix for arp/nd6 timer usage. X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: N2Y2Y2VmY2ZjNTc1MTM4NTA3YmIzZDk3NmE4IFmMYsg= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 13:42:33 -0000 b2xlZyBhZGRlZCBhIGNvbW1lbnQuCgoKICBBRkFJUiB0aG9zZSBjaGFuZ2VzIHdlcmUgZG9uZSBm b3IgX2NhbGxvdXRfc3RvcF9zYWZlKCkgYWthIGNhbGxvdXRfKHN0b3B8ZHJhaW4pLiAKICBjYWxs b3V0X3Jlc2V0X3NidF9vbigpIGlzIG5vdCBhZmZlY3RlZC4KClJFVklTSU9OIERFVEFJTAogIGh0 dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EMTc3NwoKRU1BSUwgUFJFRkVSRU5DRVMKICBodHRw czovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVmZXJlbmNlcy8K ClRvOiBycnMsIGtpYiwgamhiLCBpbXAsIGxzdGV3YXJ0LCBnbm4sIHNicnVubywgYnosIGFkcmlh biwgcndhdHNvbgpDYzogZ2xlYml1cywgb2xlZywgYWUsIGJ6LCBmcmVlYnNkLW5ldC1saXN0LCBl bWFzdGUsIGhpcmVuLCBqdWxpYW4sIGhzZWxhc2t5Cg== From owner-freebsd-net@freebsd.org Fri Aug 11 02:24:19 2017 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 1EB73CFEC1C for ; Fri, 11 Aug 2017 02:24:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CFEC7FC24 for ; Fri, 11 Aug 2017 02:24:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7B2OINQ042463 for ; Fri, 11 Aug 2017 02:24:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220198] igb stats double counting in 12-CURRENT Date: Fri, 11 Aug 2017 02:24:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 02:24:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220198 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 11 03:40:11 2017 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 15855D7F24F for ; Fri, 11 Aug 2017 03:40:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04241826FF for ; Fri, 11 Aug 2017 03:40:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7B3e9dG044479 for ; Fri, 11 Aug 2017 03:40:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Fri, 11 Aug 2017 03:40:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kbowling@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 03:40:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 --- Comment #15 from Kevin Bowling --- Our cxgbe issue was not related and has been fixed by the vendor. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 11 09:17:51 2017 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 9CDD6DB57FF for ; Fri, 11 Aug 2017 09:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B292689B8 for ; Fri, 11 Aug 2017 09:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7B9HoYP078408 for ; Fri, 11 Aug 2017 09:17:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217637] One TCP connection accepted TWO times Date: Fri, 11 Aug 2017 09:17:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: mfc-stable10+ mfc-stable11+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 09:17:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable10? |mfc-stable10+ --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 11 09:32:14 2017 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 8CEB1DB67AD; Fri, 11 Aug 2017 09:32:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 16291698C7; Fri, 11 Aug 2017 09:32:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x244.google.com with SMTP id o33so2161158wrb.1; Fri, 11 Aug 2017 02:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Xq6eKh+UadLUfC8tbRjdbkqknNjX2n3oRIVt2Bz3hMU=; b=fn/dXvyAFiacT2JBk/+WVIChb3SEom4axS1J3cbWHTLwaxbrA5m+f8W3yz+HdRfSAj 1icIPKeoRg3MG4q0abZl7Vpw96QyKl1/qH+WRTyHLHINOS2z753pt7nCoa5UtBp2EDio OJYsTUJ4VEvVzIDtYtFX/g3ZLP9BArHNJVvu5Cr5sziA3vAfOZp0hvwUn00+EZI1kHUn /MWPKVlgFKItjdfIt6m7ZylEwpbpjgnLz17XSruty0KepJndd4/Ol+sznXoJ2s+F/Ze+ /Sm4zywrzRnAgWPaj9jXJg7I7ZtHPWCXc8NwOTKjM0aNYfMdwC5DjTBcB6f3rNbwVF5L LbrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Xq6eKh+UadLUfC8tbRjdbkqknNjX2n3oRIVt2Bz3hMU=; b=fAB/TgCJ04lzP96YUZO5TT1k3c0VwfQjZpb+3OSPCdEkNzhnJA07i8P9Y3ZSIRnCVM IX3W1fC0cDozY7wXu+Kikl0L/yTnW1p9ygY0//kAFqrGcfNUjR4okhW7OuCJnTzLCoj5 fzh/lkMUNaQx8lCae9DxJdHRMybMMqbAsr00mfTvN587YoWZInU3ixuetOrg37ziHBdW CGiN9RkKy+cS103OCnexCgsI+dZmcaVSSmFSbILtMdYL7Dk+6ESiPH1jRAQC0rmz6Zq+ By/sXB8Rng1bmaNeDjqKSQeMkT/mRDZoTSF60nhPa0DcpmPsqM0j/al8Sr0VdWyXrCSJ PL0Q== X-Gm-Message-State: AHYfb5jPBzsrcMQEnsn/U9TJ11/BXhbfittAo7WeclTgoQ+2WZuEFHmr rVw9AZcDLP1UAhoOfJ1CfA== X-Received: by 10.223.146.65 with SMTP id 59mr9900405wrj.152.1502443932415; Fri, 11 Aug 2017 02:32:12 -0700 (PDT) Received: from ben.home (LFbn-1-6951-179.w90-116.abo.wanadoo.fr. [90.116.132.179]) by smtp.gmail.com with ESMTPSA id p192sm470663wme.12.2017.08.11.02.32.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Aug 2017 02:32:11 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???) From: Ben RUBSON In-Reply-To: <0a5787c5-8a53-ab09-971a-dc1cd5f3aca0@freebsd.org> Date: Fri, 11 Aug 2017 11:32:10 +0200 Cc: Hans Petter Selasky , FreeBSD Net , hiren , Slawa Olhovchenkov , FreeBSD Stable Content-Transfer-Encoding: 7bit Message-Id: References: <4DF74CB8-23D2-4CCF-B699-5B86DAEA65E5@gmail.com> <40602CEA-D417-4E5B-8C68-916958D49A0B@gmail.com> <9c306f10-7c05-d28d-e551-a930603aaafa@selasky.org> <896dd782-cb2c-0259-65d1-b00daae452de@FreeBSD.org> <0DB9F6FF-8BC9-48F5-B359-AC1905B9EB06@gmail.com> <7f14c95d-1ef8-bf82-c469-e6566c3aba66@selasky.org> <76A5EE7E-1D2E-46B4-86F1-F219C3DCE6EA@gmail.com> <4C91C6E5-0725-42E7-9813-1F3ACF3DDD6E@gmail.com> <5840c25e-7472-3276-6df9-1ed4183078ad@selasky.org> <2ADA8C57-2C2D-4F97-9F0B-82D53EDDC649@gmail.com> <061cdf72-6285-8239-5380-58d9d19a1ef7@selasky.org> <92BEE83D-498F-47D5-A53C-39DCDC00A0FD@gmail.com> <5d8960d8-e1ff-8719-320f-d3ae84054714@selasky.org> <6B4A35F7-5694-4945-9575-19ADB678F9FA@gmail.com> <297a784a-3d80-b1a6-652e-a78621fe5a8b@selasky.org> <3ECCFBF1-18D9-4E33-8F39-0C366C3BB8B4@gmail.com> <0a5787c5-8a53-ab09-971a-dc1cd5f3aca0@freebsd.org> To: Julien Charbon X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 09:32:14 -0000 > On 08 Aug 2017, at 13:33, Julien Charbon wrote: > > Hi, > > On 8/8/17 10:31 AM, Hans Petter Selasky wrote: >> >> >> Suggested fix attached. > > I agree we your conclusion. Just for the record, more precisely this > regression seems to have been introduced with: > (...) > Thus good catch, and your patch looks good. I am going to just verify > the other in_pcbrele_wlocked() calls in TCP stack. Julien, do you plan to make this fix reach 11.0-p12 ? Many thx ! Ben From owner-freebsd-net@freebsd.org Fri Aug 11 16:34:23 2017 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 1E84FDD9C0D for ; Fri, 11 Aug 2017 16:34:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D1087D4A9 for ; Fri, 11 Aug 2017 16:34:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7BGYMg4056968 for ; Fri, 11 Aug 2017 16:34:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update Date: Fri, 11 Aug 2017 16:34:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 16:34:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #1 from Eric Joyner --- (In reply to Cassiano Peixoto from comment #0) "When ixgbe interface is opened many times" Could you clarify what that means? Does it mean just running pkt-gen repeatedly, without manipulating the state of the link at all? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 11 16:51:20 2017 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 178D4DDA9BD for ; Fri, 11 Aug 2017 16:51:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 067817DFB7 for ; Fri, 11 Aug 2017 16:51:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7BGpJ0e094973 for ; Fri, 11 Aug 2017 16:51:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update Date: Fri, 11 Aug 2017 16:51:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 16:51:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #2 from Cassiano Peixoto --- (In reply to Eric Joyner from comment #1) Hi Eric, You need to use two servers like this: serverA ---- ServerB On serverA run: pkt-gen -i ix0 -f rx -p4 -c4 On serverB run: pkt-gen -i ix0 -f rx Repeat this process cancelling and starting over many times. You will reali= ze ix0 changed the state to "no carrier status". After that you need to reboot= the server. I had this behavior only with 3.1.13-K driver. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Aug 11 16:52:11 2017 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 14BC3DDAB47 for ; Fri, 11 Aug 2017 16:52:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 030E27E1B8 for ; Fri, 11 Aug 2017 16:52:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7BGqAde000309 for ; Fri, 11 Aug 2017 16:52:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221317] Netmap issue after ixgbe driver update Date: Fri, 11 Aug 2017 16:52:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 16:52:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #3 from Cassiano Peixoto --- (In reply to Cassiano Peixoto from comment #2) Sorry my typo, i had this behavior only with 3.2.12-k driver. --=20 You are receiving this mail because: You are on the CC list for the bug.=