From owner-freebsd-ipfw@FreeBSD.ORG Tue Mar 4 16:30:06 2008 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3437C1065672 for ; Tue, 4 Mar 2008 16:30:06 +0000 (UTC) (envelope-from ady@ady.ro) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.242]) by mx1.freebsd.org (Postfix) with ESMTP id E679B8FC14 for ; Tue, 4 Mar 2008 16:30:05 +0000 (UTC) (envelope-from ady@ady.ro) Received: by ag-out-0708.google.com with SMTP id 31so992178agc.3 for ; Tue, 04 Mar 2008 08:30:04 -0800 (PST) Received: by 10.142.103.6 with SMTP id a6mr576921wfc.21.1204648202500; Tue, 04 Mar 2008 08:30:02 -0800 (PST) Received: by 10.143.167.6 with HTTP; Tue, 4 Mar 2008 08:30:02 -0800 (PST) Message-ID: <78cb3d3f0803040830t68f4ad54w8b6f021a83d2d03f@mail.gmail.com> Date: Tue, 4 Mar 2008 18:30:02 +0200 From: "Adrian Penisoara" Sender: ady@ady.ro To: "Fratiman Vladut" In-Reply-To: <47CD6F3B.9060805@spaingsm.com> MIME-Version: 1.0 References: <47CC602A.7030300@spaingsm.com> <78cb3d3f0803040112j443413e9u1e8b319ab7f2187d@mail.gmail.com> <78cb3d3f0803040119g7bfa060m71ac2b6814bc2937@mail.gmail.com> <47CD6F3B.9060805@spaingsm.com> X-Google-Sender-Auth: 028b62c4be607b0e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ipfw@freebsd.org Subject: Re: savecore: reboot after panic: X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 16:30:06 -0000 Hi, On Tue, Mar 4, 2008 at 5:48 PM, Fratiman Vladut wrote: > With *kgdb* , obtain this: > Unread portion of the kernel message buffer: > panic: vm_fault: fault on nofault entry, addr: e13d0000 > cpuid = 0 > Uptime: 1h8m8s > Physical memory: 882 MB > Dumping 63 MB: 48 32 16 > > #0 doadump () at pcpu.h:195 > 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); > (kgdb) Quit Quite a short stack trace, not sure whether it helps. > > > I use ipfw with dummynet because can use dynamically rules for shaping. > With altq, need to put rule for every host, in order to share bandwith > equal to all host in lan. If i have hundredth of host, this can be > painful. > This is why i use dummynet with ipfw. > You are probably referring to dummynet's mask classifier. I guess this would be a good reason to attempt implementing similar mask classifiers into pf(4). Regards, Adrian Penisoara ROFUG / EnterpriseBSD > > > Adrian Penisoara wrote: > > Hi, > > > > On Mon, Mar 3, 2008 at 10:31 PM, Fratiman Vladut > > wrote: > > > > Hi! > > I try to implement some load balancing using pf. I use also ipfw for > > traffic shaping. > > > > > > Have you tried to use traffic shaping with ALTQ inside pf ? Perhaps > > there is a negative side-effect when combining ipfw and pf this way. > > > > > > > > In pf.conf, my rules are this: > > nat on $ext_if1 from $lan_net to any -> ($ext_if1) > > nat on $ext_if2 from $lan_net to any -> ($ext_if2) > > > > pass in on $int_if route-to { ($ext_if1 $ext_gw1), ($ext_if2 > > $ext_gw2), > > ($ext_if2 $ext_gw2) } round-robin from $lan_net to any keep state > > > > pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to > any > > pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to > any > > > > All work fine, but after some time , my system reboot. I found with > > dmesg, this error: > > savecore: reboot after panic: vm_fault: fault on nofault entry, > addr: > > e13d0000 > > Mar 3 21:29:47 server savecore: reboot after panic: vm_fault: > > fault on > > nofault entry, addr: e13d0000 > > savecore: writing core to vmcore.1 > > > > > > Have you tried to extract a gdb stack trace from the core file ? See > > link below: > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html > > > > Regards, > > Adrian Penisoara > > ROFUG / EnterpriseBSD > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" >