From owner-freebsd-net@freebsd.org Sat Oct 1 21:44:33 2016 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 C052AA94894 for ; Sat, 1 Oct 2016 21:44:33 +0000 (UTC) (envelope-from rjmcmahon@rjmcmahon.com) Received: from bobcat.rjmcmahon.com (unknown [IPv6:2600:3c01::f03c:91ff:fe61:c6c]) (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 B04E12E4 for ; Sat, 1 Oct 2016 21:44:33 +0000 (UTC) (envelope-from rjmcmahon@rjmcmahon.com) Received: from [192.168.100.10] (c-24-6-222-49.hsd1.ca.comcast.net [24.6.222.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bobcat.rjmcmahon.com (Postfix) with ESMTPSA id 4D97E1B271 for ; Sat, 1 Oct 2016 17:44:27 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 bobcat.rjmcmahon.com 4D97E1B271 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjmcmahon.com; s=bobcat; t=1475358267; bh=UYVqV3BhKux2rjlxbZdk0OpfUHrC5LdpwPrHMmtXyr0=; h=To:From:Subject:Date:From; b=Yq6Ybagu9fsusmLn2OQpN3IBGivgS0FG9/AGQOS/v3l6dbtcdGtPps1Y5s/UDB/ou tbJZHlDwCa91+VHgy8E8X4p35vmtlUelQd5Z64r+OHq6tUM7wUwYghEK9y9PnrfKkI 8RcLarQJhpvLEJbOXMAMfgJu2aik/nOdRIH3TOdA= To: freebsd-net@freebsd.org. From: Robert McMahon Subject: tcpi_snd_cwnd on FreeBSD 10.3 seems incorrect Message-ID: <8f8460ef-90f1-61cb-9893-0f5929fbc055@rjmcmahon.com> Date: Sat, 1 Oct 2016 14:44:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 02 Oct 2016 04:19:47 +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: Sat, 01 Oct 2016 21:44:33 -0000 I'm looking for FreeBSD expertise with respect to the net/inetnet/tcp.h. The tcpi_snd_cwnd doesn't seem to be right. Iperf3 compiled on FreeBSD 10.3 is reporting an unrealistic congestion window rjmcmahon@rjm-freebsd ~/Code/iperf-master $ src/iperf3 -c 192.168.100.10 -i 1 -w 1M Connecting to host 192.168.100.10, port 5201 [ 4] local 192.168.100.22 port 55303 connected to 192.168.100.10 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 113 MBytes 949 Mbits/sec 0 294 MBytes [ 4] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 2.00-3.00 sec 112 MBytes 942 Mbits/sec 0 294 MBytes [ 4] 3.00-4.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 4.00-5.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 5.00-6.00 sec 112 MBytes 942 Mbits/sec 0 294 MBytes [ 4] 6.00-7.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 294 MBytes [ 4] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 9.00-10.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec 0 sender [ 4] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec receiver iperf Done. Thanks, Bob From owner-freebsd-net@freebsd.org Sun Oct 2 21:00:35 2016 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 E303DAF1CAB for ; Sun, 2 Oct 2016 21:00:35 +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 DA020CA1 for ; Sun, 2 Oct 2016 21:00:35 +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 u92L013H015571 for ; Sun, 2 Oct 2016 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201610022100.u92L013H015571@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, 02 Oct 2016 21:00:35 +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, 02 Oct 2016 21:00:36 -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 | 203422 | mpd/ppoe not working with re(4) with revision 285 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 Open | 148807 | [panic] "panic: sbdrop" and "panic: sbsndptr: soc 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 | 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 | 212018 | Enable IPSEC_NAT_T in GENERIC kernel configuratio 14 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Oct 3 07:22:30 2016 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 EDE99AF30B5 for ; Mon, 3 Oct 2016 07:22:30 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smadev.internal.net", Issuer "smadev.internal.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7465CDC2 for ; Mon, 3 Oct 2016 07:22:29 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id u937MJap053061; Mon, 3 Oct 2016 10:22:19 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Strange issue with scp performance To: freebsd-net@freebsd.org, jmg@funkthat.com References: <57EB9AC8.3050102@matrix.gatewaynet.com> <20161001005558.GB1751@funkthat.com> Cc: Ilias Seperis From: Achilleas Mantzios Message-ID: <57F2072B.6000403@matrix.gatewaynet.com> Date: Mon, 3 Oct 2016 10:22:19 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20161001005558.GB1751@funkthat.com> Content-Type: text/plain; charset=utf-8; format=flowed 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, 03 Oct 2016 07:22:31 -0000 On 01/10/2016 03:55, John-Mark Gurney wrote: > Achilleas Mantzios wrote this message on Wed, Sep 28, 2016 at 13:26 +0300: >> We have a weird situation here. We just made a clone of a virtual image running Linux and sent it over to some could provider. The problem is that the scp performance to *many* hosts in our office >> center has worsened considerably, including one freebsd box. >> >> In this freebsd box I run also a jail, and a linux ubuntu image with bhyve. The crazy thing here is that : >> >> 1) scp from the original (local office center) linux image to the host FreeBSD, its jailed FreeBSD and its bhyve linux is 2.7 MB/s >> 2) scp from the cloud linux image to the host FreeBSD is slow (~300KB/s) >> 3) scp from the cloud linux image to the above FreeBSD's jail is slow(~300KB/s) >> 4) scp from the cloud linux image to the above FreeBSD's bhyve ubuntu is fast(~1->1.5MB/s) >> >> What can cause this behavior? >> >> PS >> Please answer to me directly as I am not subscribed to -net. >> Thanks a lot for any ideas. > I worked on this last year a bit, but was never able to track it down. > > It may be an issue w/ internal SSH's buffering not growing properly to > handle the latency. > > I posted some info on the wiki about this: > https://wiki.freebsd.org/SSHPerf Thanks tons! In this case of mine, just playing around with HPN: HPNDisabled no HPNBufferSize 8192 in sshd_config was enough to bring it on par with linux. > -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt From owner-freebsd-net@freebsd.org Mon Oct 3 22:02:23 2016 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 8EF6CAF347A for ; Mon, 3 Oct 2016 22:02:23 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-vk0-x241.google.com (mail-vk0-x241.google.com [IPv6:2607:f8b0:400c:c05::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 4B766695; Mon, 3 Oct 2016 22:02:23 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-vk0-x241.google.com with SMTP id b186so1587966vkb.3; Mon, 03 Oct 2016 15:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=M5GMiNtIab/Hiks5x4nu2Pm0aW8WivELAQIpBASTlmo=; b=qS9mSnCNN5abtPP8rOEFWXVA6AvN6bTlfql33vCI3y33q9EM8OhWk5kECPUXF/fUKl 1WKiccQjZIYSOc8bxwxVcJ9fBwqW54pOnNAdnSC+rBg6ebHnvkPBwcAVceBX+76LP5fu XiG7we/ME08wzltqpkXWpTf80V+AmNqmVok6fgSAAA3OvGdaDuYMz3DayKxA0d9MizEE Di6bWelTURZV1wK9oozbhVZzONr/7d4SIe1X319h/cSx3hl4Q9o6r1vpdIyiG05T4VzD vsvX7bILVS91FkiDs8iKVLBUoFOQ4OXuQz7D7P4kx6X92nXLEtVZVFU71zbk7WOfQCIs VtCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=M5GMiNtIab/Hiks5x4nu2Pm0aW8WivELAQIpBASTlmo=; b=gZQFA1+9pI0x6LbGzzGx1Xm87EfwRJwLqxKH1/8Zpwb1wr9txX1vyGLmRJkBtv7GHG ye7PZCbNe1mVA8ewFbUSZ1qSsiFKNNvlfMOb5BpfUa4i1Ia7O6hoJ/cWfDMJIdAEl4+w eDjr/kRO5OQKgSnSxf781tyXIFV1ZNmVvyqg9yE3uKAm5xcpVH1tARBByhPQs1OZmg1M 3AH6A2U44o8dlfxhZ1xbRMwwNX5XaGFwreh6+ZBk/ZqRO1hC6u8mD2rLDx5fJWMNJ7bg /miJ5jR9HjbPCebkIundds28f9gWxIqCFgMHFSQVwTXjTLEwjfewJCZYHxWvtRhG3Ebd JIPg== X-Gm-Message-State: AA6/9RmqGjdl+SKPV+ND/23wg6olmQyKOOLlVGMKh/zz0lfcoa+oiXmYAxn9b5362hQR16HBhjCm4VaTs/onPA== X-Received: by 10.31.92.145 with SMTP id q139mr162051vkb.103.1475532142088; Mon, 03 Oct 2016 15:02:22 -0700 (PDT) MIME-Version: 1.0 Sender: kmacybsd@gmail.com Received: by 10.176.69.133 with HTTP; Mon, 3 Oct 2016 15:02:21 -0700 (PDT) From: "K. Macy" Date: Mon, 3 Oct 2016 15:02:21 -0700 X-Google-Sender-Auth: Dl4jCVaO_7b4rNgMMJP6MVCmN7w Message-ID: Subject: TCP_IGNOREIDLE revisited To: "freebsd-net@freebsd.org" Cc: John Baldwin Content-Type: text/plain; charset=UTF-8 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, 03 Oct 2016 22:02:23 -0000 I'm working with a 40GigE mesh where the average RTT is on the order of 10s of microseconds. Consequently, any application idle periods result in poor measured application latency because the congestion window is constantly being reset. I know that this isn't a common use case, but it's clear that there are cases where this is a problem. I think John's response to claims that the internet would melt sum it up best: "The problem with this argument is Linux has already had this as a tunable option for years and the Internet hasn't melted as a result." https://lists.freebsd.org/pipermail/freebsd-net/2013-January/034401.html From owner-freebsd-net@freebsd.org Tue Oct 4 03:14:41 2016 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 285CCAF4D44 for ; Tue, 4 Oct 2016 03:14:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 06E04B70 for ; Tue, 4 Oct 2016 03:14:40 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u943Ects042765 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 3 Oct 2016 20:14:39 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: Strange issue with scp performance To: freebsd-net@freebsd.org References: <57EB9AC8.3050102@matrix.gatewaynet.com> <20161001005558.GB1751@funkthat.com> <57F2072B.6000403@matrix.gatewaynet.com> From: Julian Elischer Message-ID: <4ab30b09-1228-3627-8719-6e782d4a0d82@freebsd.org> Date: Mon, 3 Oct 2016 20:14:33 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <57F2072B.6000403@matrix.gatewaynet.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.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, 04 Oct 2016 03:14:41 -0000 On 3/10/2016 12:22 AM, Achilleas Mantzios wrote: > On 01/10/2016 03:55, John-Mark Gurney wrote: >> Achilleas Mantzios wrote this message on Wed, Sep 28, 2016 at 13:26 >> +0300: >>> We have a weird situation here. We just made a clone of a virtual >>> image running Linux and sent it over to some could provider. The >>> problem is that the scp performance to *many* hosts in our office >>> center has worsened considerably, including one freebsd box. >>> >>> In this freebsd box I run also a jail, and a linux ubuntu image >>> with bhyve. The crazy thing here is that : >>> >>> 1) scp from the original (local office center) linux image to the >>> host FreeBSD, its jailed FreeBSD and its bhyve linux is 2.7 MB/s >>> 2) scp from the cloud linux image to the host FreeBSD is slow >>> (~300KB/s) >>> 3) scp from the cloud linux image to the above FreeBSD's jail is >>> slow(~300KB/s) >>> 4) scp from the cloud linux image to the above FreeBSD's bhyve >>> ubuntu is fast(~1->1.5MB/s) >>> >>> What can cause this behavior? >>> >>> PS >>> Please answer to me directly as I am not subscribed to -net. >>> Thanks a lot for any ideas. >> I worked on this last year a bit, but was never able to track it down. >> >> It may be an issue w/ internal SSH's buffering not growing properly to >> handle the latency. >> >> I posted some info on the wiki about this: >> https://wiki.freebsd.org/SSHPerf > > Thanks tons! > In this case of mine, just playing around with HPN: > > HPNDisabled no > HPNBufferSize 8192 of course we just removed the HPN option for FreebSD's ssh/scp what version are you using? > > in sshd_config was enough to bring it on par with linux. > >> > > From owner-freebsd-net@freebsd.org Tue Oct 4 06:02:20 2016 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 E17E4AF48B5 for ; Tue, 4 Oct 2016 06:02:20 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smadev.internal.net", Issuer "smadev.internal.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D893A3E; Tue, 4 Oct 2016 06:02:19 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id u94629m4093459; Tue, 4 Oct 2016 09:02:15 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Strange issue with scp performance To: freebsd-net@freebsd.org, Julian Elischer References: <57EB9AC8.3050102@matrix.gatewaynet.com> <20161001005558.GB1751@funkthat.com> <57F2072B.6000403@matrix.gatewaynet.com> Cc: jmg@funkthat.com From: Achilleas Mantzios Message-ID: <57F345E1.3050902@matrix.gatewaynet.com> Date: Tue, 4 Oct 2016 09:02:09 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <57F2072B.6000403@matrix.gatewaynet.com> Content-Type: text/plain; charset=utf-8; format=flowed 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, 04 Oct 2016 06:02:21 -0000 Hello Julian, (pls include me in your To/Cc pls) > of course we just removed the HPN option for FreebSD's ssh/scpwhat version are you using? I am using OpenSSH_6.6.1p1, OpenSSL 1.0.1p-freebsd 9 Jul 2015 on 10.2-RELEASE-p7 . I read the news about dropping the HPN patch. Recently we had experienced low scp performance between a new (modern) linux host we cloned to some cloud provider and a local quite old linux machine. I noticed that I had the same low performance between the new remote linux and my FreeBSD box, so I tried to address this. However no matter the HPN tuning, on this particular connection (about 100ms latency), the bhyve Ubuntu is *always* faster than its host (my FreeBSD box), so I guess the benefit from HPN would be marginal anyway. On 03/10/2016 10:22, Achilleas Mantzios wrote: > On 01/10/2016 03:55, John-Mark Gurney wrote: >> Achilleas Mantzios wrote this message on Wed, Sep 28, 2016 at 13:26 +0300: >>> We have a weird situation here. We just made a clone of a virtual image running Linux and sent it over to some could provider. The problem is that the scp performance to *many* hosts in our office >>> center has worsened considerably, including one freebsd box. >>> >>> In this freebsd box I run also a jail, and a linux ubuntu image with bhyve. The crazy thing here is that : >>> >>> 1) scp from the original (local office center) linux image to the host FreeBSD, its jailed FreeBSD and its bhyve linux is 2.7 MB/s >>> 2) scp from the cloud linux image to the host FreeBSD is slow (~300KB/s) >>> 3) scp from the cloud linux image to the above FreeBSD's jail is slow(~300KB/s) >>> 4) scp from the cloud linux image to the above FreeBSD's bhyve ubuntu is fast(~1->1.5MB/s) >>> >>> What can cause this behavior? >>> >>> PS >>> Please answer to me directly as I am not subscribed to -net. >>> Thanks a lot for any ideas. >> I worked on this last year a bit, but was never able to track it down. >> >> It may be an issue w/ internal SSH's buffering not growing properly to >> handle the latency. >> >> I posted some info on the wiki about this: >> https://wiki.freebsd.org/SSHPerf > > Thanks tons! > In this case of mine, just playing around with HPN: > > HPNDisabled no > HPNBufferSize 8192 > > in sshd_config was enough to bring it on par with linux. > >> > > -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt From owner-freebsd-net@freebsd.org Tue Oct 4 20:39:42 2016 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 9C52DAF5F61 for ; Tue, 4 Oct 2016 20:39:42 +0000 (UTC) (envelope-from avernar@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 366F6333 for ; Tue, 4 Oct 2016 20:39:42 +0000 (UTC) (envelope-from avernar@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id b201so168669178wmb.0 for ; Tue, 04 Oct 2016 13:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qukC4DwLWIatpdf8+g6UqTyj+veoeU/h9UGXTP8IbSI=; b=qVwcIezpWXlv3YTuXZ+gTZcYI2SszTl4B35SCbKHN4FulKSZFrQpY5E9dyAs/U9/Lo sC54MRYJ/v1jG9kMhGsqJhv+kthxnFeKmPpI00uFZGpdEvJYP1MNxROXEe0+Kytm/gnD E7X40x+cnM/83hYEsZkl9qCzpL3/DEfLfI7VbNViwMMQkefHq4NlzZFYT561NMsyPlaB ifR+vC4R3Yj+whaY6I7da06MtgypysBqtGwGfH4TxvnvscNLjWmBGh5lCGLmKGOeuN40 zWnXMsMu89/eI17o9G8PkxFosQgLvXcSCwM9tMC3e0f9iUZjAxFS7NGyTiXDQxlMfEjM GaIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qukC4DwLWIatpdf8+g6UqTyj+veoeU/h9UGXTP8IbSI=; b=BmZfkyETCKVeSXZGqrXj3lstzBS5B+/SnEbkPF9e0KsH6bYrSs75+oqb93niJfo9+Q RWoPR4/D8aTYIljaf/BB14lPySjWDtSJJFRjbQyJ/XVK/Urf726zvIurFUb8rHiLH653 AsMzomU+0u+YOVDr1gmHCUDNsau80tUGA/3IkeAJfJmnE33xu9xdtu5d/XI0qwGWNEb5 VMrBILAqCWT2M4zVGlhUwHvjACKyFNHIZBvcg+jDcbbgROhkeUqWg1Uekxp3DgkGXHWK 5UtC+km45HP261vCg7jCA7q3n/Q9zxaASQ16QUnTW3HuCoELxZteeewmeb+o2WKj026K 69wg== X-Gm-Message-State: AA6/9Rkji1V23ww3sT4Tk/aKf+qmoAtUZx/gA8mkkKmXSrZG3wK6srhWYr+tWRW6Ry8s/6l/875o25MHrItAaQ== X-Received: by 10.28.66.1 with SMTP id p1mr5269329wma.53.1475613580316; Tue, 04 Oct 2016 13:39:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.142.14 with HTTP; Tue, 4 Oct 2016 13:39:39 -0700 (PDT) From: Avernar Date: Tue, 4 Oct 2016 16:39:39 -0400 Message-ID: Subject: kernel panic when shutting down ppp To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 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, 04 Oct 2016 20:39:42 -0000 I'm running ppp for a pppoe connection in a vnet jail on 11.0-RELEASE. I've been getting a panic when shutting down ppp sometimes. Any ideas what might be causing this? Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 06 fault virtual address = 0x0 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80c20f09 stack pointer = 0x28:0xfffffe04663f7470 frame pointer = 0x28:0xfffffe04663f75c0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 3352 (ppp) trap number = 12 panic: page fault cpuid = 3 (kgdb) bt #0 doadump (textdump=) at pcpu.h:221 #1 0xffffffff80ae6889 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff80ae6e3b in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80ae6c73 in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:690 #4 0xffffffff80ff1d31 in trap_fatal (frame=0xfffffe04663f73c0, eva=0) at /usr/src/sys/amd64/amd64/trap.c:841 #5 0xffffffff80ff1f23 in trap_pfault (frame=0xfffffe04663f73c0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:691 #6 0xffffffff80ff14cc in trap (frame=0xfffffe04663f73c0) at /usr/src/sys/amd64/amd64/trap.c:442 #7 0xffffffff80fd4641 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #8 0xffffffff80c20f09 in sysctl_dumpentry (rn=0xfffff8014e403dd0, vw=0xfffffe04663f7618) at /usr/src/sys/net/rtsock.c:1543 #9 0xffffffff80c1a910 in rn_walktree (h=, f=, w=) at /usr/src/sys/net/radix.c:1094 #10 0xffffffff80c20832 in sysctl_rtsock (oidp=, arg1=, arg2=, req=) at /usr/src/sys/net/rtsock.c:1894 #11 0xffffffff80af508f in sysctl_root_handler_locked (oid=0xffffffff81a23600, arg1=0xfffffe04663f7928, arg2=4, req=0xfffffe04663f7858, tracker=0xfffffe04663f77d0) at /usr/src/sys/kern/kern_sysctl.c:165 #12 0xffffffff80af47ff in sysctl_root (arg1=, arg2=) at /usr/src/sys/kern/kern_sysctl.c:1876 #13 0xffffffff80af4dd9 in userland_sysctl (td=0xfffff8014eaa0000, name=0xfffffe04663f7920, namelen=6, old=, oldlenp=, inkernel=, new=, newlen=, retval=0xfffff8006e059000, flags=0) at /usr/src/sys/kern/kern_sysctl.c:1979 #14 0xffffffff80af4bb4 in sys___sysctl (td=0xfffff8014eaa0000, uap=0xfffffe04663f7a40) at /usr/src/sys/kern/kern_sysctl.c:1906 #15 0xffffffff80ff268e in amd64_syscall (td=, traced=0) at subr_syscall.c:135 #16 0xffffffff80fd492b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:396 #17 0x0000000801dd6f5a in ?? () Current language: auto; currently minimal (kgdb) frame 8 #8 0xffffffff80c20f09 in sysctl_dumpentry (rn=0xfffff8014e403dd0, vw=0xfffffe04663f7618) at /usr/src/sys/net/rtsock.c:1543 1543 info.rti_info[RTAX_IFP] = rt->rt_ifp->if_addr->ifa_addr; (kgdb) list 1538 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 1539 info.rti_info[RTAX_NETMASK] = rtsock_fix_netmask(rt_key(rt), 1540 rt_mask(rt), &ss); 1541 info.rti_info[RTAX_GENMASK] = 0; 1542 if (rt->rt_ifp) { 1543 info.rti_info[RTAX_IFP] = rt->rt_ifp->if_addr->ifa_addr; 1544 info.rti_info[RTAX_IFA] = rt->rt_ifa->ifa_addr; 1545 if (rt->rt_ifp->if_flags & IFF_POINTOPOINT) 1546 info.rti_info[RTAX_BRD] = rt->rt_ifa->ifa_dstaddr; 1547 } From owner-freebsd-net@freebsd.org Wed Oct 5 18:52:05 2016 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 6E08FAF6805 for ; Wed, 5 Oct 2016 18:52:05 +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 5D97120F for ; Wed, 5 Oct 2016 18:52:05 +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 u95Iq4qg073435 for ; Wed, 5 Oct 2016 18:52:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213232] [tcp] [panic] tcp_output() Panic String: tcp_output: len > IP_MAXPACKET (at r306658) Date: Wed, 05 Oct 2016 18:52:05 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: 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: Wed, 05 Oct 2016 18:52:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213232 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 6 11:06:50 2016 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 0805DBD3900 for ; Thu, 6 Oct 2016 11:06:50 +0000 (UTC) (envelope-from rafa@um.es) Received: from xenon23.um.es (xenon23.um.es [155.54.212.163]) by mx1.freebsd.org (Postfix) with ESMTP id B4569253 for ; Thu, 6 Oct 2016 11:06:49 +0000 (UTC) (envelope-from rafa@um.es) Received: from localhost (localhost [127.0.0.1]) by xenon23.um.es (Postfix) with ESMTP id 99390B31; Thu, 6 Oct 2016 13:01:14 +0200 (CEST) X-Virus-Scanned: by antispam in UMU at xenon23.um.es Received: from xenon23.um.es ([127.0.0.1]) by localhost (xenon23.um.es [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CWiV+TAaPURV; Thu, 6 Oct 2016 13:01:14 +0200 (CEST) Received: from [192.168.1.36] (176.red-83-37-59.dynamicip.rima-tde.net [83.37.59.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rafa) by xenon23.um.es (Postfix) with ESMTPSA id 5BACE7DF6; Thu, 6 Oct 2016 13:01:12 +0200 (CEST) From: Rafa Marin Lopez Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: IPsec implementation key_spdacquire Date: Thu, 6 Oct 2016 13:01:11 +0200 Message-Id: Cc: Rafa Marin Lopez , Gabriel Lopez To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) 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: Thu, 06 Oct 2016 11:06:50 -0000 Dear all: I am a newbie in this mailing list and I am not sure whether this is the = right place to ask (let me know otherwise) In the file key.c in netipsec there is a function: key_spdacquire(struct secpolicy *sp) which is implemented but in the table: static int (*key_typesw[])(struct socket *, struct mbuf *, const struct sadb_msghdr *) =3D { ... NULL, /* SADB_X_SPDACQUIRE */ Does it mean it is not usable?=20 We are interested because we are dealing with handling IPsec by using = SDN paradigm = (https://tools.ietf.org/html/draft-abad-i2nsf-sdn-ipsec-flow-protection-00= ) and we would need an event when a IP packet needs a policy to be = configured for an outbound packet. Any comments? Best Regards. ------------------------------------------------------- Rafael Marin Lopez, PhD Dept. Information and Communications Engineering (DIIC) Faculty of Computer Science-University of Murcia 30100 Murcia - Spain Telf: +34868888501 Fax: +34868884151 e-mail: rafa@um.es ------------------------------------------------------- From owner-freebsd-net@freebsd.org Thu Oct 6 12:36:39 2016 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 7ED8BBD82BE for ; Thu, 6 Oct 2016 12:36:39 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.freebsd.org", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B4EDBB5 for ; Thu, 6 Oct 2016 12:36:39 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id 2A9FC67361; Thu, 6 Oct 2016 12:36:37 +0000 (UTC) (envelope-from ae@FreeBSD.org) Subject: Re: IPsec implementation key_spdacquire To: Rafa Marin Lopez , freebsd-net@freebsd.org References: Cc: Gabriel Lopez From: "Andrey V. Elsukov" Message-ID: <53a3073d-2098-76fb-2d1d-d144397fa6f2@FreeBSD.org> Date: Thu, 6 Oct 2016 15:34:04 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="w3Oq431gXSV8htaIXOujUBKUrJvakL9Hi" 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, 06 Oct 2016 12:36:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --w3Oq431gXSV8htaIXOujUBKUrJvakL9Hi Content-Type: multipart/mixed; boundary="rEpBDI09EC5ccQV5u7DeuKkpGTedrNVhr"; protected-headers="v1" From: "Andrey V. Elsukov" To: Rafa Marin Lopez , freebsd-net@freebsd.org Cc: Gabriel Lopez Message-ID: <53a3073d-2098-76fb-2d1d-d144397fa6f2@FreeBSD.org> Subject: Re: IPsec implementation key_spdacquire References: In-Reply-To: --rEpBDI09EC5ccQV5u7DeuKkpGTedrNVhr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06.10.2016 14:01, Rafa Marin Lopez wrote: > In the file key.c in netipsec there is a function: >=20 > key_spdacquire(struct secpolicy *sp) >=20 > which is implemented but in the table: >=20 >=20 > static int (*key_typesw[])(struct socket *, struct mbuf *, const > struct sadb_msghdr *) =3D { ... >=20 > NULL, /* SADB_X_SPDACQUIRE */ >=20 >=20 > Does it mean it is not usable? >=20 > We are interested because we are dealing with handling IPsec by using > SDN paradigm > (https://tools.ietf.org/html/draft-abad-i2nsf-sdn-ipsec-flow-protection= -00) > and we would need an event when a IP packet needs a policy to be > configured for an outbound packet. Hi, Yes, it isn't usable. In my understanding SADB_X_SPDACQUIRE should be used in conjunction with SADB_X_SPDSETIDX and SADB_X_SPDUPDATE in the similar way like currently SADB_GETSPI+SADB_ACQUIRE+SADB_UPDATE works. Currently I have done a heavy redesign of SADB/SPDB and also just removed SADB_X_SPDSETIDX and SADB_X_SPDACQUIRE support, since 1) it is unused; 2) I failed to find IKEd that supports it; 3) there is no code in the IPsec that assumes such usage. My work is still in progress, currently we are doing testing. But if you have software that will use this, I will think how to implement it. --=20 WBR, Andrey V. Elsukov --rEpBDI09EC5ccQV5u7DeuKkpGTedrNVhr-- --w3Oq431gXSV8htaIXOujUBKUrJvakL9Hi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEsBAEBCAAWBQJX9kS8DxxhZUBmcmVlYnNkLm9yZwAKCRABxeoEEMihevkyCACE nKUd6UPQDE29RcnwShT4jMT4HiAbQvTnp7o2ZVQti50xuBePicy/2bzl329YeQKR aijfKio6RG9S3OgE5nl5VFP9+72LmD4Sw6EO2DRiLATs3hMSL9cA3u+6m7l07Iz+ xqx1q5759dumpTWVAsEY/0ECSVV+0e6UtwGj3nzf6Z1DJaDFyvCIv6EbeVvaBix7 ivzn7n+jirldSiXBhU3O6WFYppizHhVTEU1mlwNxiY6MB63nRy8BzqHFOid9J9fY ciD9ZYCidNmY8Qzvn0BfxC4fcVSBdxnbzcEhdAG4w+8qTL1PQioshRmHSGFfsdQk lCrdsHv5FNdUnLweBAEt =I6yH -----END PGP SIGNATURE----- --w3Oq431gXSV8htaIXOujUBKUrJvakL9Hi-- From owner-freebsd-net@freebsd.org Thu Oct 6 13:26:42 2016 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 4AD96BE91F3 for ; Thu, 6 Oct 2016 13:26:42 +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 2FC92A0C for ; Thu, 6 Oct 2016 13:26:42 +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 u96DQg3C077356 for ; Thu, 6 Oct 2016 13:26:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 209682] [panic] [netinet] arptimer race Date: Thu, 06 Oct 2016 13:26:42 +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: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@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, 06 Oct 2016 13:26:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209682 --- Comment #2 from Hans Petter Selasky --- Reproducable with recent 11-STABLE doing ifconfig up/down in sequence. --HPS 270 LLE_REMREF(lle); 271 lltable_unlink_entry(lle->lle_tbl, lle); 272 } 273 IF_AFDATA_UNLOCK(ifp); 274 275 size_t pkts_dropped =3D llentry_free(lle); 276 277 ARPSTAT_ADD(dropped, pkts_dropped); 278 ARPSTAT_INC(timeouts); 279 (kgdb) bt #0 doadump (textdump=3D1) at pcpu.h:221 #1 0xffffffff80ae755e in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff80ae7b2b in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80ae7963 in panic (fmt=3D0x0) at /usr/src/sys/kern/kern_shutdown.c:690 #4 0xffffffff80fc0361 in trap_fatal (frame=3D0xfffffe0f92146720, eva=3D952= ) at /usr/src/sys/amd64/amd64/trap.c:841 #5 0xffffffff80fc0553 in trap_pfault (frame=3D0xfffffe0f92146720, usermode= =3D0) at /usr/src/sys/amd64/amd64/trap.c:691 #6 0xffffffff80fbfafc in trap (frame=3D0xfffffe0f92146720) at /usr/src/sys/amd64/amd64/trap.c:442 #7 0xffffffff80fa2e41 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #8 0xffffffff80ae2abb in __rw_wlock_hard (c=3D, tid= =3D, file=3D, line=3D)= at /usr/src/sys/kern/kern_rwlock.c:830 #9 0xffffffff80c60086 in arptimer (arg=3D) at /usr/src/sys/netinet/if_ether.c:265 #10 0xffffffff80b01d6a in softclock_call_cc (c=3D, cc= =3D, direct=3D) at /usr/src/sys/kern/kern_timeout.c:729 #11 0xffffffff80b022e4 in softclock (arg=3D) at /usr/src/sys/kern/kern_timeout.c:867 #12 0xffffffff80aa239f in intr_event_execute_handlers (p=3D, ie=3D) at /usr/src/sys/kern/kern_intr.c:1262 #13 0xffffffff80aa29b6 in ithread_loop (arg=3D) at /usr/src/sys/kern/kern_intr.c:1275 #14 0xffffffff80a9efe5 in fork_exit (callout=3D0xffffffff80aa28f0 , arg=3D0xfffff8000ad70700, frame=3D0xfffffe0f92146ac0) at /usr/src/sys/kern/kern_fork.c:1038 #15 0xffffffff80fa337e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:611 #16 0x0000000000000000 in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 6 15:44:49 2016 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 36964BD3816 for ; Thu, 6 Oct 2016 15:44:49 +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 264F0E7F for ; Thu, 6 Oct 2016 15:44:49 +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 u96FimO9084568 for ; Thu, 6 Oct 2016 15:44:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213237] ndis does not create network insterface Date: Thu, 06 Oct 2016 15:44:48 +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.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: cc assigned_to keywords 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, 06 Oct 2016 15:44:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213237 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-i386@FreeBSD.org | Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org Keywords| |regression --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 6 15:45:01 2016 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 5ADCABD38D7 for ; Thu, 6 Oct 2016 15:45:01 +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 49180F8A for ; Thu, 6 Oct 2016 15:45:01 +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 u96Fj1KD084990 for ; Thu, 6 Oct 2016 15:45:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213237] ndis does not create network interface Date: Thu, 06 Oct 2016 15:45:01 +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.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: short_desc 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, 06 Oct 2016 15:45:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213237 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ndis does not create |ndis does not create |network insterface |network interface --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 6 19:02:31 2016 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 313A0BEC414 for ; Thu, 6 Oct 2016 19:02:31 +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 20EC2D8E for ; Thu, 6 Oct 2016 19:02:31 +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 u96J2U0e047886 for ; Thu, 6 Oct 2016 19:02:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213232] [tcp] [panic] tcp_output() Panic String: tcp_output: len > IP_MAXPACKET (at r306658) Date: Thu, 06 Oct 2016 19:02:31 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@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, 06 Oct 2016 19:02:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213232 --- Comment #1 from Hiren Panchasara --- Just hit this again on the same box. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 6 21:10:04 2016 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 88258BEC794 for ; Thu, 6 Oct 2016 21:10:04 +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 77D369BD for ; Thu, 6 Oct 2016 21:10:04 +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 u96LA3Mb025686 for ; Thu, 6 Oct 2016 21:10:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver Date: Thu, 06 Oct 2016 21:10:04 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: assigned_to 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: Thu, 06 Oct 2016 21:10:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org Keywords| |IntelNetworking CC|freebsd-amd64@FreeBSD.org | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 04:01:43 2016 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 B4069AF7875 for ; Fri, 7 Oct 2016 04:01: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 A3BA723D for ; Fri, 7 Oct 2016 04:01: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 u9741h9d095205 for ; Fri, 7 Oct 2016 04:01:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213232] [tcp] [panic] tcp_output() Panic String: tcp_output: len > IP_MAXPACKET (at r306658) Date: Fri, 07 Oct 2016 04:01:43 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@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: 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: Fri, 07 Oct 2016 04:01:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213232 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #2 from Andrey V. Elsukov --- (In reply to Hiren Panchasara from comment #1) > Just hit this again on the same box. What value have len, hdrlen and ipoptlen in frame 13 or can you show `info locals` from the same frame? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 05:21:48 2016 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 52814BD3754 for ; Fri, 7 Oct 2016 05:21:48 +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 4234931 for ; Fri, 7 Oct 2016 05:21:48 +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 u975LltP059390 for ; Fri, 7 Oct 2016 05:21:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213232] [tcp] [panic] tcp_output() Panic String: tcp_output: len > IP_MAXPACKET (at r306658) Date: Fri, 07 Oct 2016 05:21:48 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@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: Fri, 07 Oct 2016 05:21:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213232 --- Comment #3 from Hiren Panchasara --- (In reply to Andrey V. Elsukov from comment #2) All optimized out but because it happens (or at least happened) twice, I can put some instrumentation to catch those values.=20 I'll update when I have some more info. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 07:00:09 2016 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 28D63BECCA8 for ; Fri, 7 Oct 2016 07:00:09 +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 E8946DA9 for ; Fri, 7 Oct 2016 07:00:08 +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 u97706Wu045003 for ; Fri, 7 Oct 2016 07:00:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 148807] [panic] "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" (8.1-RELEASE/10.1-STABLE/11-CURRENT) Date: Fri, 07 Oct 2016 07:00:05 +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: 10.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? 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: Fri, 07 Oct 2016 07:00:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 emz@norma.perm.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emz@norma.perm.ru --- Comment #28 from emz@norma.perm.ru --- Got this right now on an update from 10.2-STABLE to 11.0-PRERELEASE. Persis= tent in 11.0-RC3. Repeatable in like 5-12 minutes. 25 minutes is an absolute rec= ord. panic: sbsndptr: sockbuf 0xfffff8003eea31b8 and mbuf 0xfffff80020a6e700 clashing GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: panic: sbsndptr: sockbuf 0xfffff8003eea31b8 and mbuf 0xfffff80020a6e700 clashing cpuid =3D 1 KDB: stack backtrace: #0 0xffffffff80b1d0c7 at kdb_backtrace+0x67 #1 0xffffffff80ad1f62 at vpanic+0x182 #2 0xffffffff80ad1dd3 at panic+0x43 #3 0xffffffff80b6a15a at sbsndptr+0xda #4 0xffffffff80cfcbb4 at tcp_output+0xf34 #5 0xffffffff80cf9a81 at tcp_do_segment+0x2ce1 #6 0xffffffff80cf60cc at tcp_input+0xd1c #7 0xffffffff80c66dbf at ip_input+0x15f #8 0xffffffff80bfc295 at netisr_dispatch_src+0xa5 #9 0xffffffff80be4cea at ether_demux+0x12a #10 0xffffffff80be5942 at ether_nh_input+0x322 #11 0xffffffff80bfc295 at netisr_dispatch_src+0xa5 #12 0xffffffff80be4f66 at ether_input+0x26 #13 0xffffffff80bed9db at vlan_input+0x1cb #14 0xffffffff80be4c55 at ether_demux+0x95 #15 0xffffffff80be5942 at ether_nh_input+0x322 #16 0xffffffff80bfc295 at netisr_dispatch_src+0xa5 #17 0xffffffff80be4f66 at ether_input+0x26 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 08:04:08 2016 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 216B1BEDB2E for ; Fri, 7 Oct 2016 08:04:08 +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 0F85F1D35 for ; Fri, 7 Oct 2016 08:04:08 +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 u978473A080511 for ; Fri, 7 Oct 2016 08:04:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 148807] [panic] "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" (8.1-RELEASE/10.1-STABLE/11-CURRENT) Date: Fri, 07 Oct 2016 08:04:07 +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: 10.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rwatson@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? 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: Fri, 07 Oct 2016 08:04:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 --- Comment #29 from Robert Watson --- Just a quick comment in light of recent notes on this PR: the panic being s= een is as a result of a kernel self-check that occurs on socket close, and like= ly reports on a bug that triggered some substantial time earlier (milliseconds, seconds, minutes, hours, days, or even weeks earlier), and reports on a cla= ss of problems rather than detecting a specific bug. It's entirely likely that= the problem reported more recently is not the same bug as those reported previo= usly with the same panic message -- rather, a similar bug with the same kernel self-check detecting it. In the past, this self-check has most frequently fired as a result of either bugs in the socket-buffer code (although I think none recently), or device-driver bugs involving modifications to the mbuf chain after submitti= ng the mbuf to the network stack (e.g., due to concurrency bugs in the device driver). It can also occur in use-after-free scenarios, as a result of prot= ocol bugs, etc. On the whole, my intuition is towards a device-driver bug based on past experience. Could you paste in the output of "dmesg" and "ifconfig -a" from= the host to give a bit more information on its configuration? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 10:09:36 2016 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 91404BDE607 for ; Fri, 7 Oct 2016 10:09:36 +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 7F533911 for ; Fri, 7 Oct 2016 10:09:36 +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 u97A9a8S049163 for ; Fri, 7 Oct 2016 10:09:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 148807] [panic] "panic: sbdrop" and "panic: sbsndptr: sockbuf _ and mbuf _ clashing" (8.1-RELEASE/10.1-STABLE/11-CURRENT) Date: Fri, 07 Oct 2016 10:09:36 +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: 10.1-STABLE X-Bugzilla-Keywords: crash, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? 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: Fri, 07 Oct 2016 10:09:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148807 --- Comment #30 from emz@norma.perm.ru --- Follow-up: RC3 was installed incorrectly (i.e. not installed at all). After proper RC3 downgrade (r305786) seems like server is at least more stable - = it runs for more than an hour. On 11.0-PRE (306739) panics were happening in l= ike 3 to 5 minutes. I have a handful of cores, in case someone needs them. As about the driver. This was a HP DL160 g6 I guess and the driver was igb(= 4). Now it's the Supermicro board (tech team switched the drives to a new chass= is to exclude possible hardware problems) and the ifconfig/dmesg.boot are as folows (the driver is still an igb(4)), and the dmesg is from 11-RC3: igb0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D6403bb ether 00:25:90:06:b7:9e nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active igb1: flags=3D8c02 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D6403bb ether 00:25:90:06:b7:9f nd6 options=3D29 media: Ethernet autoselect status: no carrier lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D21 groups: lo vlan1: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 192.168.0.248 netmask 0xffffff00 broadcast 192.168.0.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 1 vlanpcp: 0 parent interface: igb0 groups: vlan vlan2: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 91.206.242.1 netmask 0xfffffff0 broadcast 91.206.242.15 inet 91.206.242.5 netmask 0xfffffff0 broadcast 91.206.242.15 inet 91.206.242.8 netmask 0xfffffff0 broadcast 91.206.242.15 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 2 vlanpcp: 0 parent interface: igb0 groups: vlan vlan3: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 10.64.0.250 netmask 0xffffff00 broadcast 10.64.0.255 inet 10.64.0.252 netmask 0xffffff00 broadcast 10.64.0.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 3 vlanpcp: 0 parent interface: igb0 groups: vlan vlan4: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 89.250.210.6 netmask 0xfffffffc broadcast 89.250.210.7 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 4 vlanpcp: 0 parent interface: igb0 groups: vlan vlan5: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 77.43.142.201 netmask 0xfffffffc broadcast 77.43.142.203 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 5 vlanpcp: 0 parent interface: igb0 groups: vlan vlan6: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 172.20.142.250 netmask 0xffffff00 broadcast 172.20.142.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 6 vlanpcp: 0 parent interface: igb0 groups: vlan vlan7: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 172.16.240.2 netmask 0xffffff00 broadcast 172.16.240.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 7 vlanpcp: 0 parent interface: igb0 groups: vlan vlan8: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 86.109.196.74 netmask 0xfffffff8 broadcast 86.109.196.79 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 8 vlanpcp: 0 parent interface: igb0 groups: vlan vlan9: flags=3D8843 metric 0 mtu 15= 00 options=3D303 ether 00:25:90:06:b7:9e inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 9 vlanpcp: 0 parent interface: igb0 groups: vlan vlan10: flags=3D8843 metric 0 mtu 1= 500 options=3D303 ether 00:25:90:06:b7:9e inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 10 vlanpcp: 0 parent interface: igb0 groups: vlan vlan11: flags=3D8843 metric 0 mtu 1= 500 options=3D303 ether 00:25:90:06:b7:9e inet 188.234.141.201 netmask 0xfffffffc broadcast 188.234.141.203 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 11 vlanpcp: 0 parent interface: igb0 groups: vlan vlan12: flags=3D8843 metric 0 mtu 1= 500 options=3D303 ether 00:25:90:06:b7:9e inet 192.168.50.1 netmask 0xffffff00 broadcast 192.168.50.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 12 vlanpcp: 0 parent interface: igb0 groups: vlan vlan13: flags=3D8843 metric 0 mtu 1= 500 options=3D303 ether 00:25:90:06:b7:9e inet 192.168.99.10 netmask 0xffffff00 broadcast 192.168.99.255 nd6 options=3D29 media: Ethernet autoselect (1000baseT ) status: active vlan: 13 vlanpcp: 0 parent interface: igb0 groups: vlan Dmesg: Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-RC3 #0 r305786: Wed Sep 14 02:19:25 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) VT(vga): resolution 640x480 CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2400.13-MHz K8-class = CPU) Origin=3D"GenuineIntel" Id=3D0x206c2 Family=3D0x6 Model=3D0x2c Steppi= ng=3D2 =20 Features=3D0xbfebfbff =20 Features2=3D0x9ee3fd AMD Features=3D0x2c100800 AMD Features2=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 51543801856 (49156 MB) avail memory =3D 49979412480 (47664 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <080312 APIC1521> FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 hardware threads random: unblocking device. ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 128/64 (20160527/tbfadt-650) ioapic0: Changing APIC ID to 6 ioapic1: Changing APIC ID to 7 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff8101c950, 0) error 19 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 cpu8: on acpi0 cpu9: on acpi0 cpu10: on acpi0 cpu11: on acpi0 cpu12: on acpi0 cpu13: on acpi0 cpu14: on acpi0 cpu15: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 340 Event timer "HPET2" frequency 14318180 Hz quality 340 Event timer "HPET3" frequency 14318180 Hz quality 340 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff numa-domain 0 on acpi0 pcib0: _OSC returned error 0x10 pci0: numa-domain 0 on pcib0 pcib1: at device 1.0 numa-domain 0 on pci0 pci1: numa-domain 0 on pcib1 igb0: port 0xec00-0xec1f mem 0xfbde0000-0xfbdfffff,0xfbdc0000-0xfbddffff,0xfbd9c000-0xfbd9ffff irq 28 at device 0.0 numa-domain 0 on pci1 igb0: Using MSIX interrupts with 9 vectors igb0: Ethernet address: 00:25:90:06:b7:9e igb0: Bound queue 0 to cpu 0 igb0: Bound queue 1 to cpu 1 igb0: Bound queue 2 to cpu 2 igb0: Bound queue 3 to cpu 3 igb0: Bound queue 4 to cpu 4 igb0: Bound queue 5 to cpu 5 igb0: Bound queue 6 to cpu 6 igb0: Bound queue 7 to cpu 7 igb0: netmap queues/slots: TX 8/1024, RX 8/1024 igb1: port 0xe880-0xe89f mem 0xfbd60000-0xfbd7ffff,0xfbd40000-0xfbd5ffff,0xfbd1c000-0xfbd1ffff irq 40 at device 0.1 numa-domain 0 on pci1 igb1: Using MSIX interrupts with 9 vectors igb1: Ethernet address: 00:25:90:06:b7:9f igb1: Bound queue 0 to cpu 8 igb1: Bound queue 1 to cpu 9 igb1: Bound queue 2 to cpu 10 igb1: Bound queue 3 to cpu 11 igb1: Bound queue 4 to cpu 12 igb1: Bound queue 5 to cpu 13 igb1: Bound queue 6 to cpu 14 igb1: Bound queue 7 to cpu 15 igb1: netmap queues/slots: TX 8/1024, RX 8/1024 pcib2: at device 3.0 numa-domain 0 on pci0 pci2: numa-domain 0 on pcib2 pcib3: at device 5.0 numa-domain 0 on pci0 pci3: numa-domain 0 on pcib3 pcib4: at device 7.0 numa-domain 0 on pci0 pci4: numa-domain 0 on pcib4 pcib5: at device 9.0 numa-domain 0 on pci0 pci5: numa-domain 0 on pcib5 pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) uhci0: port 0xdc00-0xdc1f irq = 16 at device 26.0 numa-domain 0 on pci0 uhci0: LegSup =3D 0x2f00 usbus0 numa-domain 0 on uhci0 uhci1: port 0xd880-0xd89f irq = 21 at device 26.1 numa-domain 0 on pci0 uhci1: LegSup =3D 0x2f00 usbus1 numa-domain 0 on uhci1 uhci2: port 0xd800-0xd81f irq = 19 at device 26.2 numa-domain 0 on pci0 uhci2: LegSup =3D 0x2f00 usbus2 numa-domain 0 on uhci2 ehci0: mem 0xfbeda000-0xfbeda3ff irq 18 at device 26.7 numa-domain 0 on pci0 usbus3: EHCI version 1.0 usbus3 numa-domain 0 on ehci0 uhci3: port 0xd480-0xd49f irq = 23 at device 29.0 numa-domain 0 on pci0 uhci3: LegSup =3D 0x2f00 usbus4 numa-domain 0 on uhci3 uhci4: port 0xd400-0xd41f irq = 19 at device 29.1 numa-domain 0 on pci0 uhci4: LegSup =3D 0x2f00 usbus5 numa-domain 0 on uhci4 uhci5: port 0xd080-0xd09f irq = 18 at device 29.2 numa-domain 0 on pci0 uhci5: LegSup =3D 0x2f00 usbus6 numa-domain 0 on uhci5 ehci1: mem 0xfbed8000-0xfbed83ff irq 23 at device 29.7 numa-domain 0 on pci0 usbus7: EHCI version 1.0 usbus7 numa-domain 0 on ehci1 pcib6: at device 30.0 numa-domain 0 on pci0 pci6: numa-domain 0 on pcib6 vgapci0: mem 0xf9000000-0xf9ffffff,0xfaffc000-0xfaffffff,0xfb000000-0xfb7fffff irq 18 at device 1.0 numa-domain 0 on pci6 vgapci0: Boot video device isab0: at device 31.0 numa-domain 0 on pci0 isa0: numa-domain 0 on isab0 atapci0: port 0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc887,0xc800-0xc803,0xc480-0xc48f,0xc40= 0-0xc40f irq 19 at device 31.2 numa-domain 0 on pci0 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 atapci1: port 0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb887,0xb800-0xb803,0xb480-0xb48f,0xb40= 0-0xb40f irq 19 at device 31.5 numa-domain 0 on pci0 ata4: at channel 0 on atapci1 ata5: at channel 1 on atapci1 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 qpi0: on motherboard pcib7: pcibus 255 on qpi0 pci7: on pcib7 pcib8: pcibus 254 on qpi0 pci8: on pcib8 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0 ppc0: cannot reserve I/O port range est0: on cpu0 est1: on cpu1 est2: on cpu2 est3: on cpu3 est4: on cpu4 est5: on cpu5 est6: on cpu6 est7: on cpu7 est8: on cpu8 est9: on cpu9 est10: on cpu10 est11: on cpu11 est12: on cpu12 est13: on cpu13 est14: on cpu14 est15: on cpu15 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec nvme cam probe device init usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 uhub2: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered ada0 at ata2 bus 0 scbus0 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: Serial Number WCASY6743897 ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 476940MB (976773168 512 byte sectors) ada1 at ata2 bus 0 scbus0 target 1 lun 0 ada1: ATA8-ACS SATA 3.x device ada1: Serial Number Z6EMAENR ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 476940MB (976773168 512 byte sectors) ada1: quirks=3D0x1<4K> ada2 at ata3 bus 0 scbus1 target 0 lun 0 ada2: ATA-7 SATA 2.x device ada2: Serial Number WCASY6752687 ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada2: 476940MB (976773168 512 byte sectors) ada3 at ata3 bus 0 scbus1 target 1 lun 0 ada3: ATA8-ACS SATA 3.x device ada3: Serial Number Z6EM8QHK ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada3: 476940MB (976773168 512 byte sectors) ada3: quirks=3D0x1<4K> SMP: AP CPU #1 Launched! SMP: AP CPU #15 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #10 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #11 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #8 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #12 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #13 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #9 Launched! SMP: AP CPU #14 Launched! Timecounter "TSC-low" frequency 1200065624 Hz quality 1000 Trying to mount root from zfs:zfsroot []... GEOM_MIRROR: Device mirror/swap launched (2/2). Root mount waiting for: usbus7 usbus3 Root mount waiting for: usbus7 usbus3 uhub7: 6 ports with 6 removable, self powered uhub3: 6 ports with 6 removable, self powered igb0: link state changed to UP vlan1: link state changed to UP vlan2: link state changed to UP vlan3: link state changed to UP vlan4: link state changed to UP vlan5: link state changed to UP vlan6: link state changed to UP vlan7: link state changed to UP vlan8: link state changed to UP vlan9: link state changed to UP vlan10: link state changed to UP vlan11: link state changed to UP vlan12: link state changed to UP vlan13: link state changed to UP --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 12:49:55 2016 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 DA796AF57F6 for ; Fri, 7 Oct 2016 12:49:55 +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 BF9149B2 for ; Fri, 7 Oct 2016 12:49:55 +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 u97CnthX069684 for ; Fri, 7 Oct 2016 12:49:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver Date: Fri, 07 Oct 2016 12:49:56 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peixoto.cassiano@gmail.com 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: 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: Fri, 07 Oct 2016 12:49:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 Cassiano Peixoto changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peixoto.cassiano@gmail.com --- Comment #3 from Cassiano Peixoto --- It's the same issue that i have, look: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212413 It's not an igb issue but ALTQ issue. Seems nobody matters about this. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 15:05:00 2016 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 ADC00BEC500 for ; Fri, 7 Oct 2016 15:05:00 +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 9D953F03 for ; Fri, 7 Oct 2016 15:05:00 +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 u97F50ak065117 for ; Fri, 7 Oct 2016 15:05:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Fri, 07 Oct 2016 15:05:00 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dustinwenz@ebureau.com 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: short_desc 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, 07 Oct 2016 15:05:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 dustinwenz@ebureau.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Crash in IGB driver |Crash in IGB driver with | |ALTQ --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 15:08:50 2016 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 C54CEBEC63D for ; Fri, 7 Oct 2016 15:08:50 +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 B5031A6 for ; Fri, 7 Oct 2016 15:08:50 +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 u97F8oFL046000 for ; Fri, 7 Oct 2016 15:08:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Fri, 07 Oct 2016 15:08:51 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dustinwenz@ebureau.com 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: Fri, 07 Oct 2016 15:08:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #4 from dustinwenz@ebureau.com --- The ALTQ code in stable hasn't changed since the middle of April. Either AL= TQ is so underutilized that no one noticed a problem until recently, or a chan= ge in some other code has just created a conflict. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 15:09:56 2016 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 AC0B2BEC6E5 for ; Fri, 7 Oct 2016 15:09:56 +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 9BF3416C for ; Fri, 7 Oct 2016 15:09:56 +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 u97F9uF7095241 for ; Fri, 7 Oct 2016 15:09:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Fri, 07 Oct 2016 15:09:56 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dustinwenz@ebureau.com 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: Fri, 07 Oct 2016 15:09:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #5 from dustinwenz@ebureau.com --- Your crash looks like the same issue. Are you aware of any other reports of= it? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 7 17:12:56 2016 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 CDE6EBEDDF0 for ; Fri, 7 Oct 2016 17:12:56 +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 BDAC9A45 for ; Fri, 7 Oct 2016 17:12:56 +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 u97HCug7050508 for ; Fri, 7 Oct 2016 17:12:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Fri, 07 Oct 2016 17:12:57 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peixoto.cassiano@gmail.com 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: Fri, 07 Oct 2016 17:12:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #6 from Cassiano Peixoto --- (In reply to dustinwenz from comment #5) No, i'm not aware. But i'm quite sure the issue is when ALTQ is enabled on kernel config. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Oct 8 08:54:02 2016 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 5D80DBED803 for ; Sat, 8 Oct 2016 08:54:02 +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 4D3458F1 for ; Sat, 8 Oct 2016 08:54:02 +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 u988s1BZ024951 for ; Sat, 8 Oct 2016 08:54:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Sat, 08 Oct 2016 08:54:01 +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: 10.3-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mach@swishmail.com 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: 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: Sat, 08 Oct 2016 08:54:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #7 from mach@swishmail.com --- Created attachment 175525 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175525&action= =3Dedit FreeBSD 11-RELEASE-p1 kernel crash ALTQ/IGB FreeBSD 11-RELEASE-p1 kernel crash ALTQ/IGB Happens on all machines with IG= B, but doesn't with EM... However disabling ALTQ stops crashes on IGB machines. --=20 You are receiving this mail because: You are the assignee for the bug.=