From owner-freebsd-net@FreeBSD.ORG Tue Aug 20 15:01:10 2013 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 ESMTP id 166456C for ; Tue, 20 Aug 2013 15:01:10 +0000 (UTC) (envelope-from flavio@dcc.ufrj.br) Received: from ilha.dcc.ufrj.br (ilha.dcc.ufrj.br [146.164.41.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A85E260C for ; Tue, 20 Aug 2013 15:01:09 +0000 (UTC) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) (Authenticated sender: flavio) by ilha.dcc.ufrj.br (Postfix) with ESMTP id 799FD480004A for ; Tue, 20 Aug 2013 11:41:28 -0300 (BRT) Received: by mail-wg0-f43.google.com with SMTP id z12so461047wgg.22 for ; Tue, 20 Aug 2013 07:41:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=T3B7I5G1cFZ2mE3rCOh1iYmavwyQ8+/I30W2Pyez9OM=; b=PlsSEfdl63YHLwe0/HfzwfhzEHwuGOqcmDeYQthxg0U6hJyeL2nJs8ZGZEyxp6hshq fMah4zv3ibmmot5PDQJQLwHefwhC3wG1+7UFb26JGZMn2kuXRMmISn6bugD2RYq3cGeQ zDHCTtXOSwx/UuPCTS06LPQ6eDPSfOo+m4J+gQlvU+rHpTVheBQ8MLsGEMrdpcfq2GOO SwlRK8oWrWwPPTuuclI1a2P0uKO0wSWTHLqtDEzWcIIppMfKAQtOrlDevX8n2HCfIW/m Qj7tThY1Fpo7ERO9V+5aRsNMPWCbIm7WZVCz98OK+UputJd1xdx4K+Q+/4eSz72GGf68 MbCA== MIME-Version: 1.0 X-Received: by 10.180.198.44 with SMTP id iz12mr1581578wic.32.1377009686742; Tue, 20 Aug 2013 07:41:26 -0700 (PDT) Received: by 10.216.181.9 with HTTP; Tue, 20 Aug 2013 07:41:26 -0700 (PDT) Date: Tue, 20 Aug 2013 11:41:26 -0300 Message-ID: Subject: mpd5, PPPoE, STABLE-9, kernel panics From: =?UTF-8?Q?Fl=C3=A1vio?= To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 20 Aug 2013 15:01:10 -0000 (Apologies because of my poor english, it's not my first language. Corrections are welcome. It's also my first post to this mailing-list) I'm having some issues running a KVM-virtualized FreeBSD 9-STABLE (somewhat 4 weeks old, so it has the latest netgraph code). I'm also running a 7.4-RELEASE (also virtualized) system on the same machine which has a way better stability record, although not stellar, but I think it would be way more interesting to find out what is keeping my 9-STABLE from being rock solid instead of relying on FreeBSD 7.4. Right now it serves a 4000 clients network as a PPPoE server. There's also another 6 servers (non-virtualized), all running 7.4-RELEASE, serving the same network, so I can experiment with my 9-STABLE installation. I will copy the stack trace from one of the four core.txt files I currently have. If requested I can copy more info, recompile my kernel with debugging flags to test etc. Just ask. panic: page fault 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 "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: processor eflags = interrupt enabled, resume, IOPL = 0 current process = 32079 (mpd5) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff804b0c86 at kdb_backtrace+0x66 #1 0xffffffff80476bee at panic+0x1ce #2 0xffffffff806fbc30 at trap_fatal+0x290 #3 0xffffffff806fbf91 at trap_pfault+0x211 #4 0xffffffff806fc544 at trap+0x344 #5 0xffffffff806e5873 at calltrap+0x8 #6 0xffffffff80553e47 at ng_add_hook+0xb7 #7 0xffffffff8055598f at ng_apply_item+0x3bf #8 0xffffffff80554934 at ng_snd_item+0x3b4 #9 0xffffffff8056400f at ngc_send+0x1df #10 0xffffffff804e71c6 at sosend_generic+0x3f6 #11 0xffffffff804eaaa3 at kern_sendit+0x1a3 #12 0xffffffff804ead5c at sendit+0xdc #13 0xffffffff804eae4d at sys_sendto+0x4d #14 0xffffffff806fb3da at amd64_syscall+0x5ea #15 0xffffffff806e5b57 at Xfast_syscall+0xf7 Uptime: 3h42m8s Dumping 118 out of 1011 MB:..14%..27%..41%..54%..68%..81%..95% #0 doadump (textdump=) at pcpu.h:234 234 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=) at pcpu.h:234 #1 0xffffffff804766c6 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 #2 0xffffffff80476bc7 in panic (fmt=0x1
) at /usr/src/sys/kern/kern_shutdown.c:637 #3 0xffffffff806fbc30 in trap_fatal (frame=0xc, eva=) at /usr/src/sys/amd64/amd64/trap.c:879 #4 0xffffffff806fbf91 in trap_pfault (frame=0xffffff80003c7610, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:795 #5 0xffffffff806fc544 in trap (frame=0xffffff80003c7610) at /usr/src/sys/amd64/amd64/trap.c:463 #6 0xffffffff806e5873 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:232 #7 0xffffffff80556f86 in ng_bpf_newhook (node=, hook=0xfffffe0001b9c380, name=0xfffffe0011e71258 "0-0-m") at /usr/src/sys/netgraph/ng_bpf.c:249 #8 0xffffffff80553e47 in ng_add_hook (node=0xfffffe0026021100, name=0xfffffe0011e71258 "0-0-m", hookp=0xffffff80003c7808) at /usr/src/sys/netgraph/ng_base.c:1092 #9 0xffffffff8055598f in ng_apply_item (node=0xfffffe0026021100, item=0xfffffe0011d90980, rw=1) at /usr/src/sys/netgraph/ng_base.c:1544 #10 0xffffffff80554934 in ng_snd_item (item=, flags=0) at /usr/src/sys/netgraph/ng_base.c:2314 #11 0xffffffff8056400f in ngc_send (so=, flags=, m=0xfffffe0011c36000, addr=, control=, td=) at /usr/src/sys/netgraph/ng_socket.c:317 #12 0xffffffff804e71c6 in sosend_generic (so=0xfffffe0001982000, addr=0xfffffe002602fa20, uio=0xffffff80003c7a00, top=0xfffffe0011c36000, control=0x0, flags=, td=0xfffffe00018ba000) at /usr/src/sys/kern/uipc_socket.c:1367 #13 0xffffffff804eaaa3 in kern_sendit (td=0xfffffe00018ba000, s=5, mp=0xffffff80003c7ad0, flags=0, control=0x0, segflg=) at /usr/src/sys/kern/uipc_syscalls.c:811 #14 0xffffffff804ead5c in sendit (td=0xfffffe00018ba000, s=5, mp=0xffffff80003c7ad0, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:739 #15 0xffffffff804eae4d in sys_sendto (td=, uap=) at /usr/src/sys/kern/uipc_syscalls.c:863 #16 0xffffffff806fb3da in amd64_syscall (td=0xfffffe00018ba000, traced=0) at subr_syscall.c:135 #17 0xffffffff806e5b57 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:391 #18 0x000000080225adcc in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Thanks. Any help will be greatly appreciated.