From owner-freebsd-net@FreeBSD.ORG Mon Jun 23 04:42:47 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCBB2ADD; Mon, 23 Jun 2014 04:42:47 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B0B392B48; Mon, 23 Jun 2014 04:42:47 +0000 (UTC) Received: from Julian-MBP3.local (etroy.elischer.org [121.45.232.70]) (authenticated bits=0) by vps1.elischer.org (8.14.8/8.14.8) with ESMTP id s5N4gfkj090730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 22 Jun 2014 21:42:44 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <53A7B03B.60509@freebsd.org> Date: Mon, 23 Jun 2014 12:42:35 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: =?UTF-8?B?UGF3ZcWCIFR5bGw=?= , Adrian Chadd Subject: Re: FreeBSD 9 as PPPoE BRAS(mpd 5.7) kernel panic References: <53A719C3.3040002@hostelnet.ru> <2510165566.20140623011620@ofca.me> In-Reply-To: <2510165566.20140623011620@ofca.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Net , noc@hostelnet.ru X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 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, 23 Jun 2014 04:42:47 -0000 On 6/23/14, 7:16 AM, Paweł Tyll wrote: > Hello Adrian, > > Sunday, June 22, 2014, 8:14:22 PM, you wrote: >> They're NULL pointer derferences, so it's likely a race condition with >> some other thread destroying something and setting the pointer value >> to NULL somewhere. >> I thought this was a reasonably well known problem? Was it ever fixed >> in 10/head? > It probably wasn't, since I had similar issues on 10-STABLE r266523. > It's caused (most often) by packet returning from traffic shaping > queues, when in the meantime ng interface got destroyed by mpd. That's > why the sleep hack works; mpd destroys interface 1s later that usual. > > Curious though, that hostelnet uses ng_car for traffic shaping, yet > things still panic, even though whole ordeal happens inside netgraph. > > Lots of entry-points for a fix :) probably means we need to look at a netgraph framework based fix. > > _______________________________________________ > 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" >