From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 01:27:30 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 169D7106564A; Sun, 10 Apr 2011 01:27:30 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E1DDF8FC16; Sun, 10 Apr 2011 01:27:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3A1RTUU020419; Sun, 10 Apr 2011 01:27:29 GMT (envelope-from hrs@freefall.freebsd.org) Received: (from hrs@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3A1RTv7020415; Sun, 10 Apr 2011 01:27:29 GMT (envelope-from hrs) Date: Sun, 10 Apr 2011 01:27:29 GMT Message-Id: <201104100127.p3A1RTv7020415@freefall.freebsd.org> To: hrs@FreeBSD.org, freebsd-net@FreeBSD.org, hrs@FreeBSD.org From: hrs@FreeBSD.org Cc: Subject: Re: kern/156259: [ip6] [patch] IPv6 DNS autoconfiguration (RFC6106 RDNSS and DNSSL) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 01:27:30 -0000 Synopsis: [ip6] [patch] IPv6 DNS autoconfiguration (RFC6106 RDNSS and DNSSL) Responsible-Changed-From-To: freebsd-net->hrs Responsible-Changed-By: hrs Responsible-Changed-When: Sun Apr 10 01:27:13 UTC 2011 Responsible-Changed-Why: I'll take this. http://www.freebsd.org/cgi/query-pr.cgi?pr=156259 From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 09:00:45 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C711106564A for ; Sun, 10 Apr 2011 09:00:45 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 8F0B18FC0C for ; Sun, 10 Apr 2011 09:00:44 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:6870:e6ff:fe5a:3b4a] (unknown [IPv6:2a02:2928:a:ffff:6870:e6ff:fe5a:3b4a]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id C9F12239461 for ; Sun, 10 Apr 2011 11:00:42 +0200 (CEST) Message-ID: <4DA171BA.9000507@frasunek.com> Date: Sun, 10 Apr 2011 11:00:42 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> In-Reply-To: <4D9F6C71.1040209@frasunek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 09:00:45 -0000 W dniu 08.04.2011 22:13, Przemyslaw Frasunek pisze: > I'm still looking for a help in investigating this issue. The problem appears on > two 7.4 boxes, while 7.3 are working OK. Ktrace shows, that indeed some of > sendto() calls on netgraph control socket are failing with EPERM: [...] Eventually I found that this issue is related to mbuf exhaustion. In periods when sendto() fails with EPERM, the "requests for mbufs denied" counter is increasing and "ngctl list" also fails. Increasing kern.ipc.nmbclusters (which currently equals to 262140) doesn't seem to fix the problem. [root@lsm-gw /var/log]# ngctl list ngctl: send msg: Cannot allocate memory [root@lsm-gw /var/log]# netstat -m 2068/12317/14385 mbufs in use (current/cache/total) 2067/2325/4392/262140 mbuf clusters in use (current/cache/total/max) 6/694 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 4652K/7729K/12382K bytes allocated to network (current/cache/total) 3610/43753/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/34/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 13:49:30 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E504106566C; Sun, 10 Apr 2011 13:49:30 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D0E08FC0A; Sun, 10 Apr 2011 13:49:28 +0000 (UTC) Received: by fxm11 with SMTP id 11so4103069fxm.13 for ; Sun, 10 Apr 2011 06:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:sender:date:message-id :user-agent:mime-version:content-type; bh=A8AbZlXErhUkR3CJ9tvM7E+ym57qh4QgtDaLuEolnF8=; b=S4yWq4ArNiM9oGr/sfRxPriiM7zqWTwburLKcY+Efaqg+yDsb6cOjMX+QNvhIYRDZ6 bugvjP8IOlvQebfHkuXgbWY7CqDoZ3wTRzZzQM6BNtvuB9ElajJRBmnfr2/c6YnkVJ81 c6B8qlLdPokHpkRLRBJTHHt6+TTW5Pg1KO8RY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:sender:date:message-id:user-agent:mime-version :content-type; b=t5HBKb38Y/BIndp+u6Ihesg4ihxbXnaucXvSNB6hLtZt+ufjMEnNCqbYEktRAKK8CB UF+osZnduGSUD3a082zWc0dqFkyXRSMoUhWZsT7UYNrdu/BZq/jbaYPTuK9l2j4JsVUj LR9aJAGb0JI1n7i/5bgxJb3vU4XevZO2talgA= Received: by 10.223.102.80 with SMTP id f16mr4336639fao.33.1302443368299; Sun, 10 Apr 2011 06:49:28 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id j18sm243766faa.42.2011.04.10.06.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2011 06:49:27 -0700 (PDT) From: Mikolaj Golub To: Andrey Simonenko Sender: Mikolaj Golub Date: Sun, 10 Apr 2011 16:49:25 +0300 Message-ID: <86sjtqw716.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: Kostik Belousov , freebsd-net@freebsd.org, Pawel Jakub Dawidek , bug-followup@FreeBSD.org Subject: Re: kern/154504: [libc] recv(2): PF_LOCAL stream connection is stuck in sbwait when recv(MSG_WAITALL) is used X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 13:49:30 -0000 --=-=-= Hi, Does the attached patch fix the problem for you? -- Mikolaj Golub --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=uipc_socket.c.soreceive.patch Index: sys/kern/uipc_socket.c =================================================================== --- sys/kern/uipc_socket.c (revision 220485) +++ sys/kern/uipc_socket.c (working copy) @@ -1845,10 +1845,16 @@ dontblock: } SBLASTRECORDCHK(&so->so_rcv); SBLASTMBUFCHK(&so->so_rcv); - error = sbwait(&so->so_rcv); - if (error) { - SOCKBUF_UNLOCK(&so->so_rcv); - goto release; + /* + * We could receive some data while was notifying the + * the protocol. Skip blocking in this case. + */ + if (so->so_rcv.sb_mb == NULL) { + error = sbwait(&so->so_rcv); + if (error) { + SOCKBUF_UNLOCK(&so->so_rcv); + goto release; + } } m = so->so_rcv.sb_mb; if (m != NULL) --=-=-=-- From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 17:06:50 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 082BC106564A for ; Sun, 10 Apr 2011 17:06:50 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 51C508FC0C for ; Sun, 10 Apr 2011 17:06:48 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3AH6f2s046742; Mon, 11 Apr 2011 00:06:42 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA1E39C.9090300@rdtc.ru> Date: Mon, 11 Apr 2011 00:06:36 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> In-Reply-To: <4DA171BA.9000507@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 17:06:50 -0000 On 10.04.2011 16:00, Przemyslaw Frasunek wrote: > Eventually I found that this issue is related to mbuf exhaustion. In > periods when sendto() fails with EPERM, the "requests for mbufs denied" > counter is increasing and "ngctl list" also fails. > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. If you see non-zero values there, you need to increase netgraph memory limits net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. I use: net.graph.maxdata=65536 net.graph.maxalloc=65536 Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 19:46:38 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FB10106564A; Sun, 10 Apr 2011 19:46:38 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 17AA28FC0C; Sun, 10 Apr 2011 19:46:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3AJkbe3052236; Sun, 10 Apr 2011 19:46:37 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3AJkbrK052232; Sun, 10 Apr 2011 19:46:37 GMT (envelope-from linimon) Date: Sun, 10 Apr 2011 19:46:37 GMT Message-Id: <201104101946.p3AJkbrK052232@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/156317: [ip6] Wrong order of IPv6 NS DAD/MLD Report X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 19:46:38 -0000 Old Synopsis: Wrong order of IPv6 NS DAD/MLD Report New Synopsis: [ip6] Wrong order of IPv6 NS DAD/MLD Report Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sun Apr 10 19:46:09 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=156317 From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 20:45:14 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B4C01065670 for ; Sun, 10 Apr 2011 20:45:14 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE3B8FC1D for ; Sun, 10 Apr 2011 20:45:14 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:28ad:34ff:fe65:464f] (unknown [IPv6:2a02:2928:a:ffff:28ad:34ff:fe65:464f]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 5F5D223944A; Sun, 10 Apr 2011 22:45:13 +0200 (CEST) Message-ID: <4DA216D8.9090009@frasunek.com> Date: Sun, 10 Apr 2011 22:45:12 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Eugene Grosbein References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> In-Reply-To: <4DA1E39C.9090300@rdtc.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 20:45:14 -0000 > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. > If you see non-zero values there, you need to increase netgraph memory limits > net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. Thanks, indeed it helped a lot. I also noticed that other zones have non-zero failure counters: UMA Slabs: 64, 0, 2666, 1051, 128676, 127 128 Bucket: 524, 0, 1455, 316, 82489, 97401821 g_bio: 132, 0, 0, 3190, 11471737, 3 ata_request: 192, 0, 0, 1880, 2905852, 378 rtentry: 124, 0, 2513, 1765, 802803, 132 pffrent: 16, 5075, 175, 3073, 48983719, 6 pffrag: 48, 0, 39, 3081, 15699916, 216 I'm quite anxious about "ata_request" failures. From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 21:59:52 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF09106564A for ; Sun, 10 Apr 2011 21:59:52 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id C48148FC12 for ; Sun, 10 Apr 2011 21:59:51 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3ALxksE050947; Mon, 11 Apr 2011 04:59:46 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA2284D.2060804@rdtc.ru> Date: Mon, 11 Apr 2011 04:59:41 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA216D8.9090009@frasunek.com> In-Reply-To: <4DA216D8.9090009@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 21:59:52 -0000 On 11.04.2011 03:45, Przemyslaw Frasunek wrote: >> Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. >> If you see non-zero values there, you need to increase netgraph memory limits >> net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. > > Thanks, indeed it helped a lot. I also noticed that other zones have > non-zero failure counters: > > UMA Slabs: 64, 0, 2666, 1051, 128676, > 127 > 128 Bucket: 524, 0, 1455, 316, 82489, > 97401821 > g_bio: 132, 0, 0, 3190, 11471737, > 3 > ata_request: 192, 0, 0, 1880, 2905852, > 378 > rtentry: 124, 0, 2513, 1765, 802803, > 132 > pffrent: 16, 5075, 175, 3073, 48983719, > 6 > pffrag: 48, 0, 39, 3081, 15699916, > 216 > > I'm quite anxious about "ata_request" failures. In general, you should not worry about failures here - they are transient and normal. Afaik, that's only mpd that cannot gracefully recover from such errors (it should). So, increasing mentioned tunnables is only workaround from mpd's deficiency. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 22:31:26 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B057B1065674 for ; Sun, 10 Apr 2011 22:31:26 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 43E688FC13 for ; Sun, 10 Apr 2011 22:31:25 +0000 (UTC) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p3ALAG5T000482 for ; Mon, 11 Apr 2011 07:10:16 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p3ALADSi008406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 11 Apr 2011 07:10:14 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p3ALADIQ082495 for ; Mon, 11 Apr 2011 07:10:13 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p3ALADvk082494 for freebsd-net@freebsd.org; Mon, 11 Apr 2011 07:10:13 +1000 (EST) (envelope-from peter) Date: Mon, 11 Apr 2011 07:10:12 +1000 From: Peter Jeremy To: freebsd-net@freebsd.org Message-ID: <20110410211012.GA82480@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Diskless booting issues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:31:26 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable For various reasons, I occasionally boot my netbook as a diskless client of my main server (this is a quick/easy way to test upgrades without needing to install them). Since I still like to use it as a netbook in this mode (ie, wander around the house), I've run into a couple of issues that I haven't been able to resolve myself and would like some assistance with. I'm running FreeBSD-8.2 i386 from the beginning of March on an original Acer Aspire One. First problem: If it loses network connectivity (ie, I unplug the network cable) for more than a minute or so, it seems to lockup and need a hard reboot, even if the network is restored. I'm a bit vague on this because it's been running X on the occasions I've seen this and I just get a blank screen with no responsiveness from the keyboard and it isn't pingable, though the ethernet link light is on. Second problem: When running on the local SSD, I have lagg setup so it seamlessly switches between wired and wifi (this is really nice). Partially to resolve the above and partially to improve portability, I'd like to do the same when running diskless but can't work out how to make it work. The relevant bits of my native rc.conf look like: ifconfig_re0=3D"up" ifconfig_ath0=3D"ether XX:XX:XX:XX:XX:XX" wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"SYNCDHCP laggproto failover laggport re0 laggport wlan0" Gluing this in the diskless rc.conf gives me a hang during startup, as does changing 'SYNCDHCP' to 'inet MYHOST' and adding 'up'. Adding a 'set -x' to the startup shows that it executes: ifconfig lagg0 inet MYHOST laggproto failover laggport re0 laggport wlan0= up ifconfig lagg0 up and hangs at this point (though the kernel reports lagg0 up). ^T shows it in "connect" state. I've tried working through the commands manually and basically, any "disk" access after the first ifconfig above will hang. In diskless mode, re0 is "up" with the correct IP address when init(8) starts and I presume the kernel is getting upset at the IP address migrating from re0 to lagg0. I have considered trying to use lagg0 (made up only of re0) as the boot device but I can't work out how to achieve this (in particular, how to "up" re0 when that's not part of the diskless boot sequence). Does anyone have any suggestions? --=20 Peter Jeremy --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2iHLQACgkQ/opHv/APuIdoKACffQ1GjfBPhdE5H5AbJ8SaK4Qt zn4AnjMBGxz53Oh1AaB0o+IlF3BA+t2t =aM+j -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH-- From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 22:34:57 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1269106566C for ; Sun, 10 Apr 2011 22:34:57 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 717318FC12 for ; Sun, 10 Apr 2011 22:34:57 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:28ad:34ff:fe65:464f] (unknown [IPv6:2a02:2928:a:ffff:28ad:34ff:fe65:464f]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id A531923944A; Mon, 11 Apr 2011 00:34:56 +0200 (CEST) Message-ID: <4DA23090.8060206@frasunek.com> Date: Mon, 11 Apr 2011 00:34:56 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Eugene Grosbein References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> In-Reply-To: <4DA1E39C.9090300@rdtc.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:34:58 -0000 > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. > If you see non-zero values there, you need to increase netgraph memory limits > net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn't solved EPERM problems on netgraph control sockets. It is still appearing every few hours, but failure counters are zero: ITEM SIZE LIMIT USED FREE REQUESTS FAILURES NetGraph items: 36, 65598, 0, 1404, 52978, 0 NetGraph data items: 36, 65598, 0, 780, 2876420, 0 I also tried to increase kern.ipc.nmbclusters to 262140, but after that, mpd stopped accepting any connections - each failed with ENOBUFS. What is the upper limit of kernel memory usage? From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 22:45:42 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00C191065672; Sun, 10 Apr 2011 22:45:42 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CBEA78FC12; Sun, 10 Apr 2011 22:45:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3AMjfiW016579; Sun, 10 Apr 2011 22:45:41 GMT (envelope-from yongari@freefall.freebsd.org) Received: (from yongari@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3AMjf57016575; Sun, 10 Apr 2011 22:45:41 GMT (envelope-from yongari) Date: Sun, 10 Apr 2011 22:45:41 GMT Message-Id: <201104102245.p3AMjf57016575@freefall.freebsd.org> To: bergerkos@yahoo.co.uk, yongari@FreeBSD.org, freebsd-net@FreeBSD.org, yongari@FreeBSD.org From: yongari@FreeBSD.org Cc: Subject: Re: kern/156266: [re] if_re.ko driver cannot handle RL8169 card properly X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:45:42 -0000 Synopsis: [re] if_re.ko driver cannot handle RL8169 card properly State-Changed-From-To: open->feedback State-Changed-By: yongari State-Changed-When: Sun Apr 10 22:44:34 UTC 2011 State-Changed-Why: Completely remove vendor's driver, "rtl_bsd_drv_v179", and reboot and show me the full dmesg output as well as output of "ifconfig re0". Also show me the output of "pciconf -lcbv". Responsible-Changed-From-To: freebsd-net->yongari Responsible-Changed-By: yongari Responsible-Changed-When: Sun Apr 10 22:44:34 UTC 2011 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=156266 From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 22:55:16 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 384F1106566B; Sun, 10 Apr 2011 22:55:16 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 108438FC12; Sun, 10 Apr 2011 22:55:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3AMtFS3025337; Sun, 10 Apr 2011 22:55:15 GMT (envelope-from yongari@freefall.freebsd.org) Received: (from yongari@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3AMtF3t025333; Sun, 10 Apr 2011 22:55:15 GMT (envelope-from yongari) Date: Sun, 10 Apr 2011 22:55:15 GMT Message-Id: <201104102255.p3AMtF3t025333@freefall.freebsd.org> To: pluknet@gmail.com, yongari@FreeBSD.org, freebsd-net@FreeBSD.org From: yongari@FreeBSD.org Cc: Subject: Re: kern/156026: [bce] [panic] arpintr()->in_lltable_lookup() 8.1 bce(4) crash X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:55:16 -0000 Synopsis: [bce] [panic] arpintr()->in_lltable_lookup() 8.1 bce(4) crash State-Changed-From-To: open->feedback State-Changed-By: yongari State-Changed-When: Sun Apr 10 22:54:34 UTC 2011 State-Changed-Why: I think it's not a bug of bce(4) but arp(4) and I guess it was fixed in 8.2-RELEASE. Can you reproduce the issue on 8.2-RELEASE or latest stable/8? http://www.freebsd.org/cgi/query-pr.cgi?pr=156026 From owner-freebsd-net@FreeBSD.ORG Sun Apr 10 22:55:39 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC5C11065672; Sun, 10 Apr 2011 22:55:39 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C42E48FC1B; Sun, 10 Apr 2011 22:55:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3AMtdk2025383; Sun, 10 Apr 2011 22:55:39 GMT (envelope-from yongari@freefall.freebsd.org) Received: (from yongari@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3AMtddp025379; Sun, 10 Apr 2011 22:55:39 GMT (envelope-from yongari) Date: Sun, 10 Apr 2011 22:55:39 GMT Message-Id: <201104102255.p3AMtddp025379@freefall.freebsd.org> To: yongari@FreeBSD.org, freebsd-net@FreeBSD.org, yongari@FreeBSD.org From: yongari@FreeBSD.org Cc: Subject: Re: kern/156026: [bce] [panic] arpintr()->in_lltable_lookup() 8.1 bce(4) crash X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 22:55:40 -0000 Synopsis: [bce] [panic] arpintr()->in_lltable_lookup() 8.1 bce(4) crash Responsible-Changed-From-To: freebsd-net->yongari Responsible-Changed-By: yongari Responsible-Changed-When: Sun Apr 10 22:55:25 UTC 2011 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=156026 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 02:48:26 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7198F1065672 for ; Mon, 11 Apr 2011 02:48:26 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 42CBC8FC20 for ; Mon, 11 Apr 2011 02:48:26 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by hub.org (Postfix) with ESMTP id 0BC023250A8B for ; Sun, 10 Apr 2011 23:48:24 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 72925-10 for ; Mon, 11 Apr 2011 02:48:23 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id CB7DD3250A87; Sun, 10 Apr 2011 23:48:23 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id C2BAC3250A81 for ; Sun, 10 Apr 2011 23:48:23 -0300 (ADT) Date: Sun, 10 Apr 2011 23:48:23 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-net@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: One final question about NFS ... or so I hope ... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 02:48:26 -0000 It used to be that if you did a 'mount' on the client server, it would tell you what options existed on the mount ... but now, it just shows (nfs) ... my fstab entry looks like: 192.168.1.8:/vm/neptune.hub.org /vm/neptune.hub.org nfs rw,noauto,intr,tcp,nolockd 0 0 Mounts fine, no errors, and postfix works, so that I know that nolockd option is working as expected ... but when I type 'mount', I get: 192.168.1.8:/vm/neptune.hub.org on /vm/neptune.hub.org (nfs) If I do 'mount -p' (fstab output), I get: # mount -p | grep 192.168 192.168.1.8:/vm/neptune.hub.org /vm/neptune.hub.org nfs rw 0 0 So, how do I view what options are present on a FreeBSD nfs mount? I checked our Linux boxes at the office, and they definitely do show the mount options: 3.165:/vol/prd_db_logs/filer_log2 on /filer_log02 type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,nfsvers=3,timeo=600,addr=10.1.13.165) I've checked the 'SEE ALSO' in both the 7.x and 8.x man page, to make sure it wasn't some other command I should be running, and nadda ... So, do we *really* hide this information, or am I missing a command? ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. scrappy@hub.org http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 04:19:52 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AD8C106564A for ; Mon, 11 Apr 2011 04:19:52 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id ED0AC8FC08 for ; Mon, 11 Apr 2011 04:19:51 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3B4Jk0Y052704; Mon, 11 Apr 2011 11:19:46 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA2815D.3090807@rdtc.ru> Date: Mon, 11 Apr 2011 11:19:41 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> In-Reply-To: <4DA23090.8060206@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 04:19:52 -0000 On 11.04.2011 05:34, Przemyslaw Frasunek wrote: >> Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. >> If you see non-zero values there, you need to increase netgraph memory limits >> net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. > > Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn't > solved EPERM problems on netgraph control sockets. It is still appearing > every few hours, but failure counters are zero: > > ITEM SIZE LIMIT USED FREE REQUESTS > FAILURES > NetGraph items: 36, 65598, 0, 1404, 52978, > 0 > NetGraph data items: 36, 65598, 0, 780, 2876420, > 0 > > I also tried to increase kern.ipc.nmbclusters to 262140, but after that, > mpd stopped accepting any connections - each failed with ENOBUFS. > > What is the upper limit of kernel memory usage? It depends on your FreeBSD version (arch is significant too) and physical RAM size. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 05:07:55 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D28A106566C for ; Mon, 11 Apr 2011 05:07:55 +0000 (UTC) (envelope-from fjcosta@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 10A7E8FC08 for ; Mon, 11 Apr 2011 05:07:54 +0000 (UTC) Received: by fxm11 with SMTP id 11so4434467fxm.13 for ; Sun, 10 Apr 2011 22:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mZKwLC7i1CEizjYqt7kswXxPdW7iqGelp+WpifA17oo=; b=Isf8vmyt9aCg9ybTpt9G/YbKc4W5Nf03N3pZdATDdNYg3O/Sierr8v+wsTEX0sHd8B GouIJUrtw++M8QxmstAnV21/MyWfF+J6dymhg6i915dqnQhaqH6sgo6SD2F2K1xhcwCx SO2abb0d9kHlZrJQG1ahn6YtX4xCUpFz/auOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UVatFbZ0oZ9mZN1TZ397E5VC3K0Y1OMgKLNxsdu7llarQav0T5le1Omu4MHkeug55W hNs8JMqJ5XfJ6k/58DgDXurXpooM2KA/byxa+EU/FOrWAhUvX9eUBbCXS86fc5iGjEOI SM64iI87QDNHi4vS8crgX+aJUot9KDNmki1zk= MIME-Version: 1.0 Received: by 10.223.77.71 with SMTP id f7mr2100906fak.141.1302496636287; Sun, 10 Apr 2011 21:37:16 -0700 (PDT) Received: by 10.223.102.68 with HTTP; Sun, 10 Apr 2011 21:37:16 -0700 (PDT) In-Reply-To: <4D9EFDD3.7070009@rdtc.ru> References: <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D309983.70709@rdtc.ru> <201101141437.55421.jhb@freebsd.org> <4D9DA940.4090804@rdtc.ru> <4D9EE3D1.5030608@frasunek.com> <4D9EFDD3.7070009@rdtc.ru> Date: Mon, 11 Apr 2011 01:37:16 -0300 Message-ID: From: =?UTF-8?Q?Fl=C3=A1vio?= To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: panic: bufwrite: buffer is not busy??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 05:07:55 -0000 I'm having some random panics in HEAD related to mpd/netgraph also. I thought it would be good to use this thread instead of opening another one. I felt that Glebius patches helped my boxes (500~600 PPPoE connections peak) panic less frequently than before, but they still are panicing randomly. Some patch between 02/04 and 09/09 fixed core dumps so now I can provide real info on those panics: 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 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x24c fault code = supervisor read, page not present instruction pointer = 0x20:0xc0793460 stack pointer = 0x28:0xe0f847e4 frame pointer = 0x28:0xe0f84800 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 24589 (mpd5) trap number = 12 panic: page fault cpuid = 1 Uptime: 1d21h4m36s Physical memory: 3827 MB Dumping 269 MB: 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 #0 doadump () at pcpu.h:244 244 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:244 #1 0xc06d0513 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc06d0778 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:591 #3 0xc09738fc in trap_fatal (frame=0xe0f847a4, eva=588) at /usr/src/sys/i386/i386/trap.c:967 #4 0xc0973b50 in trap_pfault (frame=0xe0f847a4, usermode=0, eva=588) at /usr/src/sys/i386/i386/trap.c:880 #5 0xc0974019 in trap (frame=0xe0f847a4) at /usr/src/sys/i386/i386/trap.c:555 #6 0xc095dbbc in calltrap () at /usr/src/sys/i386/i386/exception.s:168 #7 0xc0793460 in ng_ID2noderef (ID=337310) at /usr/src/sys/netgraph/ng_base.c:811 #8 0xc0793c9e in ng_name2noderef (here=0xc80e1280, name=0xe0f8485c "[5259e]") at /usr/src/sys/netgraph/ng_base.c:896 #9 0xc0793fd8 in ng_path2noderef (here=0xc80e1280, address=0xcda715a0 "[5259e]:", destp=0xe0f84a88, lasthook=0xe0f84a84) at /usr/src/sys/netgraph/ng_base.c:1674 #10 0xc07944f0 in ng_address_path (here=0xc80e1280, item=0xc7cbebc0, address=0xcda715a0 "[5259e]:", retaddr=0) at /usr/src/sys/netgraph/ng_base.c:3532 #11 0xc07a52e9 in ngc_send (so=0xc8136340, flags=0, m=0xce215e00, addr=0xcdb51610, control=0x0, td=0xc7cafb80) at /usr/src/sys/netgraph/ng_socket.c:296 #12 0xc07362ba in sosend_generic (so=0xc8136340, addr=0xcdb51610, uio=0xe0f84bb8, top=0xce215e00, control=0x0, flags=0, td=0xc7cafb80) at /usr/src/sys/kern/uipc_socket.c:1301 #13 0xc0731b2f in sosend (so=0xc8136340, addr=0xcdb51610, uio=0xe0f84bb8, top=0x0, control=0x0, flags=0, td=0xc7cafb80) at /usr/src/sys/kern/uipc_socket.c:1345 #14 0xc0738f20 in kern_sendit (td=0xc7cafb80, s=15, mp=0xe0f84c2c, flags=0, control=0x0, segflg=UIO_USERSPACE) at /usr/src/sys/kern/uipc_syscalls.c:781 #15 0xc0739151 in sendit (td=0xc7cafb80, s=15, mp=0xe0f84c2c, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:717 #16 0xc0739268 in sendto (td=0xc7cafb80, uap=0xe0f84cec) at /usr/src/sys/kern/uipc_syscalls.c:833 #17 0xc070f6e8 in syscallenter (td=0xc7cafb80, sa=0xe0f84ce4) at /usr/src/sys/kern/subr_trap.c:344 #18 0xc0973ba4 in syscall (frame=0xe0f84d28) at /usr/src/sys/i386/i386/trap.c:1082 #19 0xc095dc21 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:266 #20 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) * $FreeBSD: src/sys/netgraph/ng_base.c,v 1.185 2011/03/21 14:18:40 glebius Exp $ Grammar corrections are welcome. Thanks. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 05:49:35 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35FB11065673 for ; Mon, 11 Apr 2011 05:49:35 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id B67788FC19 for ; Mon, 11 Apr 2011 05:49:34 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.4/8.14.4) with ESMTP id p3B5nWut058945; Mon, 11 Apr 2011 09:49:32 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.4/8.14.4/Submit) id p3B5nWZS058944; Mon, 11 Apr 2011 09:49:32 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 11 Apr 2011 09:49:32 +0400 From: Gleb Smirnoff To: Przemyslaw Frasunek Message-ID: <20110411054932.GU84445@FreeBSD.org> References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4DA23090.8060206@frasunek.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@FreeBSD.org, Eugene Grosbein Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 05:49:35 -0000 On Mon, Apr 11, 2011 at 12:34:56AM +0200, Przemyslaw Frasunek wrote: P> > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. P> > If you see non-zero values there, you need to increase netgraph memory limits P> > net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. P> P> Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn't P> solved EPERM problems on netgraph control sockets. It is still appearing P> every few hours, but failure counters are zero: IMO, any kind of memory allocation code (malloc, uma, netgraph item allocator) never return EPERM, they return ENOMEM or ENOBUFS. So, there is a bug somewhere else. -- Totus tuus, Glebius. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 06:54:33 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B161106564A; Mon, 11 Apr 2011 06:54:33 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id D86A58FC1D; Mon, 11 Apr 2011 06:54:32 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:965:9c23:fece:cec1] (unknown [IPv6:2a02:2928:a:ffff:965:9c23:fece:cec1]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id EE91C23944A; Mon, 11 Apr 2011 08:54:31 +0200 (CEST) Message-ID: <4DA2A5AA.4060802@frasunek.com> Date: Mon, 11 Apr 2011 08:54:34 +0200 From: Przemyslaw Frasunek Organization: frasunek.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Gleb Smirnoff , Eugene Grosbein , freebsd-net@freebsd.org References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> In-Reply-To: <20110411054932.GU84445@FreeBSD.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 06:54:33 -0000 > IMO, any kind of memory allocation code (malloc, uma, netgraph item > allocator) never return EPERM, they return ENOMEM or ENOBUFS. > > So, there is a bug somewhere else. I think so, but for me it still looks like resource shortage. As I wrote before, when EPERM starts appearing, I'm unable to run "ngctl list". I observed that on mpd boxes I have very large number of failed allocations from zone "128 Bucket". On other boxes with the same release (7.4) and the same amount of physical memory (2 GB), but without mpd5, this value is almost zero. Also other zones has non-zero number of failures: [root@kalina-gw ~]# vmstat -z | grep -v ' 0$' ITEM SIZE LIMIT USED FREE REQUESTS FAILURES UMA Slabs: 64, 0, 3172, 427, 9555, 21 64 Bucket: 268, 0, 199, 39, 467, 45 128 Bucket: 524, 0, 558, 121, 13258, 64298286 64: 64, 0, 18525, 1889, 328077543, 8 128: 128, 0, 16822, 1538, 1718123, 31 mbuf: 256, 0, 3, 7130, 282690299, 65 udp_inpcb: 180, 25608, 348, 554, 5052711, 3 (above is on mpd box after 8 hours of uptime) [root@pkp-gw ~]# vmstat -z | grep -v ' 0$' ITEM SIZE LIMIT USED FREE REQUESTS FAILURES 64 Bucket: 268, 0, 193, 87, 514, 53 128 Bucket: 524, 0, 7621, 2, 3003617, 1225 pfsrctrpl: 124, 10013, 0, 1426, 14172484, 2979678 (and this is on non-mpd box after 355 days of uptime) I'm going to try to track down origin of EPERMs by adding some debug printfs in netgraph code. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 07:21:41 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E0A106566C; Mon, 11 Apr 2011 07:21:41 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 89EDC8FC14; Mon, 11 Apr 2011 07:21:40 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3B7LZYU054414; Mon, 11 Apr 2011 14:21:35 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA2ABFA.7030108@rdtc.ru> Date: Mon, 11 Apr 2011 14:21:30 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> In-Reply-To: <4DA2A5AA.4060802@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Gleb Smirnoff Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 07:21:41 -0000 On 11.04.2011 13:54, Przemyslaw Frasunek wrote: >> IMO, any kind of memory allocation code (malloc, uma, netgraph item >> allocator) never return EPERM, they return ENOMEM or ENOBUFS. >> >> So, there is a bug somewhere else. > > I think so, but for me it still looks like resource shortage. As I wrote > before, when EPERM starts appearing, I'm unable to run "ngctl list". Increase sysctl kern.ipc.maxsockbuf. I was forced to rise it upto 80MB (sic!) as 8MB was not enough to me. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 07:56:29 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7953B106564A for ; Mon, 11 Apr 2011 07:56:29 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id F37098FC0A for ; Mon, 11 Apr 2011 07:56:28 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.4/8.14.4) with ESMTP id p3B7uRof059889; Mon, 11 Apr 2011 11:56:27 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.4/8.14.4/Submit) id p3B7uQpE059888; Mon, 11 Apr 2011 11:56:26 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 11 Apr 2011 11:56:26 +0400 From: Gleb Smirnoff To: Eugene Grosbein Message-ID: <20110411075626.GV84445@glebius.int.ru> References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4DA2ABFA.7030108@rdtc.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@FreeBSD.org, Przemyslaw Frasunek Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 07:56:29 -0000 On Mon, Apr 11, 2011 at 02:21:30PM +0700, Eugene Grosbein wrote: E> On 11.04.2011 13:54, Przemyslaw Frasunek wrote: E> >> IMO, any kind of memory allocation code (malloc, uma, netgraph item E> >> allocator) never return EPERM, they return ENOMEM or ENOBUFS. E> >> E> >> So, there is a bug somewhere else. E> > E> > I think so, but for me it still looks like resource shortage. As I wrote E> > before, when EPERM starts appearing, I'm unable to run "ngctl list". E> E> Increase sysctl kern.ipc.maxsockbuf. E> I was forced to rise it upto 80MB (sic!) as 8MB was not enough to me. Ah, I found where EPERM comes from. Will fix it soon. -- Totus tuus, Glebius. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 08:09:08 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAFA2106566C for ; Mon, 11 Apr 2011 08:09:08 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6B98FC12 for ; Mon, 11 Apr 2011 08:09:08 +0000 (UTC) Received: by qyk35 with SMTP id 35so1010706qyk.13 for ; Mon, 11 Apr 2011 01:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2clK9NqOFlLrVYLXTZcjIyyCzE/yMnnMERXUsyxkGF0=; b=CD52nRQgJmyfbo+6A3eVhZxBwryJGKeAa46H9PeCAQq75F/1w5o4amRNYj7Q2scg7v S2XJ6p/YeJgJ1nFVL2emfHT7Nh5S9YcvLBM6LdfiLZzfjalX9yNoNNSfnHZIB0yF9k/F Jb60rowavkZFjwFlxfr040efXuS474HSxwfJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KjvRp88JfPbInnwRrqfJo3H8wnr4np4uFkp9kgrcmaYVnpaHMzLMYT2Q+rR2Ey3dc4 yYG7srV9G1zxh+LnZ5aY8Ny7HrGvpu8H4O9u/5F/rRptShU08LoQVIOp4P2igBMqsqwU dPVpqQau9pBCcAdiUekfDEYQnXWAeSFja72/Q= MIME-Version: 1.0 Received: by 10.224.75.73 with SMTP id x9mr3831053qaj.244.1302509347741; Mon, 11 Apr 2011 01:09:07 -0700 (PDT) Received: by 10.229.212.9 with HTTP; Mon, 11 Apr 2011 01:09:07 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Apr 2011 10:09:07 +0200 Message-ID: From: Dominique Goncalves To: Ingo Flaschberger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Sergey Kandaurov Subject: Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 08:09:09 -0000 Hi, 2011/4/8 Ingo Flaschberger : > Hi, > >>> # ifconfig vlan5 create >>> # ifconfig vlan5 192.168.13.16/32 >>> # ifconfig vlan5 down >>> # ifconfig vlan5 up >> >> Ok, I reproduced the error and I just submitted a problem report >> =A0PR/156278 > > can you check if this patch helps: > kern/150481 Yes, with patch applied no more error. Apparently, it was not commited to -STABLE. Regards. > > Kind regards, > =A0 =A0 =A0 =A0Ingo Flaschberger > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 08:18:48 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F020106564A for ; Mon, 11 Apr 2011 08:18:48 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 105F98FC18 for ; Mon, 11 Apr 2011 08:18:47 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.4/8.14.4) with ESMTP id p3B8Ik1U060147; Mon, 11 Apr 2011 12:18:46 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.4/8.14.4/Submit) id p3B8Ij09060146; Mon, 11 Apr 2011 12:18:45 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 11 Apr 2011 12:18:45 +0400 From: Gleb Smirnoff To: Eugene Grosbein Message-ID: <20110411081845.GW84445@FreeBSD.org> References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> <20110411075626.GV84445@glebius.int.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20110411075626.GV84445@glebius.int.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@FreeBSD.org, Przemyslaw Frasunek Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 08:18:48 -0000 On Mon, Apr 11, 2011 at 11:56:26AM +0400, Gleb Smirnoff wrote: T> On Mon, Apr 11, 2011 at 02:21:30PM +0700, Eugene Grosbein wrote: T> E> On 11.04.2011 13:54, Przemyslaw Frasunek wrote: T> E> >> IMO, any kind of memory allocation code (malloc, uma, netgraph item T> E> >> allocator) never return EPERM, they return ENOMEM or ENOBUFS. T> E> >> T> E> >> So, there is a bug somewhere else. T> E> > T> E> > I think so, but for me it still looks like resource shortage. As I wrote T> E> > before, when EPERM starts appearing, I'm unable to run "ngctl list". T> E> T> E> Increase sysctl kern.ipc.maxsockbuf. T> E> I was forced to rise it upto 80MB (sic!) as 8MB was not enough to me. T> T> Ah, I found where EPERM comes from. Will fix it soon. Sorry, I was wrong :( -- Totus tuus, Glebius. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 10:51:06 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63AF0106564A; Mon, 11 Apr 2011 10:51:06 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id E58238FC15; Mon, 11 Apr 2011 10:51:05 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:b19d:9072:1765:d55d] (unknown [IPv6:2a02:2928:a:ffff:b19d:9072:1765:d55d]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 470CF23944A; Mon, 11 Apr 2011 12:51:04 +0200 (CEST) Message-ID: <4DA2DD17.6020702@frasunek.com> Date: Mon, 11 Apr 2011 12:51:03 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Eugene Grosbein References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> In-Reply-To: <4DA2ABFA.7030108@rdtc.ru> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Gleb Smirnoff Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 10:51:06 -0000 > Increase sysctl kern.ipc.maxsockbuf. > I was forced to rise it upto 80MB (sic!) as 8MB was not enough to me. Yay, things are getting worse. Increasing maxsockbuf caused crash after 2-3 hours. There was no crashdump and the last thing in log was: Apr 11 12:32:40 lsm-gw kernel: ad4: FAILURE - out of memory in start Apr 11 12:33:00 lsm-gw last message repeated 125 times I suppose, I'm hitting some kind of kernel memory limit, maybe because of leak. Any ideas, how can I track it down? From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:07:06 2011 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F97B106564A for ; Mon, 11 Apr 2011 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7D38FC23 for ; Mon, 11 Apr 2011 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BB762N025942 for ; Mon, 11 Apr 2011 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BB75qF025940 for freebsd-net@FreeBSD.org; Mon, 11 Apr 2011 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Apr 2011 11:07:05 GMT Message-Id: <201104111107.p3BB75qF025940@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156317 net [ip6] Wrong order of IPv6 NS DAD/MLD Report o kern/156283 net [ip6] [patch] nd6_ns_input - rtalloc_mpath does not re o kern/156279 net [if_bridge][divert][ipfw] unable to correctly re-injec o kern/156278 net [vlan] ifa_add_loopback_route: insertion failed with i o kern/156226 net [lagg]: failover does not announce the failover to swi o kern/156030 net [ip6] [panic] Crash in nd6_dad_start() due to null ptr o kern/155988 net [arp] [panic] RADIX_NODE_HEAD_LOCK_ASSERT in rtexpunge o kern/155772 net ifconfig(8): ioctl (SIOCAIFADDR): File exists on direc o kern/155680 net [multicast] problems with multicast s kern/155642 net [request] Add driver for Realtek RTL8191SE/RTL8192SE W o kern/155636 net [msk] msk driver locks marvel yukon 88E8057 NIC o kern/155604 net [flowtable] Flowtable excessively caches dest MAC addr o kern/155597 net [panic] Kernel panics with "sbdrop" message o kern/155585 net [tcp] [panic] tcp_output tcp_mtudisc loop until kernel o kern/155498 net [ral] ral(4) needs to be resynced with OpenBSD's to ga o kern/155420 net [vlan] adding vlan break existent vlan o bin/155365 net [routed] [patch] if.c in routed fails to compile if ti o kern/155177 net [route] [panic] Panic when inject routes in kernel o kern/155030 net [igb] igb(4) DEVICE_POLLING does not work with carp(4) o kern/155010 net [msk] ntfs-3g via iscsi using msk driver cause kernel o kern/155004 net [bce] [panic] kernel panic in bce0 driver o kern/154943 net [gif] ifconfig gifX create on existing gifX clears IP s kern/154851 net [request]: Port brcm80211 driver from Linux to FreeBSD o kern/154850 net [netgraph] [patch] ng_ether fails to name nodes when t o kern/154831 net [arp] [patch] arp sysctl setting log_arp_permanent_mod o kern/154679 net [em] Fatal trap 12: "em1 taskq" only at startup (8.1-R o kern/154676 net [netgraph] [panic] HEAD, 8.1-RELEASE panic after some o kern/154600 net [tcp] [panic] Random kernel panics on tcp_output o kern/154567 net [ath] ath(4) lot of bad series(0) o kern/154557 net [tcp] Freeze tcp-session of the clients, if in the gat o kern/154443 net [if_bridge] Kernel module bridgestp.ko missing after u o kern/154286 net [netgraph] [panic] 8.2-PRERELEASE panic in netgraph o kern/154284 net [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154255 net [nfs] NFS not responding o kern/154214 net [stf] [panic] Panic when creating stf interface o kern/154185 net race condition in mb_dupcl o kern/154169 net [multicast] [ip6] Node Information Query multicast add o kern/154134 net [ip6] stuck kernel state in LISTEN on ipv6 daemon whic o kern/154091 net [netgraph] [panic] netgraph, unaligned mbuf? o conf/154062 net [vlan] [patch] change to way of auto-generatation of v o kern/153937 net [ral] ralink panics the system (amd64 freeBSDD 8.X) wh o kern/153936 net [ixgbe] [patch] MPRC workaround incorrectly applied to o kern/153816 net [ixgbe] ixgbe doesn't work properly with the Intel 10g o kern/153772 net [ixgbe] [patch] sysctls reference wrong XON/XOFF varia o kern/153671 net [em] [panic] 8.2-PRERELEASE repeatable kernel in if_em o kern/153497 net [netgraph] netgraph panic due to race conditions o kern/153454 net [patch] [wlan] [urtw] Support ad-hoc and hostap modes o kern/153308 net [em] em interface use 100% cpu o kern/153255 net [panic] 8.2-PRERELEASE repeatable kernel panic under h o kern/153244 net [em] em(4) fails to send UDP to port 0xffff o kern/152893 net [netgraph] [panic] 8.2-PRERELEASE panic in netgraph o kern/152853 net [em] tftpd (and likely other udp traffic) fails over e o kern/152828 net [em] poor performance on 8.1, 8.2-PRE o kern/152569 net [net]: Multiple ppp connections and routing table prob o kern/152360 net [dummynet] [panic] Crash related to dummynet. o kern/152235 net [arp] Permanent local ARP entries are not properly upd o kern/152141 net [vlan] [patch] encapsulate vlan in ng_ether before out o kern/151690 net [ep] network connectivity won't work until dhclient is o kern/151681 net [nfs] NFS mount via IPv6 leads to hang on client with o kern/151593 net [igb] [panic] Kernel panic when bringing up igb networ o kern/150920 net [ixgbe][igb] Panic when packets are dropped with heade o bin/150642 net netstat(1) doesn't print anything for SCTP sockets o kern/150557 net [igb] igb0: Watchdog timeout -- resetting o kern/150251 net [patch] [ixgbe] Late cable insertion broken o kern/150249 net [ixgbe] Media type detection broken o bin/150224 net ppp(8) does not reassign static IP after kill -KILL co f kern/149969 net [wlan] [ral] ralink rt2661 fails to maintain connectio o kern/149937 net [ipfilter] [patch] kernel panic in ipfilter IP fragmen o kern/149786 net [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149643 net [rum] device not sending proper beacon frames in ap mo o kern/149609 net [panic] reboot after adding second default route o kern/149539 net [ath] atheros ar9287 is not supported by ath_hal o kern/149516 net [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 net [realtek/atheros]: None of my network card working o kern/149307 net [ath] Doesn't work Atheros 9285 o kern/149306 net [alc] Doesn't work Atheros AR8131 PCIe Gigabit Etherne o kern/149117 net [inet] [patch] in_pcbbind: redundant test o kern/149086 net [multicast] Generic multicast join failure in 8.1 o kern/148322 net [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 net [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148078 net [ath] wireless networking stops functioning o kern/148018 net [flowtable] flowtable crashes on ia64 o kern/147912 net [boot] FreeBSD 8 Beta won't boot on Thinkpad i1300 11 o kern/147894 net [ipsec] IPv6-in-IPv4 does not work inside an ESP-only o kern/147155 net [ip6] setfb not work with ipv6 o kern/146845 net [libc] close(2) returns error 54 (connection reset by f kern/146792 net [flowtable] flowcleaner 100% cpu's core load o kern/146719 net [pf] [panic] PF or dumynet kernel panic o kern/146534 net [icmp6] wrong source address in echo reply o kern/146427 net [mwl] Additional virtual access points don't work on m o kern/146426 net [mwl] 802.11n rates not possible on mwl o kern/146425 net [mwl] mwl dropping all packets during and after high u f kern/146394 net [vlan] IP source address for outgoing connections o bin/146377 net [ppp] [tun] Interface doesn't clear addresses when PPP o kern/146358 net [vlan] wrong destination MAC address o kern/146165 net [wlan] [panic] Setting bssid in adhoc mode causes pani o kern/146082 net [ng_l2tp] a false invaliant check was performed in ng_ o kern/146037 net [panic] mpd + CoA = kernel panic o bin/145934 net [patch] add count option to netstat(1) o kern/145826 net [ath] Unable to configure adhoc mode on ath0/wlan0 o kern/145825 net [panic] panic: soabort: so_count o kern/145728 net [lagg] Stops working lagg between two servers. o kern/144987 net [wpi] [panic] injecting packets with wlaninject using f kern/144917 net [flowtable] [panic] flowtable crashes system [regressi o kern/144882 net MacBookPro =>4.1 does not connect to BSD in hostap wit o kern/144874 net [if_bridge] [patch] if_bridge frees mbuf after pfil ho o conf/144700 net [rc.d] async dhclient breaks stuff for too many people o kern/144642 net [rum] [panic] Enabling rum interface causes panic o kern/144616 net [nat] [panic] ip_nat panic FreeBSD 7.2 o kern/144572 net [carp] CARP preemption mode traffic partially goes to f kern/144315 net [ipfw] [panic] freebsd 8-stable reboot after add ipfw o kern/144231 net bind/connect/sendto too strict about sockaddr length o kern/143939 net [ipfw] [em] ipfw nat and em interface rxcsum problem o kern/143874 net [wpi] Wireless 3945ABG error. wpi0 could not allocate o kern/143868 net [ath] [patch] [request] allow Atheros watchdog timeout o kern/143846 net [gif] bringing gif3 tunnel down causes gif0 tunnel to s kern/143673 net [stf] [request] there should be a way to support multi s kern/143666 net [ip6] [request] PMTU black hole detection not implemen o kern/143622 net [pfil] [patch] unlock pfil lock while calling firewall o kern/143593 net [ipsec] When using IPSec, tcpdump doesn't show outgoin o kern/143591 net [ral] RT2561C-based DLink card (DWL-510) fails to work o kern/143208 net [ipsec] [gif] IPSec over gif interface not working o conf/143079 net hostapd(8) startup missing multi wlan functionality o kern/143034 net [panic] system reboots itself in tcp code [regression] o kern/142877 net [hang] network-related repeatable 8.0-STABLE hard hang o kern/142774 net Problem with outgoing connections on interface with mu o kern/142772 net [libc] lla_lookup: new lle malloc failed o kern/142018 net [iwi] [patch] Possibly wrong interpretation of beacon- o kern/141861 net [wi] data garbled with WEP and wi(4) with Prism 2.5 f kern/141741 net Etherlink III NIC won't work after upgrade to FBSD 8, o kern/141023 net [carp] CARP arp replays with wrong src mac o kern/140796 net [ath] [panic] privileged instruction fault o kern/140742 net rum(4) Two asus-WL167G adapters cannot talk to each ot o kern/140682 net [netgraph] [panic] random panic in netgraph o kern/140634 net [vlan] destroying if_lagg interface with if_vlan membe o kern/140619 net [ifnet] [patch] refine obsolete if_var.h comments desc o kern/140346 net [wlan] High bandwidth use causes loss of wlan connecti o kern/140245 net [ath] [panic] Kernel panic during network activity on o kern/140142 net [ip6] [panic] FreeBSD 7.2-amd64 panic w/IPv6 o kern/140066 net [bwi] install report for 8.0 RC 2 (multiple problems) o kern/139565 net [ipfilter] ipfilter ioctl SIOCDELST broken o kern/139387 net [ipsec] Wrong lenth of PF_KEY messages in promiscuous o bin/139346 net [patch] arp(8) add option to remove static entries lis o kern/139268 net [if_bridge] [patch] allow if_bridge to forward just VL p kern/139204 net [arp] DHCP server replies rejected, ARP entry lost bef o kern/139117 net [lagg] + wlan boot timing (EBUSY) o kern/139058 net [ipfilter] mbuf cluster leak on FreeBSD 7.2 o kern/138850 net [dummynet] dummynet doesn't work correctly on a bridge o kern/138782 net [panic] sbflush_internal: cc 0 || mb 0xffffff004127b00 o kern/138688 net [rum] possibly broken on 8 Beta 4 amd64: able to wpa a o kern/138678 net [lo] FreeBSD does not assign linklocal address to loop o kern/138620 net [lagg] [patch] lagg port bpf-writes blocked o kern/138407 net [gre] gre(4) interface does not come up after reboot o kern/138332 net [tun] [lor] ifconfig tun0 destroy causes LOR if_adata/ o kern/138266 net [panic] kernel panic when udp benchmark test used as r o kern/138177 net [ipfilter] FreeBSD crashing repeatedly in ip_nat.c:257 o kern/137881 net [netgraph] [panic] ng_pppoe fatal trap 12 o bin/137841 net [patch] wpa_supplicant(8) cannot verify SHA256 signed p kern/137776 net [rum] panic in rum(4) driver on 8.0-BETA2 o bin/137641 net ifconfig(8): various problems with "vlan_device.vlan_i o kern/137592 net [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o bin/137484 net [patch] Integer overflow in wpa_supplicant(8) base64 e o kern/137392 net [ip] [panic] crash in ip_nat.c line 2577 o kern/137372 net [ral] FreeBSD doesn't support wireless interface from o kern/137089 net [lagg] lagg falsely triggers IPv6 duplicate address de o bin/136994 net [patch] ifconfig(8) print carp mac address o kern/136943 net [wpi] [lor] wpi0_com_lock / wpi0 o kern/136911 net [netgraph] [panic] system panic on kldload ng_bpf.ko t o kern/136836 net [ath] atheros card stops functioning after about 12 ho o bin/136661 net [patch] ndp(8) ignores -f option o kern/136618 net [pf][stf] panic on cloning interface without unit numb o kern/136426 net [panic] spawning several dhclients in parallel panics o kern/135502 net [periodic] Warning message raised by rtfree function i o kern/134931 net [route] Route messages sent to all socket listeners re o kern/134583 net [hang] Machine with jail freezes after random amount o o kern/134531 net [route] [panic] kernel crash related to routes/zebra o kern/134168 net [ral] ral driver problem on RT2525 2.4GHz transceiver o kern/134157 net [dummynet] dummynet loads cpu for 100% and make a syst o kern/133969 net [dummynet] [panic] Fatal trap 12: page fault while in o kern/133968 net [dummynet] [panic] dummynet kernel panic o kern/133736 net [udp] ip_id not protected ... o kern/133595 net [panic] Kernel Panic at pcpu.h:195 o kern/133572 net [ppp] [hang] incoming PPTP connection hangs the system o kern/133490 net [bpf] [panic] 'kmem_map too small' panic on Dell r900 o kern/133235 net [netinet] [patch] Process SIOCDLIFADDR command incorre o kern/133218 net [carp] [hang] use of carp(4) causes system to freeze f kern/133213 net arp and sshd errors on 7.1-PRERELEASE o kern/133060 net [ipsec] [pfsync] [panic] Kernel panic with ipsec + pfs o kern/132889 net [ndis] [panic] NDIS kernel crash on load BCM4321 AGN d o conf/132851 net [patch] rc.conf(5): allow to setfib(1) for service run o kern/132734 net [ifmib] [panic] panic in net/if_mib.c o kern/132722 net [ath] Wifi ath0 associates fine with AP, but DHCP or I o kern/132705 net [libwrap] [patch] libwrap - infinite loop if hosts.all o kern/132672 net [ndis] [panic] ndis with rt2860.sys causes kernel pani o kern/132554 net [ipl] There is no ippool start script/ipfilter magic t o kern/132354 net [nat] Getting some packages to ipnat(8) causes crash o kern/132285 net [carp] alias gives incorrect hash in dmesg o kern/132277 net [crypto] [ipsec] poor performance using cryptodevice f o kern/132107 net [carp] carp(4) advskew setting ignored when carp IP us o kern/131781 net [ndis] ndis keeps dropping the link o kern/131776 net [wi] driver fails to init o kern/131753 net [altq] [panic] kernel panic in hfsc_dequeue o bin/131567 net [socket] [patch] Update for regression/sockets/unix_cm o kern/131549 net ifconfig(8) can't clear 'monitor' mode on the wireless o bin/131365 net route(8): route add changes interpretation of network f kern/130820 net [ndis] wpa_supplicant(8) returns 'no space on device' o kern/130628 net [nfs] NFS / rpc.lockd deadlock on 7.1-R o conf/130555 net [rc.d] [patch] No good way to set ipfilter variables a o kern/130525 net [ndis] [panic] 64 bit ar5008 ndisgen-erated driver cau o kern/130311 net [wlan_xauth] [panic] hostapd restart causing kernel pa o kern/130109 net [ipfw] Can not set fib for packets originated from loc f kern/130059 net [panic] Leaking 50k mbufs/hour f kern/129750 net [ath] Atheros AR5006 exits on "cannot map register spa f kern/129719 net [nfs] [panic] Panic during shutdown, tcp_ctloutput: in o kern/129517 net [ipsec] [panic] double fault / stack overflow o kern/129508 net [carp] [panic] Kernel panic with EtherIP (may be relat o kern/129219 net [ppp] Kernel panic when using kernel mode ppp o kern/129197 net [panic] 7.0 IP stack related panic o bin/128954 net ifconfig(8) deletes valid routes o bin/128602 net [an] wpa_supplicant(8) crashes with an(4) o kern/128448 net [nfs] 6.4-RC1 Boot Fails if NFS Hostname cannot be res o conf/128334 net [request] use wpa_cli in the "WPA DHCP" situation o bin/128295 net [patch] ifconfig(8) does not print TOE4 or TOE6 capabi o bin/128001 net wpa_supplicant(8), wlan(4), and wi(4) issues o kern/127826 net [iwi] iwi0 driver has reduced performance and connecti o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from o kern/127724 net [rtalloc] rtfree: 0xc5a8f870 has 1 refs f bin/127719 net [arp] arp: Segmentation fault (core dumped) f kern/127528 net [icmp]: icmp socket receives icmp replies not owned by o bin/127192 net routed(8) removes the secondary alias IP of interface f kern/127145 net [wi]: prism (wi) driver crash at bigger traffic o kern/127057 net [udp] Unable to send UDP packet via IPv6 socket to IPv o kern/127050 net [carp] ipv6 does not work on carp interfaces [regressi o kern/126945 net [carp] CARP interface destruction with ifconfig destro o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) o kern/126874 net [vlan]: Zebra problem if ifconfig vlanX destroy o kern/126714 net [carp] CARP interface renaming makes system no longer o kern/126695 net rtfree messages and network disruption upon use of if_ o kern/126475 net [ath] [panic] ath pcmcia card inevitably panics under o kern/126339 net [ipw] ipw driver drops the connection o kern/126214 net [ath] txpower problem with Atheros wifi card o kern/126075 net [inet] [patch] internet control accesses beyond end of o bin/125922 net [patch] Deadlock in arp(8) o kern/125920 net [arp] Kernel Routing Table loses Ethernet Link status o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o kern/125816 net [carp] [if_bridge] carp stuck in init when using bridg o kern/125721 net [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 net [ath] [panic] ath(4) related panic o kern/125501 net [ath] atheros cardbus driver hangs f kern/125442 net [carp] [lagg] CARP combined with LAGG causes system pa f kern/125332 net [ath] [panic] crash under any non-tiny networking unde o kern/125258 net [socket] socket's SO_REUSEADDR option does not work o kern/125239 net [gre] kernel crash when using gre o kern/124767 net [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124341 net [ral] promiscuous mode for wireless device ral0 looses o kern/124225 net [ndis] [patch] ndis network driver sometimes loses net o kern/124160 net [libc] connect(2) function loops indefinitely o kern/124021 net [ip6] [panic] page fault in nd6_output() o kern/123968 net [rum] [panic] rum driver causes kernel panic with WPA. o kern/123892 net [tap] [patch] No buffer space available o kern/123890 net [ppp] [panic] crash & reboot on work with PPP low-spee o kern/123858 net [stf] [patch] stf not usable behind a NAT o kern/123796 net [ipf] FreeBSD 6.1+VPN+ipnat+ipf: port mapping does not o kern/123758 net [panic] panic while restarting net/freenet6 o bin/123633 net ifconfig(8) doesn't set inet and ether address in one o kern/123559 net [iwi] iwi periodically disassociates/associates [regre o bin/123465 net [ip6] route(8): route add -inet6 -interfac o kern/123463 net [ipsec] [panic] repeatable crash related to ipsec-tool o conf/123330 net [nsswitch.conf] Enabling samba wins in nsswitch.conf c o kern/123160 net [ip] Panic and reboot at sysctl kern.polling.enable=0 f kern/123045 net [ng_mppc] ng_mppc_decompress - disabling node o kern/122989 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/122954 net [lagg] IPv6 EUI64 incorrectly chosen for lagg devices f kern/122780 net [lagg] tcpdump on lagg interface during high pps wedge o kern/122697 net [ath] Atheros card is not well supported o kern/122685 net It is not visible passing packets in tcpdump(1) o kern/122319 net [wi] imposible to enable ad-hoc demo mode with Orinoco o kern/122290 net [netgraph] [panic] Netgraph related "kmem_map too smal o kern/122033 net [ral] [lor] Lock order reversal in ral0 at bootup ieee o bin/121895 net [patch] rtsol(8)/rtsold(8) doesn't handle managed netw s kern/121774 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/121555 net [panic] Fatal trap 12: current process = 12 (swi1: net o kern/121443 net [gif] [lor] icmp6_input/nd6_lookup o kern/121437 net [vlan] Routing to layer-2 address does not work on VLA o bin/121359 net [patch] [security] ppp(8): fix local stack overflow in o kern/121257 net [tcp] TSO + natd -> slow outgoing tcp traffic o kern/121181 net [panic] Fatal trap 3: breakpoint instruction fault whi o kern/120966 net [rum] kernel panic with if_rum and WPA encryption p docs/120945 net [patch] ip6(4) man page lacks documentation for TCLASS o kern/120566 net [request]: ifconfig(8) make order of arguments more fr o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time o kern/120266 net [udp] [panic] gnugk causes kernel panic when closing U o kern/120130 net [carp] [panic] carp causes kernel panics in any conste o bin/120060 net routed(8) deletes link-level routes in the presence of o kern/119945 net [rum] [panic] rum device in hostap mode, cause kernel o kern/119791 net [nfs] UDP NFS mount of aliased IP addresses from a Sol o kern/119617 net [nfs] nfs error on wpa network when reseting/shutdown f kern/119516 net [ip6] [panic] _mtx_lock_sleep: recursed on non-recursi o kern/119432 net [arp] route add -host -iface causes arp e o kern/119225 net [wi] 7.0-RC1 no carrier with Prism 2.5 wifi card [regr o kern/118727 net [netgraph] [patch] [request] add new ng_pf module s kern/117717 net [panic] Kernel panic with Bittorrent client. o kern/117448 net [carp] 6.2 kernel crash [regression] o kern/117423 net [vlan] Duplicate IP on different interfaces o bin/117339 net [patch] route(8): loading routing management commands o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o bin/116643 net [patch] [request] fstat(1): add INET/INET6 socket deta o kern/116185 net [iwi] if_iwi driver leads system to reboot o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/115019 net [netgraph] ng_ether upper hook packet flow stops on ad o kern/115002 net [wi] if_wi timeout. failed allocation (busy bit). ifco o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f o kern/113432 net [ucom] WARNING: attempt to net_add_domain(netgraph) af o kern/112722 net [ipsec] [udp] IP v4 udp fragmented packet reject o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 o bin/112557 net [patch] ppp(8) lock file should not use symlink name o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o kern/111457 net [ral] ral(4) freeze o kern/109470 net [wi] Orinoco Classic Gold PC Card Can't Channel Hop o kern/109308 net [pppd] [panic] Multiple panics kernel ppp suspected [r o bin/108895 net pppd(8): PPPoE dead connections on 6.2 [regression] o kern/107944 net [wi] [patch] Forget to unlock mutex-locks f kern/107279 net [ath] [panic] ath_start: attempted use of a free mbuf! o conf/107035 net [patch] bridge(8): bridge interface given in rc.conf n o kern/106444 net [netgraph] [panic] Kernel Panic on Binding to an ip to o kern/106438 net [ipf] ipfilter: keep state does not seem to allow repl o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets o kern/105945 net Address can disappear from network interface s kern/105943 net Network stack may modify read-only mbuf chain copies o bin/105925 net problems with ifconfig(8) and vlan(4) [regression] f kern/105348 net [ath] ath device stopps TX o kern/104851 net [inet6] [patch] On link routes not configured when usi o kern/104751 net [netgraph] kernel panic, when getting info about my tr o kern/103191 net Unpredictable reboot o kern/103135 net [ipsec] ipsec with ipfw divert (not NAT) encodes a pac o kern/102540 net [netgraph] [patch] supporting vlan(4) by ng_fec(4) o conf/102502 net [netgraph] [patch] ifconfig name does't rename netgrap o kern/102035 net [plip] plip networking disables parallel port printing o kern/101948 net [ipf] [panic] Kernel Panic Trap No 12 Page Fault - cau o kern/100709 net [libc] getaddrinfo(3) should return TTL info o kern/100519 net [netisr] suggestion to fix suboptimal network polling o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel o kern/98597 net [inet6] Bug in FreeBSD 6.1 IPv6 link-local DAD procedu o bin/98218 net wpa_supplicant(8) blacklist not working o kern/97306 net [netgraph] NG_L2TP locks after connection with failed o conf/97014 net [gif] gifconfig_gif? in rc.conf does not recognize IPv f kern/96268 net [socket] TCP socket performance drops by 3000% if pack o kern/95519 net [ral] ral0 could not map mbuf o kern/95288 net [pppd] [tty] [panic] if_ppp panic in sys/kern/tty_subr o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/95267 net packet drops periodically appear f kern/93886 net [ath] Atheros/D-Link DWL-G650 long delay to associate f kern/93378 net [tcp] Slow data transfer in Postfix and Cyrus IMAP (wo o kern/93019 net [ppp] ppp and tunX problems: no traffic after restarti o kern/92880 net [libc] [patch] almost rewritten inet_network(3) functi s kern/92279 net [dc] Core faults everytime I reboot, possible NIC issu o kern/91859 net [ndis] if_ndis does not work with Asus WL-138 s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an o kern/91364 net [ral] [wep] WF-511 RT2500 Card PCI and WEP o kern/91311 net [aue] aue interface hanging s kern/90086 net [hang] 5.4p8 on supermicro P8SCT hangs during boot if o kern/87521 net [ipf] [panic] using ipfilter "auth" keyword leads to k o kern/87421 net [netgraph] [panic]: ng_ether + ng_eiface + if_bridge s kern/86920 net [ndis] ifconfig: SIOCS80211: Invalid argument [regress o kern/86871 net [tcp] [patch] allocation logic for PCBs in TIME_WAIT s o kern/86427 net [lor] Deadlock with FASTIPSEC and nat o kern/86103 net [ipf] Illegal NAT Traversal in IPFilter o kern/85780 net 'panic: bogus refcnt 0' in routing/ipv6 o bin/85445 net ifconfig(8): deprecated keyword to ifconfig inoperativ p kern/85320 net [gre] [patch] possible depletion of kernel stack in ip o bin/82975 net route change does not parse classfull network as given o kern/82881 net [netgraph] [panic] ng_fec(4) causes kernel panic after o bin/82185 net [patch] ndp(8) can delete the incorrect entry o kern/81095 net IPsec connection stops working if associated network i o kern/79895 net [ipf] 5.4-RC2 breaks ipfilter NAT when using netgraph o kern/78968 net FreeBSD freezes on mbufs exhaustion (network interface o kern/78090 net [ipf] ipf filtering on bridged packets doesn't work if o kern/77341 net [ip6] problems with IPV6 implementation o kern/77273 net [ipf] ipfilter breaks ipv6 statefull filtering on 5.3 s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match o kern/75873 net Usability problem with non-RFC-compliant IP spoof prot s kern/75407 net [an] an(4): no carrier after short time a kern/71474 net [route] route lookup does not skip interfaces marked d o kern/71469 net default route to internet magically disappears with mu o kern/70904 net [ipf] ipfilter ipnat problem with h323 proxy support o kern/66225 net [netgraph] [patch] extend ng_eiface(4) control message o kern/65616 net IPSEC can't detunnel GRE packets after real ESP encryp s kern/60293 net [patch] FreeBSD arp poison patch a kern/56233 net IPsec tunnel (ESP) over IPv6: MTU computation is wrong o kern/54383 net [nfs] [patch] NFS root configurations without dynamic s bin/41647 net ifconfig(8) doesn't accept lladdr along with inet addr s kern/39937 net ipstealth issue a kern/38554 net [patch] changing interface ipaddress doesn't seem to w o kern/34665 net [ipf] [hang] ipfilter rcmd proxy "hangs". o kern/31647 net [libc] socket calls can return undocumented EINVAL o kern/30186 net [libc] getaddrinfo(3) does not handle incorrect servna o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c o conf/23063 net [arp] [patch] for static ARP tables in rc.network 399 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:39:41 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2B31106566C; Mon, 11 Apr 2011 11:39:41 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB2188FC1A; Mon, 11 Apr 2011 11:39:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBdfAB059790; Mon, 11 Apr 2011 11:39:41 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBdfBp059786; Mon, 11 Apr 2011 11:39:41 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:39:41 GMT Message-Id: <201104111139.p3BBdfBp059786@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/149539: [ath] atheros ar9287 is not supported by ath_hal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:39:42 -0000 Synopsis: [ath] atheros ar9287 is not supported by ath_hal Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:39:33 UTC 2011 Responsible-Changed-Why: punt to mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=149539 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:39:55 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA8E2106567D; Mon, 11 Apr 2011 11:39:55 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 825CA8FC29; Mon, 11 Apr 2011 11:39:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBdtSc059836; Mon, 11 Apr 2011 11:39:55 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBdtKO059832; Mon, 11 Apr 2011 11:39:55 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:39:55 GMT Message-Id: <201104111139.p3BBdtKO059832@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/149516: [ath] ath(4) hostap with fake MAC/BSSID results in station dropping packets when associated X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:39:55 -0000 Synopsis: [ath] ath(4) hostap with fake MAC/BSSID results in station dropping packets when associated Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:39:47 UTC 2011 Responsible-Changed-Why: punt to wireless list http://www.freebsd.org/cgi/query-pr.cgi?pr=149516 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:40:37 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D52FD106566B; Mon, 11 Apr 2011 11:40:37 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ACE7E8FC2E; Mon, 11 Apr 2011 11:40:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBebcJ064426; Mon, 11 Apr 2011 11:40:37 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBebCB064416; Mon, 11 Apr 2011 11:40:37 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:40:37 GMT Message-Id: <201104111140.p3BBebCB064416@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/149373: [realtek/atheros]: None of my network card working X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:40:37 -0000 Synopsis: [realtek/atheros]: None of my network card working Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:39:58 UTC 2011 Responsible-Changed-Why: punt to wireless list http://www.freebsd.org/cgi/query-pr.cgi?pr=149373 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:40:56 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53E01065672; Mon, 11 Apr 2011 11:40:56 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD9C68FC2D; Mon, 11 Apr 2011 11:40:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBeuqq067369; Mon, 11 Apr 2011 11:40:56 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBeurK067358; Mon, 11 Apr 2011 11:40:56 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:40:56 GMT Message-Id: <201104111140.p3BBeurK067358@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/149307: [ath] Doesn't work Atheros 9285 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:40:56 -0000 Synopsis: [ath] Doesn't work Atheros 9285 Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:40:48 UTC 2011 Responsible-Changed-Why: punt to mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=149307 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:41:19 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB1D1065673; Mon, 11 Apr 2011 11:41:19 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1569E8FC0A; Mon, 11 Apr 2011 11:41:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBfIsK067984; Mon, 11 Apr 2011 11:41:18 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBfItn067980; Mon, 11 Apr 2011 11:41:18 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:41:18 GMT Message-Id: <201104111141.p3BBfItn067980@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/148322: [ath] Triggering atheros wifi beacon misses in hostap mode under no radio traffic load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:41:19 -0000 Synopsis: [ath] Triggering atheros wifi beacon misses in hostap mode under no radio traffic load Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:41:05 UTC 2011 Responsible-Changed-Why: punt to mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=148322 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:41:40 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 872621065678; Mon, 11 Apr 2011 11:41:40 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5B28FC14; Mon, 11 Apr 2011 11:41:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBfe3U068032; Mon, 11 Apr 2011 11:41:40 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBfeKS068028; Mon, 11 Apr 2011 11:41:40 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:41:40 GMT Message-Id: <201104111141.p3BBfeKS068028@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/148317: [ath] FreeBSD 7.x hostap memory leak in net80211 or Atheros driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:41:40 -0000 Synopsis: [ath] FreeBSD 7.x hostap memory leak in net80211 or Atheros driver Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:41:26 UTC 2011 Responsible-Changed-Why: punt to wireless list http://www.freebsd.org/cgi/query-pr.cgi?pr=148317 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:41:54 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C4E106566B; Mon, 11 Apr 2011 11:41:54 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD5C28FC21; Mon, 11 Apr 2011 11:41:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBfsD3068079; Mon, 11 Apr 2011 11:41:54 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBfsTn068075; Mon, 11 Apr 2011 11:41:54 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:41:54 GMT Message-Id: <201104111141.p3BBfsTn068075@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/148078: [ath] wireless networking stops functioning X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:41:54 -0000 Synopsis: [ath] wireless networking stops functioning Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:41:44 UTC 2011 Responsible-Changed-Why: punt to mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=148078 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:42:42 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BCB1065674; Mon, 11 Apr 2011 11:42:42 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0FBCA8FC28; Mon, 11 Apr 2011 11:42:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBgfDm068158; Mon, 11 Apr 2011 11:42:41 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBgfsY068154; Mon, 11 Apr 2011 11:42:41 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:42:41 GMT Message-Id: <201104111142.p3BBgfsY068154@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/143868: [ath] [patch] [request] allow Atheros watchdog timeout to be tunable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:42:42 -0000 Synopsis: [ath] [patch] [request] allow Atheros watchdog timeout to be tunable Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:42:26 UTC 2011 Responsible-Changed-Why: punt to freebsd-wireless http://www.freebsd.org/cgi/query-pr.cgi?pr=143868 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:42:53 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86A421065672; Mon, 11 Apr 2011 11:42:53 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F07B8FC0C; Mon, 11 Apr 2011 11:42:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBgrOl068204; Mon, 11 Apr 2011 11:42:53 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBgrxC068200; Mon, 11 Apr 2011 11:42:53 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:42:53 GMT Message-Id: <201104111142.p3BBgrxC068200@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: conf/143079: hostapd(8) startup missing multi wlan functionality X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:42:53 -0000 Synopsis: hostapd(8) startup missing multi wlan functionality Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:42:45 UTC 2011 Responsible-Changed-Why: punt to wireless list http://www.freebsd.org/cgi/query-pr.cgi?pr=143079 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:43:17 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83857106567D; Mon, 11 Apr 2011 11:43:17 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B37E8FC14; Mon, 11 Apr 2011 11:43:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBhHda068258; Mon, 11 Apr 2011 11:43:17 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBhHZ0068254; Mon, 11 Apr 2011 11:43:17 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:43:17 GMT Message-Id: <201104111143.p3BBhHZ0068254@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/140245: [ath] [panic] Kernel panic during network activity on device ath in 7.2-RELEASE-p4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:43:17 -0000 Synopsis: [ath] [panic] Kernel panic during network activity on device ath in 7.2-RELEASE-p4 Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:43:00 UTC 2011 Responsible-Changed-Why: punt to wireless list http://www.freebsd.org/cgi/query-pr.cgi?pr=140245 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:43:27 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9FCE106567D; Mon, 11 Apr 2011 11:43:27 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B2BA08FC23; Mon, 11 Apr 2011 11:43:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBhRGv068305; Mon, 11 Apr 2011 11:43:27 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBhRd9068301; Mon, 11 Apr 2011 11:43:27 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:43:27 GMT Message-Id: <201104111143.p3BBhRd9068301@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/137592: [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:43:28 -0000 Synopsis: [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on network Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:43:20 UTC 2011 Responsible-Changed-Why: punt to freebsd-wireless http://www.freebsd.org/cgi/query-pr.cgi?pr=137592 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:43:42 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAAE5106568A; Mon, 11 Apr 2011 11:43:42 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 829668FC1F; Mon, 11 Apr 2011 11:43:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBhgb3068351; Mon, 11 Apr 2011 11:43:42 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBhg0O068347; Mon, 11 Apr 2011 11:43:42 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:43:42 GMT Message-Id: <201104111143.p3BBhg0O068347@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/136836: [ath] atheros card stops functioning after about 12 hours uptime X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:43:42 -0000 Synopsis: [ath] atheros card stops functioning after about 12 hours uptime Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:43:34 UTC 2011 Responsible-Changed-Why: punt to freebsd-wireless http://www.freebsd.org/cgi/query-pr.cgi?pr=136836 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:44:12 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CDD0106566C; Mon, 11 Apr 2011 11:44:12 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id F1E9A8FC20; Mon, 11 Apr 2011 11:44:11 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3BBi69S057340; Mon, 11 Apr 2011 18:44:06 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA2E981.2010302@rdtc.ru> Date: Mon, 11 Apr 2011 18:44:01 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> <4DA2DD17.6020702@frasunek.com> In-Reply-To: <4DA2DD17.6020702@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:44:12 -0000 On 11.04.2011 17:51, Przemyslaw Frasunek wrote: >> Increase sysctl kern.ipc.maxsockbuf. >> I was forced to rise it upto 80MB (sic!) as 8MB was not enough to me. > > Yay, things are getting worse. Increasing maxsockbuf caused crash after 2-3 > hours. There was no crashdump and the last thing in log was: > > Apr 11 12:32:40 lsm-gw kernel: ad4: FAILURE - out of memory in start > Apr 11 12:33:00 lsm-gw last message repeated 125 times > > I suppose, I'm hitting some kind of kernel memory limit, maybe because of leak. > Any ideas, how can I track it down? Do you use i386 or amd64? I use amd64, it has much more KVA space (kernel virtual area). Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:44:40 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 263B7106566B; Mon, 11 Apr 2011 11:44:40 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F25EC8FC13; Mon, 11 Apr 2011 11:44:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBidXP068420; Mon, 11 Apr 2011 11:44:39 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBidvU068416; Mon, 11 Apr 2011 11:44:39 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:44:39 GMT Message-Id: <201104111144.p3BBidvU068416@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:44:40 -0000 Synopsis: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:43:53 UTC 2011 Responsible-Changed-Why: punt to freebsd-wiereless http://www.freebsd.org/cgi/query-pr.cgi?pr=132722 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:47:12 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77CB21065675; Mon, 11 Apr 2011 11:47:12 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 505CB8FC0C; Mon, 11 Apr 2011 11:47:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BBlCun068768; Mon, 11 Apr 2011 11:47:12 GMT (envelope-from adrian@freefall.freebsd.org) Received: (from adrian@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BBlC1V068764; Mon, 11 Apr 2011 11:47:12 GMT (envelope-from adrian) Date: Mon, 11 Apr 2011 11:47:12 GMT Message-Id: <201104111147.p3BBlC1V068764@freefall.freebsd.org> To: adrian@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: adrian@FreeBSD.org Cc: Subject: Re: kern/105348: [ath] ath device stopps TX X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:47:12 -0000 Synopsis: [ath] ath device stopps TX Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: adrian Responsible-Changed-When: Mon Apr 11 11:45:13 UTC 2011 Responsible-Changed-Why: shift to freebsd-wireless http://www.freebsd.org/cgi/query-pr.cgi?pr=105348 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 11:56:34 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AFA0106566C; Mon, 11 Apr 2011 11:56:34 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id B6D178FC15; Mon, 11 Apr 2011 11:56:33 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:b19d:9072:1765:d55d] (unknown [IPv6:2a02:2928:a:ffff:b19d:9072:1765:d55d]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id CDF0323944F; Mon, 11 Apr 2011 13:56:32 +0200 (CEST) Message-ID: <4DA2EC6F.2040205@frasunek.com> Date: Mon, 11 Apr 2011 13:56:31 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Eugene Grosbein References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> <4DA2DD17.6020702@frasunek.com> <4DA2E981.2010302@rdtc.ru> In-Reply-To: <4DA2E981.2010302@rdtc.ru> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 11:56:34 -0000 > Do you use i386 or amd64? I use amd64, it has much more KVA space > (kernel virtual area). I use i386. I suppose I'll need to raise KVA_PAGES to 512 and then slightly raise vm.kmem_size. What are the safe values for i386? I wonder why I got crash without dump and not the "kmem_map too small" panic. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 12:10:13 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36EA1065676 for ; Mon, 11 Apr 2011 12:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8A34D8FC16 for ; Mon, 11 Apr 2011 12:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BCAD7S086279 for ; Mon, 11 Apr 2011 12:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BCADJG086278; Mon, 11 Apr 2011 12:10:13 GMT (envelope-from gnats) Date: Mon, 11 Apr 2011 12:10:13 GMT Message-Id: <201104111210.p3BCADJG086278@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Gleb Smirnoff Cc: Subject: kern/155988 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gleb Smirnoff List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 12:10:13 -0000 The following reply was made to PR kern/155988; it has been noted by GNATS. From: Gleb Smirnoff To: Clement LECIGNE Cc: bug-followup@FreeBSD.org Subject: kern/155988 Date: Mon, 11 Apr 2011 16:01:27 +0400 Hello, Clement! #13 0x406b196c in rtexpunge (rt=0x614728b8) at ../../../net/route.c:810 #14 0x406f7eef in arplookup (addr=Variable "addr" is not available. ) at ../../../netinet/if_ether.c:1198 Have you got original, not patched 7.3-RELEASE-p3? You have arplookup() calling rtexpunge() in line 1198 of if_ether.c. Mine line is 1034: glebius@think:~:|>fetch -qo - http://svn.freebsd.org/base/release/7.3.0/sys/netinet/if_ether.c | grep -n rtexpunge 1034: rtexpunge(rt); Also, the file itself is 1072 lines long: glebius@think:~:|>fetch -qo - http://svn.freebsd.org/base/release/7.3.0/sys/netinet/if_ether.c | wc -l 1072 Can you please clarify this? Also, ARP code has been significantly changed in the stable/8 branch of FreeBSD. If the bug can't be reproduced in 8.2-RELEASE, then the PR is going to be closed as fixed. -- Totus tuus, Glebius. From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 12:21:24 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9FC4106566B for ; Mon, 11 Apr 2011 12:21:24 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 84B018FC18 for ; Mon, 11 Apr 2011 12:21:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAIvxok2DaFvO/2dsb2JhbACES6JFiHqoSJAEgSmDTXgEjVg X-IronPort-AV: E=Sophos;i="4.63,339,1299474000"; d="scan'208";a="117844222" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 11 Apr 2011 08:21:23 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 82A12B3F34; Mon, 11 Apr 2011 08:21:23 -0400 (EDT) Date: Mon, 11 Apr 2011 08:21:23 -0400 (EDT) From: Rick Macklem To: "Marc G. Fournier" Message-ID: <69360213.224465.1302524483476.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Cc: freebsd-net@freebsd.org Subject: Re: One final question about NFS ... or so I hope ... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 12:21:24 -0000 > It used to be that if you did a 'mount' on the client server, it would > tell you what options existed on the mount ... but now, it just shows > (nfs) ... my fstab entry looks like: > > 192.168.1.8:/vm/neptune.hub.org /vm/neptune.hub.org > nfs rw,noauto,intr,tcp,nolockd 0 0 > > Mounts fine, no errors, and postfix works, so that I know that nolockd > option is working as expected ... but when I type 'mount', I get: > > 192.168.1.8:/vm/neptune.hub.org on /vm/neptune.hub.org (nfs) > > If I do 'mount -p' (fstab output), I get: > > # mount -p | grep 192.168 > 192.168.1.8:/vm/neptune.hub.org /vm/neptune.hub.org nfs rw > 0 0 > > So, how do I view what options are present on a FreeBSD nfs mount? > At this point, there isn't a way. Basically, you will get what you specify on the mount (or fstab line, if you prefer), plus rsize,wsize will be set based on what the server prefers unless they are specifically specified. There was a recent discussion w.r.t. this and one suggestion was an option on nfsstat to show what is actually being used. This might get done someday by me, if no one else steps up to the plate. > I checked our Linux boxes at the office, and they definitely do show > the > mount options: > > 3.165:/vol/prd_db_logs/filer_log2 on /filer_log02 type nfs > (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,nfsvers=3,timeo=600,addr=10.1.13.165) > My understanding (which could be incorrect) is that the nfsstat option in Linux shows what is actually being used vs the above, which shows what was specified in the mount command. (Probably rsize, wsize will be the only ones affected by this, I think.) rick From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 13:46:15 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E29A9106566B; Mon, 11 Apr 2011 13:46:15 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 810A28FC21; Mon, 11 Apr 2011 13:46:15 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p3BDk6HA006833 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 11 Apr 2011 09:46:06 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4DA3060C.6090901@sentex.net> Date: Mon, 11 Apr 2011 09:45:48 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gleb Smirnoff References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> In-Reply-To: <20110411054932.GU84445@FreeBSD.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-net@freebsd.org, Przemyslaw Frasunek , Eugene Grosbein Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 13:46:16 -0000 On 4/11/2011 1:49 AM, Gleb Smirnoff wrote: > On Mon, Apr 11, 2011 at 12:34:56AM +0200, Przemyslaw Frasunek wrote: > P> > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. > P> > If you see non-zero values there, you need to increase netgraph memory limits > P> > net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. > P> > P> Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn't > P> solved EPERM problems on netgraph control sockets. It is still appearing > P> every few hours, but failure counters are zero: > > IMO, any kind of memory allocation code (malloc, uma, netgraph item > allocator) never return EPERM, they return ENOMEM or ENOBUFS. > > So, there is a bug somewhere else. I am also running with the following patch from mlaier that is not in RELENG_8. --- rtsock.c 2010-10-30 07:54:55.000000000 -0400 +++ /tmp/rtsock.c 2011-04-11 09:44:52.000000000 -0400 @@ -27,7 +27,7 @@ * SUCH DAMAGE. * * @(#)rtsock.c 8.7 (Berkeley) 10/12/95 - * $FreeBSD: src/sys/net/rtsock.c,v 1.181.2.10 2010/10/30 11:54:55 bz Exp $ + * $FreeBSD: src/sys/net/rtsock.c,v 1.191 2011/02/10 01:24:09 mlaier Exp $ */ #include "opt_compat.h" #include "opt_sctp.h" @@ -159,7 +159,7 @@ struct rt_metrics_lite *out); static void rt_getmetrics(const struct rt_metrics_lite *in, struct rt_metrics *out); -static void rt_dispatch(struct mbuf *, const struct sockaddr *); +static void rt_dispatch(struct mbuf *, sa_family_t); static struct netisr_handler rtsock_nh = { .nh_name = "rtsock", @@ -513,6 +513,7 @@ int len, error = 0; struct ifnet *ifp = NULL; union sockaddr_union saun; + sa_family_t saf = AF_MAX; #define senderr(e) { error = e; goto flush;} if (m == NULL || ((m->m_len < sizeof(long)) && @@ -549,6 +550,7 @@ (info.rti_info[RTAX_GATEWAY] != NULL && info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX)) senderr(EINVAL); + saf = info.rti_info[RTAX_DST]->sa_family; /* * Verify that the caller has the appropriate privilege; RTM_GET * is the only operation the non-superuser is allowed. @@ -883,7 +885,6 @@ m = NULL; } else if (m->m_pkthdr.len > rtm->rtm_msglen) m_adj(m, rtm->rtm_msglen - m->m_pkthdr.len); - Free(rtm); } if (m) { if (rp) { @@ -893,11 +894,14 @@ */ unsigned short family = rp->rcb_proto.sp_family; rp->rcb_proto.sp_family = 0; - rt_dispatch(m, info.rti_info[RTAX_DST]); + rt_dispatch(m, saf); rp->rcb_proto.sp_family = family; } else - rt_dispatch(m, info.rti_info[RTAX_DST]); + rt_dispatch(m, saf); } + /* info.rti_info[RTAX_DST] (used above) can point inside of rtm */ + if (rtm) + Free(rtm); } return (error); #undef sa_equal @@ -1140,7 +1144,7 @@ rtm->rtm_flags = RTF_DONE | flags; rtm->rtm_errno = error; rtm->rtm_addrs = rtinfo->rti_addrs; - rt_dispatch(m, sa); + rt_dispatch(m, sa ? sa->sa_family : AF_MAX); } /* @@ -1165,7 +1169,7 @@ ifm->ifm_flags = ifp->if_flags | ifp->if_drv_flags; ifm->ifm_data = ifp->if_data; ifm->ifm_addrs = 0; - rt_dispatch(m, NULL); + rt_dispatch(m, AF_MAX); } /* @@ -1235,7 +1239,7 @@ rtm->rtm_errno = error; rtm->rtm_addrs = info.rti_addrs; } - rt_dispatch(m, sa); + rt_dispatch(m, sa ? sa->sa_family : AF_MAX); } } @@ -1271,7 +1275,7 @@ __func__)); ifmam->ifmam_index = ifp->if_index; ifmam->ifmam_addrs = info.rti_addrs; - rt_dispatch(m, ifma->ifma_addr); + rt_dispatch(m, ifma->ifma_addr ? ifma->ifma_addr->sa_family : AF_MAX); } static struct mbuf * @@ -1331,7 +1335,7 @@ if (m->m_flags & M_PKTHDR) m->m_pkthdr.len += data_len; mtod(m, struct if_announcemsghdr *)->ifan_msglen += data_len; - rt_dispatch(m, NULL); + rt_dispatch(m, AF_MAX); } } @@ -1347,11 +1351,11 @@ m = rt_makeifannouncemsg(ifp, RTM_IFANNOUNCE, what, &info); if (m != NULL) - rt_dispatch(m, NULL); + rt_dispatch(m, AF_MAX); } static void -rt_dispatch(struct mbuf *m, const struct sockaddr *sa) +rt_dispatch(struct mbuf *m, sa_family_t saf) { struct m_tag *tag; @@ -1360,14 +1364,14 @@ * use when injecting the mbuf into the routing socket buffer from * the netisr. */ - if (sa != NULL) { + if (saf != AF_MAX) { tag = m_tag_get(PACKET_TAG_RTSOCKFAM, sizeof(unsigned short), M_NOWAIT); if (tag == NULL) { m_freem(m); return; } - *(unsigned short *)(tag + 1) = sa->sa_family; + *(unsigned short *)(tag + 1) = saf; m_tag_prepend(m, tag); } #ifdef VIMAGE ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 14:05:53 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AA04106564A for ; Mon, 11 Apr 2011 14:05:53 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 17F3D8FC16 for ; Mon, 11 Apr 2011 14:05:52 +0000 (UTC) Received: by wwk4 with SMTP id 4so2675840wwk.1 for ; Mon, 11 Apr 2011 07:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KNZyfU5B2y0/E64RH9qpmANNfhwdAJJjk3/iaUE4Lcg=; b=H4bjWRjXGm9ypxd1FpCoRlG4KoCm+cUpJzCDYtHjZ+HcyJqCp2KYoYwwatPLexi9lu pOdPoSsEdS/+OZHRhh+W30DbL6UDYFMCIaDkbkv2Nvx0/h947MVpUNl4YZT8ilzbJ+az OLiM+ayQBrL3u4W80HDhDs91qCGf+Hi2aIdvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ichKNr8VXVwIH6756rvXZGYaBrkQN2PpAQxkeKAmng5YcrObF0dbma6upDRGBmakYU QCk5cR2FQo2UZBJzrhA3v8jKHksLR4bC0K72IQbrx8VqMVu5oQ2cxRFF66spRICWdEr1 BgfFQLBJ/jUubsSuGpAzhaCyyl3aNbHOtbWyI= MIME-Version: 1.0 Received: by 10.216.87.8 with SMTP id x8mr1050790wee.46.1302530751522; Mon, 11 Apr 2011 07:05:51 -0700 (PDT) Received: by 10.216.138.29 with HTTP; Mon, 11 Apr 2011 07:05:51 -0700 (PDT) In-Reply-To: <4DA3060C.6090901@sentex.net> References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA3060C.6090901@sentex.net> Date: Mon, 11 Apr 2011 09:05:51 -0500 Message-ID: From: Brandon Gooch To: Mike Tancsa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Przemyslaw Frasunek , Eugene Grosbein Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 14:05:53 -0000 2011/4/11 Mike Tancsa : > On 4/11/2011 1:49 AM, Gleb Smirnoff wrote: >> On Mon, Apr 11, 2011 at 12:34:56AM +0200, Przemyslaw Frasunek wrote: >> P> > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES co= lumn. >> P> > If you see non-zero values there, you need to increase netgraph mem= ory limits >> P> > net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. >> P> >> P> Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn= 't >> P> solved EPERM problems on netgraph control sockets. It is still appear= ing >> P> every few hours, but failure counters are zero: >> >> IMO, any kind of memory allocation code (malloc, uma, netgraph item >> allocator) never return EPERM, they return ENOMEM or ENOBUFS. >> >> So, there is a bug somewhere else. > > > I am also running with the following patch from mlaier that is not in > RELENG_8. > > > --- rtsock.c =A0 =A02010-10-30 07:54:55.000000000 -0400 > +++ /tmp/rtsock.c =A0 =A0 =A0 2011-04-11 09:44:52.000000000 -0400 > @@ -27,7 +27,7 @@ > =A0* SUCH DAMAGE. > =A0* > =A0* =A0 =A0 @(#)rtsock.c =A0 =A08.7 (Berkeley) 10/12/95 > - * $FreeBSD: src/sys/net/rtsock.c,v 1.181.2.10 2010/10/30 11:54:55 bz Ex= p $ > + * $FreeBSD: src/sys/net/rtsock.c,v 1.191 2011/02/10 01:24:09 mlaier Exp= $ > =A0*/ > =A0#include "opt_compat.h" > =A0#include "opt_sctp.h" > @@ -159,7 +159,7 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0struct rt_metrics_lite *ou= t); > =A0static void =A0 =A0rt_getmetrics(const struct rt_metrics_lite *in, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0struct rt_metrics *out); > -static void =A0 =A0rt_dispatch(struct mbuf *, const struct sockaddr *); > +static void =A0 =A0rt_dispatch(struct mbuf *, sa_family_t); > > =A0static struct netisr_handler rtsock_nh =3D { > =A0 =A0 =A0 =A0.nh_name =3D "rtsock", > @@ -513,6 +513,7 @@ > =A0 =A0 =A0 =A0int len, error =3D 0; > =A0 =A0 =A0 =A0struct ifnet *ifp =3D NULL; > =A0 =A0 =A0 =A0union sockaddr_union saun; > + =A0 =A0 =A0 sa_family_t saf =3D AF_MAX; > > =A0#define senderr(e) { error =3D e; goto flush;} > =A0 =A0 =A0 =A0if (m =3D=3D NULL || ((m->m_len < sizeof(long)) && > @@ -549,6 +550,7 @@ > =A0 =A0 =A0 =A0 =A0 =A0(info.rti_info[RTAX_GATEWAY] !=3D NULL && > =A0 =A0 =A0 =A0 =A0 =A0 info.rti_info[RTAX_GATEWAY]->sa_family >=3D AF_MA= X)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0senderr(EINVAL); > + =A0 =A0 =A0 saf =3D info.rti_info[RTAX_DST]->sa_family; > =A0 =A0 =A0 =A0/* > =A0 =A0 =A0 =A0 * Verify that the caller has the appropriate privilege; R= TM_GET > =A0 =A0 =A0 =A0 * is the only operation the non-superuser is allowed. > @@ -883,7 +885,6 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0m =3D NULL; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} else if (m->m_pkthdr.len > rtm->rtm_msgl= en) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0m_adj(m, rtm->rtm_msglen -= m->m_pkthdr.len); > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 Free(rtm); > =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0if (m) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (rp) { > @@ -893,11 +894,14 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 */ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0unsigned short family =3D = rp->rcb_proto.sp_family; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rp->rcb_proto.sp_family = =3D 0; > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, info.rti_inf= o[RTAX_DST]); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, saf); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rp->rcb_proto.sp_family = =3D family; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} else > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, info.rti_inf= o[RTAX_DST]); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, saf); > =A0 =A0 =A0 =A0} > + =A0 =A0 =A0 /* info.rti_info[RTAX_DST] (used above) can point inside of= rtm */ > + =A0 =A0 =A0 if (rtm) > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 Free(rtm); > =A0 =A0 } > =A0 =A0 =A0 =A0return (error); > =A0#undef sa_equal > @@ -1140,7 +1144,7 @@ > =A0 =A0 =A0 =A0rtm->rtm_flags =3D RTF_DONE | flags; > =A0 =A0 =A0 =A0rtm->rtm_errno =3D error; > =A0 =A0 =A0 =A0rtm->rtm_addrs =3D rtinfo->rti_addrs; > - =A0 =A0 =A0 rt_dispatch(m, sa); > + =A0 =A0 =A0 rt_dispatch(m, sa ? sa->sa_family : AF_MAX); > =A0} > > =A0/* > @@ -1165,7 +1169,7 @@ > =A0 =A0 =A0 =A0ifm->ifm_flags =3D ifp->if_flags | ifp->if_drv_flags; > =A0 =A0 =A0 =A0ifm->ifm_data =3D ifp->if_data; > =A0 =A0 =A0 =A0ifm->ifm_addrs =3D 0; > - =A0 =A0 =A0 rt_dispatch(m, NULL); > + =A0 =A0 =A0 rt_dispatch(m, AF_MAX); > =A0} > > =A0/* > @@ -1235,7 +1239,7 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rtm->rtm_errno =3D error; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rtm->rtm_addrs =3D info.rt= i_addrs; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, sa); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, sa ? sa->sa_family : AF_MAX)= ; > =A0 =A0 =A0 =A0} > =A0} > > @@ -1271,7 +1275,7 @@ > =A0 =A0 =A0 =A0 =A0 =A0__func__)); > =A0 =A0 =A0 =A0ifmam->ifmam_index =3D ifp->if_index; > =A0 =A0 =A0 =A0ifmam->ifmam_addrs =3D info.rti_addrs; > - =A0 =A0 =A0 rt_dispatch(m, ifma->ifma_addr); > + =A0 =A0 =A0 rt_dispatch(m, ifma->ifma_addr ? ifma->ifma_addr->sa_family= : > AF_MAX); > =A0} > > =A0static struct mbuf * > @@ -1331,7 +1335,7 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (m->m_flags & M_PKTHDR) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0m->m_pkthdr.len +=3D data_= len; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0mtod(m, struct if_announcemsghdr *)->ifan_= msglen +=3D > data_len; > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, NULL); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, AF_MAX); > =A0 =A0 =A0 =A0} > =A0} > > @@ -1347,11 +1351,11 @@ > > =A0 =A0 =A0 =A0m =3D rt_makeifannouncemsg(ifp, RTM_IFANNOUNCE, what, &inf= o); > =A0 =A0 =A0 =A0if (m !=3D NULL) > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, NULL); > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 rt_dispatch(m, AF_MAX); > =A0} > > =A0static void > -rt_dispatch(struct mbuf *m, const struct sockaddr *sa) > +rt_dispatch(struct mbuf *m, sa_family_t saf) > =A0{ > =A0 =A0 =A0 =A0struct m_tag *tag; > > @@ -1360,14 +1364,14 @@ > =A0 =A0 =A0 =A0 * use when injecting the mbuf into the routing socket buf= fer from > =A0 =A0 =A0 =A0 * the netisr. > =A0 =A0 =A0 =A0 */ > - =A0 =A0 =A0 if (sa !=3D NULL) { > + =A0 =A0 =A0 if (saf !=3D AF_MAX) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tag =3D m_tag_get(PACKET_TAG_RTSOCKFAM, si= zeof(unsigned > short), > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0M_NOWAIT); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (tag =3D=3D NULL) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0m_freem(m); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 *(unsigned short *)(tag + 1) =3D sa->sa_fam= ily; > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 *(unsigned short *)(tag + 1) =3D saf; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0m_tag_prepend(m, tag); > =A0 =A0 =A0 =A0} > =A0#ifdef VIMAGE > > > =A0 =A0 =A0 =A0---Mike > > > -- > ------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada =A0 http://www.tancsa.com/ So it's in HEAD? If so, any ideas about a possible MFC? -Brandon From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 14:17:04 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DEDB106566C; Mon, 11 Apr 2011 14:17:04 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 515258FC15; Mon, 11 Apr 2011 14:17:04 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p3BEGxTR014446 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 11 Apr 2011 10:16:59 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4DA30D49.5080909@sentex.net> Date: Mon, 11 Apr 2011 10:16:41 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Brandon Gooch References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA3060C.6090901@sentex.net> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-net@freebsd.org, Max Laier , Przemyslaw Frasunek , Eugene Grosbein Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 14:17:04 -0000 On 4/11/2011 10:05 AM, Brandon Gooch wrote: > 2011/4/11 Mike Tancsa : >> On 4/11/2011 1:49 AM, Gleb Smirnoff wrote: >>> On Mon, Apr 11, 2011 at 12:34:56AM +0200, Przemyslaw Frasunek wrote: >>> P> > Use command "vmstat -z|egrep 'ITEM|NetGraph'" and check FAILURES column. >>> P> > If you see non-zero values there, you need to increase netgraph memory limits >>> P> > net.graph.maxdata and net.graph.maxalloc using /boot/loader.conf. >>> P> >>> P> Unfortunately, increasing net.graph.maxdata & net.graph.maxalloc didn't >>> P> solved EPERM problems on netgraph control sockets. It is still appearing >>> P> every few hours, but failure counters are zero: >>> >>> IMO, any kind of memory allocation code (malloc, uma, netgraph item >>> allocator) never return EPERM, they return ENOMEM or ENOBUFS. >>> >>> So, there is a bug somewhere else. >> >> >> I am also running with the following patch from mlaier that is not in >> RELENG_8. >> >> >> --- rtsock.c 2010-10-30 07:54:55.000000000 -0400 >> +++ /tmp/rtsock.c 2011-04-11 09:44:52.000000000 -0400 >> @@ -27,7 +27,7 @@ >> * SUCH DAMAGE. >> * >> * @(#)rtsock.c 8.7 (Berkeley) 10/12/95 >> - * $FreeBSD: src/sys/net/rtsock.c,v 1.181.2.10 2010/10/30 11:54:55 bz Exp $ >> + * $FreeBSD: src/sys/net/rtsock.c,v 1.191 2011/02/10 01:24:09 mlaier Exp $ >> */ > > So it's in HEAD? If so, any ideas about a possible MFC? I dont think all of it is. Here is the diff from HEAD. Adding Max Laier to the cc list as he was the one kind enough to send me the patch. --- rtsock.c 2011-02-14 20:43:05.000000000 -0500 +++ /tmp/rtsock.c 2011-04-11 09:44:52.000000000 -0400 @@ -159,7 +159,7 @@ struct rt_metrics_lite *out); static void rt_getmetrics(const struct rt_metrics_lite *in, struct rt_metrics *out); -static void rt_dispatch(struct mbuf *, const struct sockaddr *); +static void rt_dispatch(struct mbuf *, sa_family_t); static struct netisr_handler rtsock_nh = { .nh_name = "rtsock", @@ -513,6 +513,7 @@ int len, error = 0; struct ifnet *ifp = NULL; union sockaddr_union saun; + sa_family_t saf = AF_MAX; #define senderr(e) { error = e; goto flush;} if (m == NULL || ((m->m_len < sizeof(long)) && @@ -549,6 +550,7 @@ (info.rti_info[RTAX_GATEWAY] != NULL && info.rti_info[RTAX_GATEWAY]->sa_family >= AF_MAX)) senderr(EINVAL); + saf = info.rti_info[RTAX_DST]->sa_family; /* * Verify that the caller has the appropriate privilege; RTM_GET * is the only operation the non-superuser is allowed. @@ -892,10 +894,10 @@ */ unsigned short family = rp->rcb_proto.sp_family; rp->rcb_proto.sp_family = 0; - rt_dispatch(m, info.rti_info[RTAX_DST]); + rt_dispatch(m, saf); rp->rcb_proto.sp_family = family; } else - rt_dispatch(m, info.rti_info[RTAX_DST]); + rt_dispatch(m, saf); } /* info.rti_info[RTAX_DST] (used above) can point inside of rtm */ if (rtm) @@ -1142,7 +1144,7 @@ rtm->rtm_flags = RTF_DONE | flags; rtm->rtm_errno = error; rtm->rtm_addrs = rtinfo->rti_addrs; - rt_dispatch(m, sa); + rt_dispatch(m, sa ? sa->sa_family : AF_MAX); } /* @@ -1167,7 +1169,7 @@ ifm->ifm_flags = ifp->if_flags | ifp->if_drv_flags; ifm->ifm_data = ifp->if_data; ifm->ifm_addrs = 0; - rt_dispatch(m, NULL); + rt_dispatch(m, AF_MAX); } /* @@ -1237,7 +1239,7 @@ rtm->rtm_errno = error; rtm->rtm_addrs = info.rti_addrs; } - rt_dispatch(m, sa); + rt_dispatch(m, sa ? sa->sa_family : AF_MAX); } } @@ -1273,7 +1275,7 @@ __func__)); ifmam->ifmam_index = ifp->if_index; ifmam->ifmam_addrs = info.rti_addrs; - rt_dispatch(m, ifma->ifma_addr); + rt_dispatch(m, ifma->ifma_addr ? ifma->ifma_addr->sa_family : AF_MAX); } static struct mbuf * @@ -1333,7 +1335,7 @@ if (m->m_flags & M_PKTHDR) m->m_pkthdr.len += data_len; mtod(m, struct if_announcemsghdr *)->ifan_msglen += data_len; - rt_dispatch(m, NULL); + rt_dispatch(m, AF_MAX); } } @@ -1349,11 +1351,11 @@ m = rt_makeifannouncemsg(ifp, RTM_IFANNOUNCE, what, &info); if (m != NULL) - rt_dispatch(m, NULL); + rt_dispatch(m, AF_MAX); } static void -rt_dispatch(struct mbuf *m, const struct sockaddr *sa) +rt_dispatch(struct mbuf *m, sa_family_t saf) { struct m_tag *tag; @@ -1362,14 +1364,14 @@ * use when injecting the mbuf into the routing socket buffer from * the netisr. */ - if (sa != NULL) { + if (saf != AF_MAX) { tag = m_tag_get(PACKET_TAG_RTSOCKFAM, sizeof(unsigned short), M_NOWAIT); if (tag == NULL) { m_freem(m); return; } - *(unsigned short *)(tag + 1) = sa->sa_family; + *(unsigned short *)(tag + 1) = saf; m_tag_prepend(m, tag); } #ifdef VIMAGE -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 16:33:37 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 206651065672 for ; Mon, 11 Apr 2011 16:33:37 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 81CB88FC13 for ; Mon, 11 Apr 2011 16:33:35 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p3BGXUBu059555; Mon, 11 Apr 2011 23:33:30 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4DA32D55.8040707@rdtc.ru> Date: Mon, 11 Apr 2011 23:33:25 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Przemyslaw Frasunek References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> <4DA2DD17.6020702@frasunek.com> <4DA2E981.2010302@rdtc.ru> <4DA2EC6F.2040205@frasunek.com> <4DA2EEC0.4040704@rdtc.ru> <4DA31240.6010206@frasunek.com> In-Reply-To: <4DA31240.6010206@frasunek.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "net@freebsd.org" Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 16:33:37 -0000 On 11.04.2011 21:37, Przemyslaw Frasunek wrote: >> You should really consider moving to amd64 if your hardware supports it. >> For routing with mpd and serving lots of users there is no reason to stay with i386. > > Yes, hardware is pretty new and standard - I use Intel SR1630GP platforms on all > of my PPPoE access servers, so there shouldn't be any problems with amd64. > > But I'm quite unsure if moving to amd64 will help with my current mpd related > issues and always there is a risk that another problems may appear. You obviously fighting kernel memory problems - amd64 takes lots of such problems away. > So I'd rather stabilize my current configuration on 7.4/i386. > > BTW. Few months ago I was still running 6.4, which was much more stable than > 7.x. I was experimenting with 8.1, but kernel panics occured almost every day. > So I decided to move to 7.4. I understand. My 8.1 routers have been panicing almost every day too before glebius' fixes. With these fixes, my panics have disapeared totally. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 16:57:27 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F6451065670 for ; Mon, 11 Apr 2011 16:57:27 +0000 (UTC) (envelope-from fjcosta@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B065C8FC12 for ; Mon, 11 Apr 2011 16:57:26 +0000 (UTC) Received: by fxm11 with SMTP id 11so4918039fxm.13 for ; Mon, 11 Apr 2011 09:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=bpgHVHz8StUjXMRX0qAtjEDHwg5MZ/qsK/RQqbb1Aes=; b=NnEQua0XdFrKo2YFr218G76yBdBnfGbc3B6BIDQ9/xmMd+hPTL9eeuG/YM4U/8Klsg RvF0IfZKguZUd1qqBn4Khade5WoxBGaEXx4otVbahVhJC6v63ulFXF67mMwQ5DkdYQr5 lkk9GMmzNyNkzKrScrWP5uSClige8KwThc/FM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=oNBl1sRxZB1BYbsIlQcLTvQD5kaXVGlklaO9d3CHJOTJWd+Kr1MX7bxWl4ZmdHGmaz 7F6Fv5K6ChjjrlLfNYOM0nzPM1vSNa+mp7VeUKd0UMuGvMDKtESt5+Pz2wATwumTYpdi 20XXXnd9S74sGXwjFBh4QgSSth0CJm0FrSg1Q= MIME-Version: 1.0 Received: by 10.223.14.137 with SMTP id g9mr60835faa.8.1302541045235; Mon, 11 Apr 2011 09:57:25 -0700 (PDT) Received: by 10.223.102.68 with HTTP; Mon, 11 Apr 2011 09:57:25 -0700 (PDT) In-Reply-To: <20110411090229.GY84445@FreeBSD.org> References: <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D309983.70709@rdtc.ru> <201101141437.55421.jhb@freebsd.org> <4D9DA940.4090804@rdtc.ru> <4D9EE3D1.5030608@frasunek.com> <4D9EFDD3.7070009@rdtc.ru> <20110411090229.GY84445@FreeBSD.org> Date: Mon, 11 Apr 2011 13:57:25 -0300 Message-ID: From: =?UTF-8?Q?Fl=C3=A1vio?= To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: panic: bufwrite: buffer is not busy??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 16:57:27 -0000 2011/4/11 Gleb Smirnoff : > =C2=A0Hi! > > =C2=A0Can you please share the core & kernel.debug? > > Totus tuus, Glebius. > I will soon send you an e-mail with a link to download both kernel.debug and vmcore From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 17:07:37 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAC13106564A for ; Mon, 11 Apr 2011 17:07:37 +0000 (UTC) (envelope-from fjcosta@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 662E38FC1E for ; Mon, 11 Apr 2011 17:07:35 +0000 (UTC) Received: by fxm11 with SMTP id 11so4927641fxm.13 for ; Mon, 11 Apr 2011 10:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=W/tDNWIUvfKnC5j92iBO8okpMop6WxX9C6af/bBMrN4=; b=HLk2vPOW8+gdzKYbiInlII87ox7FebnKH/DMi2IUC5NpV4dN6ge4QJmL66Jz+igTfB p9jClJ0gND3/q5VfQoZxxfslhYHd5NQLbkDxsmwshKOLIsR5Bh2tqAgF9f2sth9rgI03 c8GnZE+qyQRJS11VbvdSkqjcLJW0YwRPyQjgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EOih2Dw9DjaZy+dbEpBg6c8MgGRCf95vD/hS1Ir/j4M7G7ZSBpO/6wYfsOOgfIc5mU e8i+GVP5AkSHiOgIE5yYVY2SCL2qITCX2VY6oNRVigFbEZsUc2JWecyBQdK0LRZCkhol p+PmVcvIWcSFuwkgKcFjDeaVndRKLiRR1ZcLI= MIME-Version: 1.0 Received: by 10.223.54.148 with SMTP id q20mr1882119fag.84.1302541654225; Mon, 11 Apr 2011 10:07:34 -0700 (PDT) Received: by 10.223.102.68 with HTTP; Mon, 11 Apr 2011 10:07:34 -0700 (PDT) In-Reply-To: References: <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D309983.70709@rdtc.ru> <201101141437.55421.jhb@freebsd.org> <4D9DA940.4090804@rdtc.ru> <4D9EE3D1.5030608@frasunek.com> <4D9EFDD3.7070009@rdtc.ru> Date: Mon, 11 Apr 2011 14:07:34 -0300 Message-ID: From: =?UTF-8?Q?Fl=C3=A1vio?= To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: panic: bufwrite: buffer is not busy??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 17:07:37 -0000 On Mon, Apr 11, 2011 at 11:18 AM, Andrew Boyer wr= ote: > Would you please elaborate on this? =C2=A0Is that Feb-04-2010 or Apr-02-2= 010? =C2=A0Do you have the before and after commit numbers? > > Thank you, > =C2=A0Andrew > > On Apr 11, 2011, at 12:37 AM, Fl=C3=A1vio wrote: > >> Some patch between 02/04 and 09/09 fixed core dumps so now I can provide= real info on those panics: > > -------------------------------------------------- > Andrew Boyer =C2=A0 =C2=A0aboyer@averesystems.com > > Sorry, it was a typo. In 2011-04-02 I synced some of my servers with HEAD (yes, I know I should not use HEAD in a production environment, but I have some 7.2 servers doing fine, which allow me to test development versions) and rebuild world but then they started to panic every other day and would always hang while dumping core In 2011-04-09 I resynced and updated my kernel. Yesterday one my servers with HEAD panicked and dumped core normally, so I assume there was some patch in that week which fixed the issue. Where can I see those commit numbers? From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 18:53:38 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6798E1065675; Mon, 11 Apr 2011 18:53:38 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC818FC15; Mon, 11 Apr 2011 18:53:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BIrcH9057197; Mon, 11 Apr 2011 18:53:38 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BIrcAf057193; Mon, 11 Apr 2011 18:53:38 GMT (envelope-from remko) Date: Mon, 11 Apr 2011 18:53:38 GMT Message-Id: <201104111853.p3BIrcAf057193@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-net@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/156328: [icmp]: host can ping other subnet but no have IP from that subnet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 18:53:38 -0000 Old Synopsis: host can ping other subnet but no have IP from that subnet New Synopsis: [icmp]: host can ping other subnet but no have IP from that subnet Responsible-Changed-From-To: freebsd-i386->freebsd-net Responsible-Changed-By: remko Responsible-Changed-When: Mon Apr 11 18:52:31 UTC 2011 Responsible-Changed-Why: I recall Bjoern saying that ICMP is a bit weird wrt packets, but lets reassign to -net to be sure (bz?) http://www.freebsd.org/cgi/query-pr.cgi?pr=156328 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 21:40:42 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B3A106566B for ; Mon, 11 Apr 2011 21:40:42 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from zimbra.averesystems.com (75-149-8-245-Pennsylvania.hfc.comcastbusiness.net [75.149.8.245]) by mx1.freebsd.org (Postfix) with ESMTP id 713868FC15 for ; Mon, 11 Apr 2011 21:40:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 96E8844A005; Mon, 11 Apr 2011 17:25:45 -0400 (EDT) X-Virus-Scanned: amavisd-new at averesystems.com Received: from zimbra.averesystems.com ([127.0.0.1]) by localhost (zimbra.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jIqsYTCWFp2D; Mon, 11 Apr 2011 17:25:44 -0400 (EDT) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 562CF8BC002; Mon, 11 Apr 2011 17:25:44 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Andrew Boyer In-Reply-To: Date: Mon, 11 Apr 2011 17:25:29 -0400 Message-Id: <5D8B29C6-FCDC-4AAE-9AD7-9BF43152F02A@averesystems.com> References: <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D309983.70709@rdtc.ru> <201101141437.55421.jhb@freebsd.org> <4D9DA940.4090804@rdtc.ru> <4D9EE3D1.5030608@frasunek.com> <4D9EFDD3.7070009@rdtc.ru> To: =?iso-8859-1?Q?Fl=E1vio?= X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: panic: bufwrite: buffer is not busy??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 21:40:42 -0000 Thank you for the response. This is slightly off-topic for the = freebsd-net list, but I was hoping your experience might help me with = http://www.freebsd.org/cgi/query-pr.cgi?pr=3D155421. You can look up commits by number at = http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D220257, = etc. 220257 is the first commit on 2011-04-02, and 220507 is the last = commit on 2011-04-09. I don't see any smoking guns in-between, though. -Andrew On Apr 11, 2011, at 1:07 PM, Fl=E1vio wrote: > On Mon, Apr 11, 2011 at 11:18 AM, Andrew Boyer = wrote: >> Would you please elaborate on this? Is that Feb-04-2010 or = Apr-02-2010? Do you have the before and after commit numbers? >>=20 >> Thank you, >> Andrew >>=20 >> On Apr 11, 2011, at 12:37 AM, Fl=E1vio wrote: >>=20 >>> Some patch between 02/04 and 09/09 fixed core dumps so now I can = provide real info on those panics: >>=20 >> -------------------------------------------------- >> Andrew Boyer aboyer@averesystems.com >>=20 >>=20 >=20 > Sorry, it was a typo. >=20 > In 2011-04-02 I synced some of my servers with HEAD (yes, I know I > should not use HEAD in a production environment, but I have some 7.2 > servers doing fine, which allow me to test development versions) and > rebuild world but then they started to panic every other day and would > always hang while dumping core >=20 > In 2011-04-09 I resynced and updated my kernel. Yesterday one my > servers with HEAD panicked and dumped core normally, so I assume there > was some patch in that week which fixed the issue. >=20 > Where can I see those commit numbers? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -------------------------------------------------- Andrew Boyer aboyer@averesystems.com From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 22:40:00 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD3A31065675; Mon, 11 Apr 2011 22:40:00 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6658FC08; Mon, 11 Apr 2011 22:40:00 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:a071:5ff:fe37:53a5] (unknown [IPv6:2a02:2928:a:ffff:a071:5ff:fe37:53a5]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 4FBFE23944A; Tue, 12 Apr 2011 00:39:59 +0200 (CEST) Message-ID: <4DA3833F.6080707@frasunek.com> Date: Tue, 12 Apr 2011 00:39:59 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-net@freebsd.org, Eugene Grosbein , glebius@FreeBSD.org References: <4D947756.6050808@freebsd.lublin.pl> <4D9F6C71.1040209@frasunek.com> <4DA171BA.9000507@frasunek.com> <4DA1E39C.9090300@rdtc.ru> <4DA23090.8060206@frasunek.com> <20110411054932.GU84445@FreeBSD.org> <4DA2A5AA.4060802@frasunek.com> <4DA2ABFA.7030108@rdtc.ru> <20110411075626.GV84445@glebius.int.ru> <20110411081845.GW84445@FreeBSD.org> In-Reply-To: <20110411081845.GW84445@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Subject: Re: mpd5/Netgraph issues after upgrading to 7.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:40:00 -0000 > T> Ah, I found where EPERM comes from. Will fix it soon. > Sorry, I was wrong :( I managed to track down EPERMs back to ng_make_node() call from ng_mkpeer() in netgraph/ng_base.c:1460. I'll add some additional printfs inside ng_make_node(). From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 22:47:14 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C59EC106566C; Mon, 11 Apr 2011 22:47:14 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC238FC0A; Mon, 11 Apr 2011 22:47:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BMlE7g064661; Mon, 11 Apr 2011 22:47:14 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BMlENQ064656; Mon, 11 Apr 2011 22:47:14 GMT (envelope-from gavin) Date: Mon, 11 Apr 2011 22:47:14 GMT Message-Id: <201104112247.p3BMlENQ064656@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/149786: [bwn] bwn on Dell Inspiron 1150: connections stall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:47:14 -0000 Synopsis: [bwn] bwn on Dell Inspiron 1150: connections stall Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: gavin Responsible-Changed-When: Mon Apr 11 22:46:18 UTC 2011 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=149786 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 22:48:02 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB8D4106566C; Mon, 11 Apr 2011 22:48:02 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 825328FC0A; Mon, 11 Apr 2011 22:48:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BMm2T4064812; Mon, 11 Apr 2011 22:48:02 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BMm2Qs064808; Mon, 11 Apr 2011 22:48:02 GMT (envelope-from gavin) Date: Mon, 11 Apr 2011 22:48:02 GMT Message-Id: <201104112248.p3BMm2Qs064808@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/136943: [wpi] [lor] wpi0_com_lock / wpi0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:48:02 -0000 Synopsis: [wpi] [lor] wpi0_com_lock / wpi0 Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: gavin Responsible-Changed-When: Mon Apr 11 22:46:18 UTC 2011 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=136943 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 22:50:32 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB7D106564A; Mon, 11 Apr 2011 22:50:32 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A10478FC18; Mon, 11 Apr 2011 22:50:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BMoWb1067923; Mon, 11 Apr 2011 22:50:32 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BMoWHp067913; Mon, 11 Apr 2011 22:50:32 GMT (envelope-from gavin) Date: Mon, 11 Apr 2011 22:50:32 GMT Message-Id: <201104112250.p3BMoWHp067913@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-bugs@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/143874: [pci] wpi0 could not allocate memory resource X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:50:32 -0000 Old Synopsis: [wpi] Wireless 3945ABG error. wpi0 could not allocate memory resource New Synopsis: [pci] wpi0 could not allocate memory resource Responsible-Changed-From-To: freebsd-net->freebsd-bugs Responsible-Changed-By: gavin Responsible-Changed-When: Mon Apr 11 22:46:18 UTC 2011 Responsible-Changed-Why: This is not an issue with the wpi(4) driver itself, but the PCI code. http://www.freebsd.org/cgi/query-pr.cgi?pr=143874 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 22:54:01 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3017B106566C; Mon, 11 Apr 2011 22:54:01 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0536F8FC08; Mon, 11 Apr 2011 22:54:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BMs00I073221; Mon, 11 Apr 2011 22:54:00 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BMs0vx073217; Mon, 11 Apr 2011 22:54:00 GMT (envelope-from gavin) Date: Mon, 11 Apr 2011 22:54:00 GMT Message-Id: <201104112254.p3BMs0vx073217@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/144987: [wpi] [panic] injecting packets with wlaninject using Intel 3945ABG wireless card gives kernel panic X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:54:01 -0000 Synopsis: [wpi] [panic] injecting packets with wlaninject using Intel 3945ABG wireless card gives kernel panic Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: gavin Responsible-Changed-When: Mon Apr 11 22:46:18 UTC 2011 Responsible-Changed-Why: Over to maintaner(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=144987 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 22:57:42 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A757106566B; Mon, 11 Apr 2011 22:57:42 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3FEC8FC14; Mon, 11 Apr 2011 22:57:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BMvfUQ073401; Mon, 11 Apr 2011 22:57:41 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BMvfmm073397; Mon, 11 Apr 2011 22:57:41 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 22:57:41 GMT Message-Id: <201104112257.p3BMvfmm073397@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/116747: [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile 1400 wireless card X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:57:42 -0000 Synopsis: [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile 1400 wireless card Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 22:57:37 UTC 2011 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=116747 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:01:01 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF60106566C; Mon, 11 Apr 2011 23:01:01 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 833F78FC0C; Mon, 11 Apr 2011 23:01:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BN11d3076998; Mon, 11 Apr 2011 23:01:01 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BN11ux076989; Mon, 11 Apr 2011 23:01:01 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:01:01 GMT Message-Id: <201104112301.p3BN11ux076989@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: bin/131549: ifconfig(8) can't clear 'monitor' mode on the wireless device X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:01:01 -0000 Synopsis: ifconfig(8) can't clear 'monitor' mode on the wireless device Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:00:31 UTC 2011 Responsible-Changed-Why: new wireless mailing list; not a kern/ bug http://www.freebsd.org/cgi/query-pr.cgi?pr=131549 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:17:56 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A54B1065670; Mon, 11 Apr 2011 23:17:56 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F386F8FC12; Mon, 11 Apr 2011 23:17:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNHtHn092358; Mon, 11 Apr 2011 23:17:55 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNHtuf092354; Mon, 11 Apr 2011 23:17:55 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:17:55 GMT Message-Id: <201104112317.p3BNHtuf092354@freefall.freebsd.org> To: Stephen.Liss@gmail.com, eadler@FreeBSD.org, freebsd-net@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/93886: [ath] Atheros/D-Link DWL-G650 long delay to associate on 6.1-PRERELEASE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:17:56 -0000 Synopsis: [ath] Atheros/D-Link DWL-G650 long delay to associate on 6.1-PRERELEASE State-Changed-From-To: feedback->closed State-Changed-By: eadler State-Changed-When: Mon Apr 11 23:17:55 UTC 2011 State-Changed-Why: feedback timeout http://www.freebsd.org/cgi/query-pr.cgi?pr=93886 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:18:21 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C80071065678; Mon, 11 Apr 2011 23:18:21 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 99A3A8FC19; Mon, 11 Apr 2011 23:18:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNILOU092520; Mon, 11 Apr 2011 23:18:21 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNILIY092515; Mon, 11 Apr 2011 23:18:21 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:18:21 GMT Message-Id: <201104112318.p3BNILIY092515@freefall.freebsd.org> To: jonc@chen.org.nz, eadler@FreeBSD.org, freebsd-net@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/117717: [panic] Kernel panic with Bittorrent client. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:18:21 -0000 Synopsis: [panic] Kernel panic with Bittorrent client. State-Changed-From-To: suspended->closed State-Changed-By: eadler State-Changed-When: Mon Apr 11 23:18:20 UTC 2011 State-Changed-Why: 6.x not supported http://www.freebsd.org/cgi/query-pr.cgi?pr=117717 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:19:00 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 274F810656EF; Mon, 11 Apr 2011 23:19:00 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F08328FC1D; Mon, 11 Apr 2011 23:18:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNIxTn092762; Mon, 11 Apr 2011 23:18:59 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNIxK1092758; Mon, 11 Apr 2011 23:18:59 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:18:59 GMT Message-Id: <201104112318.p3BNIxK1092758@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/124767: [iwi] Wireless connection using iwi0 driver (Intel 2200 BG) keeps getting disconnected X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:19:00 -0000 Synopsis: [iwi] Wireless connection using iwi0 driver (Intel 2200 BG) keeps getting disconnected Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:18:52 UTC 2011 Responsible-Changed-Why: new wireless mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=124767 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:20:09 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A3FA106566C; Mon, 11 Apr 2011 23:20:09 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5C78FC12; Mon, 11 Apr 2011 23:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNK9bd092999; Mon, 11 Apr 2011 23:20:09 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNK9l7092995; Mon, 11 Apr 2011 23:20:09 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:20:09 GMT Message-Id: <201104112320.p3BNK9l7092995@freefall.freebsd.org> To: matheus@eternamente.info, eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/134168: [ral] ral driver problem on RT2525 2.4GHz transceiver + RT2560 MAC/BBP wireless X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:20:09 -0000 Synopsis: [ral] ral driver problem on RT2525 2.4GHz transceiver + RT2560 MAC/BBP wireless State-Changed-From-To: open->feedback State-Changed-By: eadler State-Changed-When: Mon Apr 11 23:20:07 UTC 2011 State-Changed-Why: new wireless mailing list; also make sure you loaded rt2561fw.ko Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:20:07 UTC 2011 Responsible-Changed-Why: new wireless mailing list; also make sure you loaded rt2561fw.ko http://www.freebsd.org/cgi/query-pr.cgi?pr=134168 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:22:39 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4C8F1065672; Mon, 11 Apr 2011 23:22:39 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8964B8FC13; Mon, 11 Apr 2011 23:22:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNMdCa001445; Mon, 11 Apr 2011 23:22:39 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNMd4K001441; Mon, 11 Apr 2011 23:22:39 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:22:39 GMT Message-Id: <201104112322.p3BNMd4K001441@freefall.freebsd.org> To: mnd999@gmail.com, eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/125332: [ath] [panic] crash under any non-tiny networking under amd64 7-STABLE with ath X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:22:39 -0000 Synopsis: [ath] [panic] crash under any non-tiny networking under amd64 7-STABLE with ath State-Changed-From-To: feedback->open State-Changed-By: eadler State-Changed-When: Mon Apr 11 23:22:37 UTC 2011 State-Changed-Why: the submitter no longer has the machine and there may not enough information to debug. You may want to close it if you agree Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:22:37 UTC 2011 Responsible-Changed-Why: the submitter no longer has the machine and there may not enough information to debug. You may want to close it if you agree http://www.freebsd.org/cgi/query-pr.cgi?pr=125332 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:26:03 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34E811065670; Mon, 11 Apr 2011 23:26:03 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 09FA68FC08; Mon, 11 Apr 2011 23:26:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNQ276001637; Mon, 11 Apr 2011 23:26:02 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNQ2pG001633; Mon, 11 Apr 2011 23:26:02 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:26:02 GMT Message-Id: <201104112326.p3BNQ2pG001633@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/125721: [ath] Terrible throughput/high ping latency with Ubiquiti SR9/XR9 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:26:03 -0000 Synopsis: [ath] Terrible throughput/high ping latency with Ubiquiti SR9/XR9 Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:26:02 UTC 2011 Responsible-Changed-Why: change resp. to new mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=125721 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:26:05 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B32FF106566C; Mon, 11 Apr 2011 23:26:05 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88B7E8FC0A; Mon, 11 Apr 2011 23:26:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNQ5gd001707; Mon, 11 Apr 2011 23:26:05 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNQ5ad001703; Mon, 11 Apr 2011 23:26:05 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:26:05 GMT Message-Id: <201104112326.p3BNQ5ad001703@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/126214: [ath] txpower problem with Atheros wifi card X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:26:05 -0000 Synopsis: [ath] txpower problem with Atheros wifi card Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:26:05 UTC 2011 Responsible-Changed-Why: change resp. to new mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=126214 From owner-freebsd-net@FreeBSD.ORG Mon Apr 11 23:26:08 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4205C1065675; Mon, 11 Apr 2011 23:26:08 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 171F78FC14; Mon, 11 Apr 2011 23:26:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BNQ7p9001775; Mon, 11 Apr 2011 23:26:07 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BNQ7JZ001771; Mon, 11 Apr 2011 23:26:07 GMT (envelope-from eadler) Date: Mon, 11 Apr 2011 23:26:07 GMT Message-Id: <201104112326.p3BNQ7JZ001771@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-net@FreeBSD.org, freebsd-wireless@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: kern/126475: [ath] [panic] ath pcmcia card inevitably panics under FreeBSD-7 STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 23:26:08 -0000 Synopsis: [ath] [panic] ath pcmcia card inevitably panics under FreeBSD-7 STABLE Responsible-Changed-From-To: freebsd-net->freebsd-wireless Responsible-Changed-By: eadler Responsible-Changed-When: Mon Apr 11 23:26:07 UTC 2011 Responsible-Changed-Why: change resp. to new mailing list http://www.freebsd.org/cgi/query-pr.cgi?pr=126475 From owner-freebsd-net@FreeBSD.ORG Tue Apr 12 07:40:13 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6025A1065670 for ; Tue, 12 Apr 2011 07:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 375398FC0A for ; Tue, 12 Apr 2011 07:40:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3C7eCWP078417 for ; Tue, 12 Apr 2011 07:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3C7eC5T078413; Tue, 12 Apr 2011 07:40:12 GMT (envelope-from gnats) Date: Tue, 12 Apr 2011 07:40:12 GMT Message-Id: <201104120740.p3C7eC5T078413@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Clement LECIGNE Cc: Subject: Re: kern/155988 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Clement LECIGNE List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 07:40:13 -0000 The following reply was made to PR kern/155988; it has been noted by GNATS. From: Clement LECIGNE To: Gleb Smirnoff Cc: bug-followup@FreeBSD.org Subject: Re: kern/155988 Date: Tue, 12 Apr 2011 09:18:37 +0200 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Gleb, Thanks for your reply, my comments are inlined. Mon, Apr 11, 2011 at 04:01:27PM +0400, Gleb Smirnoff wrote: > Hello, Clement! >=20 > #13 0x406b196c in rtexpunge (rt=3D0x614728b8) at ../../../net/route.c:810 > #14 0x406f7eef in arplookup (addr=3DVariable "addr" is not available. > ) at ../../../netinet/if_ether.c:1198 >=20 > Have you got original, not patched 7.3-RELEASE-p3? You have arplookup() > calling rtexpunge() in line 1198 of if_ether.c. Mine line is 1034: >=20 > glebius@think:~:|>fetch -qo - http://svn.freebsd.org/base/release/7.3.0/s= ys/netinet/if_ether.c | grep -n rtexpunge > 1034: rtexpunge(rt); >=20 > Also, the file itself is 1072 lines long: >=20 > glebius@think:~:|>fetch -qo - http://svn.freebsd.org/base/release/7.3.0/= sys/netinet/if_ether.c | wc -l > 1072 >=20 > Can you please clarify this? Oups I have sent you the wrong backtrace, I have tested without our patches (just one to limit the number of arp entries to make it fast) and the crash occurs too. >=20 > Also, ARP code has been significantly changed in the stable/8 branch of F= reeBSD. > If the bug can't be reproduced in 8.2-RELEASE, then the PR is going to be= closed > as fixed. In fact, I have tested and I can't reproduce it in 8.2-RELEASE with and without our patches. So I think we can close it as fixed, we have a crappy workaround for our appliances. Thanks, --=20 Cl=E9ment LECIGNE, Perl combines the power of sh, the clarity of sed, and the performance of a= wk with the simplicity of C. --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJNo/zMAAoJEGApiCuiwtY3T4kIAKTuGOXebiOCl4JdSPbzZceI 8wC5SUF/loVNuzZnc0n6j2C4cL40LmPzVHi6D9QoOdWsu2quJXDxVQuTIn5M31Lh fieeftcXYtkeT9kuUQRJEYCQqm/IBJWCH+IDx7DLDAysKlFBy2XNbE24rcPPZnHZ ZmbLDqd8ewn5qWnJbS879s6J0XXddJaHGeJbH2LuAoB3ymetZ/BkU32l5TgPXCnT EfSUkCuACDSZUgiqSQ4SKGvLy8Xsz5yKpSJ1OCUax6UrBN7C1P+h3vMxVlWiQIOq mhXx2xrc33eGMDA3Ok6asYeTXAlfeUlDU+FcpgZcQVrCgwvNh0AzFaYRcc3efvU= =B0EG -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-net@FreeBSD.ORG Tue Apr 12 08:03:43 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2D30106568E; Tue, 12 Apr 2011 08:03:43 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE188FC15; Tue, 12 Apr 2011 08:03:43 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3C83h66005102; Tue, 12 Apr 2011 08:03:43 GMT (envelope-from glebius@freefall.freebsd.org) Received: (from glebius@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3C83hoC005098; Tue, 12 Apr 2011 08:03:43 GMT (envelope-from glebius) Date: Tue, 12 Apr 2011 08:03:43 GMT Message-Id: <201104120803.p3C83hoC005098@freefall.freebsd.org> To: clement.lecigne@netasq.com, glebius@FreeBSD.org, freebsd-net@FreeBSD.org From: glebius@FreeBSD.org Cc: Subject: Re: kern/155988: [arp] [panic] RADIX_NODE_HEAD_LOCK_ASSERT in rtexpunge() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 08:03:43 -0000 Synopsis: [arp] [panic] RADIX_NODE_HEAD_LOCK_ASSERT in rtexpunge() State-Changed-From-To: open->closed State-Changed-By: glebius State-Changed-When: Tue Apr 12 08:03:06 UTC 2011 State-Changed-Why: The problem is fixed in the stable/8 branch. http://www.freebsd.org/cgi/query-pr.cgi?pr=155988 From owner-freebsd-net@FreeBSD.ORG Tue Apr 12 19:47:25 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8BF5106564A; Tue, 12 Apr 2011 19:47:25 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF0638FC0C; Tue, 12 Apr 2011 19:47:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3CJlP8J047166; Tue, 12 Apr 2011 19:47:25 GMT (envelope-from bz@freefall.freebsd.org) Received: (from bz@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3CJlPLd047161; Tue, 12 Apr 2011 19:47:25 GMT (envelope-from bz) Date: Tue, 12 Apr 2011 19:47:25 GMT Message-Id: <201104121947.p3CJlPLd047161@freefall.freebsd.org> To: dominique.goncalves@gmail.com, bz@FreeBSD.org, freebsd-net@FreeBSD.org, bz@FreeBSD.org From: bz@FreeBSD.org Cc: Subject: Re: kern/156278: [vlan] ifa_add_loopback_route: insertion failed with ifconfig down/up X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:47:25 -0000 Synopsis: [vlan] ifa_add_loopback_route: insertion failed with ifconfig down/up State-Changed-From-To: open->closed State-Changed-By: bz State-Changed-When: Tue Apr 12 19:46:25 UTC 2011 State-Changed-Why: Problem solved with the MFC from PR 150481 as submitter reports. Thanks! Responsible-Changed-From-To: freebsd-net->bz Responsible-Changed-By: bz Responsible-Changed-When: Tue Apr 12 19:46:25 UTC 2011 Responsible-Changed-Why: Track possible follow-ups. http://www.freebsd.org/cgi/query-pr.cgi?pr=156278 From owner-freebsd-net@FreeBSD.ORG Wed Apr 13 19:55:58 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 029131065673 for ; Wed, 13 Apr 2011 19:55:58 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail36.syd.optusnet.com.au (mail36.syd.optusnet.com.au [211.29.133.76]) by mx1.freebsd.org (Postfix) with ESMTP id 889FF8FC13 for ; Wed, 13 Apr 2011 19:55:57 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail36.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p3DJtsXt013967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Apr 2011 05:55:55 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p3DJtsXA081900 for ; Thu, 14 Apr 2011 05:55:54 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p3DJtrMt081899 for freebsd-net@freebsd.org; Thu, 14 Apr 2011 05:55:53 +1000 (EST) (envelope-from peter) Date: Thu, 14 Apr 2011 05:55:53 +1000 From: Peter Jeremy To: freebsd-net@freebsd.org Message-ID: <20110413195553.GA6773@server.vk2pj.dyndns.org> References: <20110410211012.GA82480@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline In-Reply-To: <20110410211012.GA82480@server.vk2pj.dyndns.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Diskless booting issues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 19:55:58 -0000 --PmA2V3Z32TCmWXqI Content-Type: multipart/mixed; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've managed to resolve one of the problems I raised. On 2011-Apr-11 07:10:12 +1000, Peter Jeremy wrote: >For various reasons, I occasionally boot my netbook as a diskless >client of my main server (this is a quick/easy way to test upgrades >without needing to install them). Since I got a query about this, this is "diskless" in the old Sun diskless workstation sense - the filesystem is mounted RW so the netbook behaves normally except that the filesystem is remote rather than the local SSD. This is different to the approach assumed by /etc/rc.initdiskless where the remote filesystem is RO with some magic directory trees that are copied to a local RW ramdisk. >First problem: If it loses network connectivity (ie, I unplug the >network cable) for more than a minute or so, it seems to lockup and >need a hard reboot, even if the network is restored. I haven't gotten anywhere with this. >Second problem: When running on the local SSD, I have lagg setup so >it seamlessly switches between wired and wifi (this is really nice). >Partially to resolve the above and partially to improve portability, >I'd like to do the same when running diskless but can't work out how >to make it work. > >The relevant bits of my native rc.conf look like: > ifconfig_re0=3D"up" > ifconfig_ath0=3D"ether XX:XX:XX:XX:XX:XX" > wlans_ath0=3D"wlan0" > ifconfig_wlan0=3D"WPA" > cloned_interfaces=3D"lagg0" > ifconfig_lagg0=3D"SYNCDHCP laggproto failover laggport re0 laggport wlan0" > >Gluing this in the diskless rc.conf gives me a hang during startup, as >does changing 'SYNCDHCP' to 'inet MYHOST' and adding 'up'. Turns out that > ifconfig lagg0 inet MYHOST laggproto failover laggport re0 laggport wlan= 0 up results in MYHOST existing on both re0 and lagg0 and this causes the network to completely stop - even if you later remove one of the IP addresses. You need to remove the IP address from re0 before adding it to lagg0. This presents a bit of a catch-22 since once I remove the IP address from re0, I no longer have access to a filesystem to run an ifconfig to add the IP adddress to lagg0. My solution was to use a temporary ramdisk to hold a statically-linked copy of ifconfig in a new rc.d script (see attached) to handle moving the IP address from re0 to lagg0 and then let the existing netif handle the wifi side with te following rc.conf entries (cf above): ifconfig_ath0=3D"ether XX:XX:XX:XX:XX:XX" wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA" ifconfig_lagg0=3D"laggport wlan0" --=20 Peter Jeremy --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=lagg #!/bin/sh # # Create lagg0 if necessary and flip current IP address from re0 to lagg0 # PROVIDE: lagg # REQUIRE: FILESYSTEMS # BEFORE: netif # KEYWORD: nojail . /etc/rc.subr . /etc/network.subr name="lagg" start_cmd="lagg_start" stop_cmd=":" cmdifn= : ${lagg_phys:=re0} : ${lagg_dev:=lagg0} : ${lagg_tmp:=/mnt} lagg_start() { # Ensure that the lagg device exists ifexists "$lagg_dev" || ifconfig "$lagg_dev" create # Create a ramdisk to temporarily hold a copy of ifconfig md_dev=$(/sbin/mdconfig -a -t swap -s 8m) mdmfs -S -s 8m -o async $md_dev "$lagg_tmp" # Copy /rescue (because it's statically linked) tar -cf - -C /rescue . | tar -xf - -C "$lagg_tmp" ### Actually flip the interface # Wanted IP address addr=$(/mnt/ifconfig "$lagg_phys" | grep 'inet ') # Delete address from existing interface /mnt/ifconfig "$lagg_phys" delete # Setup new interface /mnt/ifconfig "$lagg_dev" $addr laggport "$lagg_phys" up # Unwind ramdisk umount /mnt mdconfig -d -u ${md_dev#md} } load_rc_config $name run_rc_command "$@" --ZGiS0Q5IWpPtfppv-- --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2l/8kACgkQ/opHv/APuIcULwCfQNFMbVTbmddOhQj20YS72iI7 1R4AmwVzQz4azeA/XfMPfQC4VWK09BWH =Tt0e -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI-- From owner-freebsd-net@FreeBSD.ORG Wed Apr 13 23:45:15 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 960711065673 for ; Wed, 13 Apr 2011 23:45:15 +0000 (UTC) (envelope-from if@xip.at) Received: from chile.gbit.at (ns1.xip.at [193.239.188.99]) by mx1.freebsd.org (Postfix) with ESMTP id DDDEE8FC20 for ; Wed, 13 Apr 2011 23:45:14 +0000 (UTC) Received: (qmail 29919 invoked from network); 14 Apr 2011 01:45:11 +0200 Received: from unknown (HELO filebunker.xip.at) (89.207.145.147) by chile.gbit.at with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Apr 2011 01:45:11 +0200 Date: Thu, 14 Apr 2011 01:45:11 +0200 (CEST) From: Ingo Flaschberger To: freebsd-net@freebsd.org Message-ID: User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: interface ip arp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 23:45:15 -0000 Hi, is it expected behaviour that the static, permanent arp entry of the interface ip disappear after ifdown/ifup at 8.x release? ifconfig em0 10.20.20.1/24 arp -an | grep 10.20.20.1 ? (10.20.20.1) at xx:xx:xx:xx:xx:xx on em0 permanent [ethernet] ifconfig em0 down ifconfig em0 up arp -an | grep 10.20.20.1 nothing Mit freundlichen Gruessen, Ingo Flaschberger Geschaeftsleitung ____________________________________ crossip communications gmbh A-1020 Wien, Sebastian Kneipp Gasse 1/3 Sitz der Gesellschaft: 1020 Wien, Oesterreich Firmenbuchgericht: Handelsgericht Wien, FN 269698 s, Umsatzsteueridentifikationsnummer (UID): ATU62080367 Haftungsausschluss / Disclaimer From owner-freebsd-net@FreeBSD.ORG Thu Apr 14 15:00:25 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 718231065673 for ; Thu, 14 Apr 2011 15:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 459148FC17 for ; Thu, 14 Apr 2011 15:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3EF0Phb074493 for ; Thu, 14 Apr 2011 15:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3EF0P56074491; Thu, 14 Apr 2011 15:00:25 GMT (envelope-from gnats) Date: Thu, 14 Apr 2011 15:00:25 GMT Message-Id: <201104141500.p3EF0P56074491@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/154676: commit references a PR X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 15:00:25 -0000 The following reply was made to PR kern/154676; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/154676: commit references a PR Date: Thu, 14 Apr 2011 14:54:35 +0000 (UTC) Author: glebius Date: Thu Apr 14 14:54:22 2011 New Revision: 220622 URL: http://svn.freebsd.org/changeset/base/220622 Log: Revert r194662, since it breaks ng_ksocket(4) and may break other socket consumers with alternate sb_upcall. PR: kern/154676 Submitted by: Arnaud Lacombe MFC after: 7 days Modified: head/sys/kern/uipc_sockbuf.c Modified: head/sys/kern/uipc_sockbuf.c ============================================================================== --- head/sys/kern/uipc_sockbuf.c Thu Apr 14 14:25:47 2011 (r220621) +++ head/sys/kern/uipc_sockbuf.c Thu Apr 14 14:54:22 2011 (r220622) @@ -528,9 +528,6 @@ sbappendstream_locked(struct sockbuf *sb SBLASTMBUFCHK(sb); - /* Remove all packet headers and mbuf tags to get a pure data chain. */ - m_demote(m, 1); - sbcompress(sb, m, sb->sb_mbtail); sb->sb_lastrecord = sb->sb_mb; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri Apr 15 09:30:15 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96439106566C for ; Fri, 15 Apr 2011 09:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6A3EB8FC15 for ; Fri, 15 Apr 2011 09:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3F9UEmq009108 for ; Fri, 15 Apr 2011 09:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3F9UEM0009104; Fri, 15 Apr 2011 09:30:14 GMT (envelope-from gnats) Date: Fri, 15 Apr 2011 09:30:14 GMT Message-Id: <201104150930.p3F9UEM0009104@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Sergey V. Dyatko" Cc: Subject: Re: kern/154676: [netgraph] [panic] HEAD, 8.1-RELEASE panic after some play with netgraph X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sergey V. Dyatko" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 09:30:15 -0000 The following reply was made to PR kern/154676; it has been noted by GNATS. From: "Sergey V. Dyatko" To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/154676: [netgraph] [panic] HEAD, 8.1-RELEASE panic after some play with netgraph Date: Fri, 15 Apr 2011 12:06:04 +0300 Hi, Arnaud and glebius@, thanks. Reverting adrian@`s commit helps. Tested on -CURRENT, i386 (r220649) and 8-STABLE, amd64 (r220557) -- wbr, tiger From owner-freebsd-net@FreeBSD.ORG Fri Apr 15 09:50:12 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D6961065672 for ; Fri, 15 Apr 2011 09:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 719DF8FC1D for ; Fri, 15 Apr 2011 09:50:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3F9oCcL027907 for ; Fri, 15 Apr 2011 09:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3F9oCZB027906; Fri, 15 Apr 2011 09:50:12 GMT (envelope-from gnats) Date: Fri, 15 Apr 2011 09:50:12 GMT Message-Id: <201104150950.p3F9oCZB027906@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Sergey V. Dyatko" Cc: Subject: Re: kern/154676: [netgraph] [panic] HEAD, 8.1-RELEASE panic after some play with netgraph X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sergey V. Dyatko" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 09:50:12 -0000 The following reply was made to PR kern/154676; it has been noted by GNATS. From: "Sergey V. Dyatko" To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/154676: [netgraph] [panic] HEAD, 8.1-RELEASE panic after some play with netgraph Date: Fri, 15 Apr 2011 12:48:34 +0300 Hi, ooooops, adrian@ sorry, I meen commit from andre@ -- wbr, tiger From owner-freebsd-net@FreeBSD.ORG Fri Apr 15 10:03:06 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F711106566C; Fri, 15 Apr 2011 10:03:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 54F658FC14; Fri, 15 Apr 2011 10:03:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3FA36vC044556; Fri, 15 Apr 2011 10:03:06 GMT (envelope-from glebius@freefall.freebsd.org) Received: (from glebius@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3FA36KP044551; Fri, 15 Apr 2011 10:03:06 GMT (envelope-from glebius) Date: Fri, 15 Apr 2011 10:03:06 GMT Message-Id: <201104151003.p3FA36KP044551@freefall.freebsd.org> To: sergey.dyatko@gmail.com, glebius@FreeBSD.org, freebsd-net@FreeBSD.org From: glebius@FreeBSD.org Cc: Subject: Re: kern/154676: [netgraph] [panic] HEAD, 8.1-RELEASE panic after some play with netgraph X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 10:03:06 -0000 Synopsis: [netgraph] [panic] HEAD, 8.1-RELEASE panic after some play with netgraph State-Changed-From-To: open->patched State-Changed-By: glebius State-Changed-When: Fri Apr 15 10:02:54 UTC 2011 State-Changed-Why: Fixed in head. http://www.freebsd.org/cgi/query-pr.cgi?pr=154676 From owner-freebsd-net@FreeBSD.ORG Fri Apr 15 22:57:47 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6863106566B for ; Fri, 15 Apr 2011 22:57:47 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout2-b.corp.re1.yahoo.com (mrout2-b.corp.re1.yahoo.com [69.147.107.21]) by mx1.freebsd.org (Postfix) with ESMTP id 931438FC0C for ; Fri, 15 Apr 2011 22:57:47 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout2-b.corp.re1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id p3FMhoEH038607 for ; Fri, 15 Apr 2011 15:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=yahoo-inc.com; s=cobra; t=1302907430; bh=ThoNK2oN3SxmyKqduOaZuYxfd1cIbRdxqXGOZKZtick=; h=Subject:From:To:Content-Type:Date:Message-ID:Mime-Version: Content-Transfer-Encoding; b=uU6rbcdVqYZH9OTW2nkC4o8JUJFCvYWmhjgltzpbbvmZLBOCR5sNxo0EQefWSUBbd 5OtBxWlMYoTezhEwUSNZcrI/AHFgLGJ/Yq9AS8ZQ1GZntbrHsG7rjxECBhb9tDe7A3 VlncfNZH8vj2OH2rV/7NzdV87WtPcOwdwj3CmjoA= From: Sean Bruno To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Date: Fri, 15 Apr 2011 15:43:50 -0700 Message-ID: <1302907430.4297.43.camel@hitfishpass-lx.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 7bit Subject: bge(4) + asf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 22:57:47 -0000 So, I note that the tuneable bge_allow_asf is set to 0. This effectively disabled IPMI for a few controllers that I have. Is there any reason to *not* turn it on? Sean if_bge.c:: static int bge_allow_asf = 0; TUNABLE_INT("hw.bge.allow_asf", &bge_allow_asf); bge0@pci0:1:0:0: class=0x020000 card=0x01eb1028 chip=0x165914e4 rev=0x21 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)' class = network subclass = ethernet bge1@pci0:2:0:0: class=0x020000 card=0x01eb1028 chip=0x165914e4 rev=0x21 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Gigabit Ethernet PCI Express (BCM5721)' class = network subclass = ethernet bge0: mem 0xefef0000-0xefefffff irq 33 at device 0.0 on pci1 bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xefef0000 bge0: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 256 to vector 56 bge0: using IRQ 256 for MSI bge0: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: OUI 0x000818, model 0x0018, rev. 0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: bpf attached bge0: Ethernet address: 00:18:8b:7d:cc:23 bge0: [MPSAFE] bge0: [ITHREAD] pcib5: irq 37 at device 9.0 on pci0 pcib5: domain 0 pcib5: secondary bus 2 pcib5: subordinate bus 2 pcib5: I/O decode 0xf000-0xfff pcib5: memory decode 0xeff00000-0xefffffff pcib5: no prefetched decode pci2: on pcib5 pci2: domain=0, physical bus=2 found-> vendor=0x14e4, dev=0x1659, revid=0x21 domain=0, bus=2, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0xefff0000, size 16, enabled pcib5: requested memory range 0xefff0000-0xefffffff: good pcib5: matched entry for 2.0.INTA pcib5: slot 0 INTA hardwired to IRQ 37 bge1: mem 0xefff0000-0xefffffff irq 37 at device 0.0 on pci2 bge1: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xefff0000 bge1: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 257 to vector 64 bge1: using IRQ 257 for MSI bge1: CHIP ID 0x00004201; ASIC REV 0x04; CHIP REV 0x42; PCI-E miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: OUI 0x000818, model 0x0018, rev. 0 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: bpf attached From owner-freebsd-net@FreeBSD.ORG Sat Apr 16 05:56:36 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E05B2106564A for ; Sat, 16 Apr 2011 05:56:36 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4678FC0A for ; Sat, 16 Apr 2011 05:56:36 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7DD8019E02E; Sat, 16 Apr 2011 07:56:34 +0200 (CEST) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C1CE919E02D; Sat, 16 Apr 2011 07:56:32 +0200 (CEST) Message-ID: <4DA92F90.2050204@quip.cz> Date: Sat, 16 Apr 2011 07:56:32 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.18) Gecko/20110320 SeaMonkey/2.0.13 MIME-Version: 1.0 To: Sean Bruno References: <1302907430.4297.43.camel@hitfishpass-lx.corp.yahoo.com> In-Reply-To: <1302907430.4297.43.camel@hitfishpass-lx.corp.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" Subject: Re: bge(4) + asf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 05:56:37 -0000 Sean Bruno wrote: > So, I note that the tuneable bge_allow_asf is set to 0. This > effectively disabled IPMI for a few controllers that I have. Is there > any reason to *not* turn it on? > > Sean > > if_bge.c:: > > static int bge_allow_asf = 0; > > TUNABLE_INT("hw.bge.allow_asf",&bge_allow_asf); > There were some reports about freezes with bge_allow_asf=1. I am using hw.bge.allow_asf=1 in loader.conf for a few years on our Sun Fire X2100 M2 machines without any problems. Miroslav Lachman From owner-freebsd-net@FreeBSD.ORG Sat Apr 16 06:46:37 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18635106564A for ; Sat, 16 Apr 2011 06:46:37 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C64388FC0A for ; Sat, 16 Apr 2011 06:46:36 +0000 (UTC) Received: by pwj8 with SMTP id 8so1863977pwj.13 for ; Fri, 15 Apr 2011 23:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=FXd79Oe5hpnCs4N6fjHPd3GT4au2G3AFYmZHM7/eSBg=; b=xETH4Eej2b92dvVJwghNe/nGrblKJkgiEwnI7N2tagrn9XmMxvhMsuyCVVQLYZMwml skEYXL8OVVy+iZ6rLANJHiGmVuR5/B0xaYacQ35CEhxJR5qhsfGdE24eb++d6Pp/FUaW syEbaQOHJone9EuvERDcb9TFtZ1aVwuKlYqLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=AZLhHeP29tjlDXC2LWzmt5a2hJ24XsLUJBx54J5ksgsNfiOwDQIifjQg+lF1A6rHfT XdB0+7zXeXO+KvE4zoc75CQdgIZAp6TbsJZrVg039kugH6dr0saX3RQf450X/8CFez6w IiXAHcrBB6yFhkdkJ4NhDkqPEuNa2CfgOU63Y= MIME-Version: 1.0 Received: by 10.68.39.137 with SMTP id p9mr2925680pbk.145.1302936396235; Fri, 15 Apr 2011 23:46:36 -0700 (PDT) Received: by 10.68.42.3 with HTTP; Fri, 15 Apr 2011 23:46:36 -0700 (PDT) Date: Fri, 15 Apr 2011 23:46:36 -0700 Message-ID: From: Garrett Cooper To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: tcpdump allocates more mbufs than allowed by bpf(4)? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 06:46:37 -0000 Hello, I did some poking around tcpdump for work today, and while doing that I ran into this item... $ sysctl net.bpf net.bpf.zerocopy_enable: 0 net.bpf.maxinsns: 512 net.bpf.maxbufsize: 524288 net.bpf.bufsize: 4096 Before I start tcpdump: $ vmstat -m | grep BPF BPF 26 12K - 127 16,128,512,4096 After I start tcpdump: $ vmstat -m | grep BPF BPF 30 1036K - 127 16,128,512,4096 The value set is of course 2*net.bpf.maxbufsize, not 32kB like one of the authors did in [1]. I was wondering why this particular limit isn't being strictly adhered to at the kernel level, except when dealing with the BPF, or if this maximum buffer size is designed to be a per buffer length. It looks like the latter based on what I saw in /sys/net/bpf_buffer.c, but I just wanted to clarify that that was the intended effect. Thanks! -Garrett 1. https://github.com/mcr/libpcap/commit/e154e275c22d803ce187e97dfbef19a26707c0ed From owner-freebsd-net@FreeBSD.ORG Sat Apr 16 18:14:51 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2435106564A for ; Sat, 16 Apr 2011 18:14:50 +0000 (UTC) (envelope-from rondzierwa@comcast.net) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id A1CB68FC18 for ; Sat, 16 Apr 2011 18:14:50 +0000 (UTC) Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA11.westchester.pa.mail.comcast.net with comcast id YHxh1g0080vyq2s5BJ1c1i; Sat, 16 Apr 2011 18:01:36 +0000 Received: from sz0128.wc.mail.comcast.net ([76.96.58.192]) by omta05.westchester.pa.mail.comcast.net with comcast id YJ1b1g00948qnZY3RJ1bBT; Sat, 16 Apr 2011 18:01:35 +0000 Date: Sat, 16 Apr 2011 18:01:35 +0000 (UTC) From: rondzierwa@comcast.net To: freebsd-net@freebsd.org Message-ID: <349334508.1236453.1302976895873.JavaMail.root@sz0128a.westchester.pa.mail.comcast.net> In-Reply-To: <20110416120032.CD03910656B3@hub.freebsd.org> MIME-Version: 1.0 X-Originating-IP: [68.50.136.212] X-Mailer: Zimbra 6.0.5_GA_2431.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/6.0.5_GA_2427.RHEL4) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: natd starting after firewall rules are loaded X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 18:14:51 -0000 I am upgrading my firewall/router/web server machine from 4.9 to 8.2 release an am having problems with ipfw/natd. I made basically the same defs in rc.conf to enable the firewall and natd but I get an error during rc.firewall on the divert command saying something about an error on the divert socket. The natd socket number is being translated properly (8668) because i can see the command echoed on the console. After the firewall rules are loaded, the rc script then loads natd, Once the system is up, i can ipfw list and the divert command is, in fact, not there, but by this time natd is running. If I run the rc.firewall script interactively, it completes successfully and the divert rule is in the list, and everyone is happy again. In 4.9 there used to be a rc.network script that started natd before it loaded the firewall rules. I do not see it in 8.2 anymore, instead it looks like rc simply runs the scripts in rc.d alphabetically, so natd comes after ipfw. I can't believe i'm the only one using ipfw and natd with 8.2, so it seems to me that i just don't know the secret handshake that will make it work. does anybody have any suggestions? thanks, ron.