From owner-freebsd-net@FreeBSD.ORG Thu Apr 7 12:19: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 538381065673; Thu, 7 Apr 2011 12:19:30 +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 B6D468FC1A; Thu, 7 Apr 2011 12:19:29 +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 p37C8bRx075687; Thu, 7 Apr 2011 19:08:37 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4D9DA940.4090804@rdtc.ru> Date: Thu, 07 Apr 2011 19:08:32 +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: John Baldwin References: <4D3011DB.9050900@frasunek.com> <4D30458D.30007@sentex.net> <4D309983.70709@rdtc.ru> <201101141437.55421.jhb@freebsd.org> In-Reply-To: <201101141437.55421.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Przemyslaw Frasunek , Mike Tancsa 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: Thu, 07 Apr 2011 12:19:30 -0000 On 15.01.2011 01:37, John Baldwin wrote: > On Friday, January 14, 2011 1:44:19 pm Eugene Grosbein wrote: >> On 14.01.2011 18:46, Mike Tancsa wrote: >> >>>> I'm using mpd 5.5 on three PPPoE routers, each servicing about 300 PPPoE >>>> concurrent sessions. Routers are based on Intel SR1630GP hardware platforms and >>>> runs FreeBSD 7.3-RELEASE. >>>> >>>> I'm experiencing stability issues related to Netgraph. None of above routers can >>>> survive more than 20-30 days of uptime under typical load. There are different >>>> flavors of kernel panics, but all are somehow related to netgraph. Typical >>>> backtraces follow >>> >>> I also have stability issues on RELENG_8. >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=153497 >> >> And for one of my servers (8.2-PRERELEASE/amd64 with 4GB RAM) I just cannot obtain crashdump, >> it cannot finish to write it. For example, it happened an hour ago: >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 2; apic id = 04 >> fault virtual address = 0x200000040 >> fault code = supervisor read data, page not present >> instruction pointer = 0x20:0xffffffff803cc979 Hi all, I believe this netgraph/mpd stability problem it solved by glebius' patches. I have been testing them in lab and in production for many weeks and they just eliminated my panics altogether. Those patched have been commited to HEAD and RELENG_8. You could want to try them out just by updating to latest 8-STABLE. Btw, I've also solved my problem with unfinishing crashdumps: for some historic reasons I was running stripped kernel within my NanoBSDs. Switching back to normal, unstripped kernel solved this and I've got crashdumps that finally helped Gleb Smirnoff to fix bugs in Netgraph and if.c For those who are interested, here are mentioned patches: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netgraph/ng_base.c#rev1.185 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net/if.c#rev1.399 Eugene Grosbein