From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 26 16:10:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9DA1065670 for ; Sun, 26 Feb 2012 16:10:01 +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 19FEF8FC14 for ; Sun, 26 Feb 2012 16:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1QGA0iB000803 for ; Sun, 26 Feb 2012 16:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1QGA0Td000802; Sun, 26 Feb 2012 16:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 26 Feb 2012 16:10:00 GMT Resent-Message-Id: <201202261610.q1QGA0Td000802@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nikolay Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19FE106564A for ; Sun, 26 Feb 2012 16:09:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 872108FC12 for ; Sun, 26 Feb 2012 16:09:16 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1QG9GOD072719 for ; Sun, 26 Feb 2012 16:09:16 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q1QG9GmB072718; Sun, 26 Feb 2012 16:09:16 GMT (envelope-from nobody) Message-Id: <201202261609.q1QG9GmB072718@red.freebsd.org> Date: Sun, 26 Feb 2012 16:09:16 GMT From: Nikolay To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/165488: Fatal trap 12 jails and ppp , kernel with vimage, altq, pf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2012 16:10:01 -0000 >Number: 165488 >Category: kern >Synopsis: Fatal trap 12 jails and ppp , kernel with vimage, altq, pf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 26 16:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Nikolay >Release: 9.0-RELEASE >Organization: mycorp >Environment: FreeBSD hell 9.0-RELEASE FreeBSD 9.0-RELEASE #6: Sun Feb 26 16:11:48 YEKT 2012 root@hell:/usr/obj/usr/src/sys/VNETGEN i386 >Description: FreeBSD going to Fatal trap 12 when ppp start and one or more jails is work. I test this on other computer - problems is repeated. If all jails is stop and ppp start system not go to Fatal trap 12. (kernel compile with vimage, altq, pf). If start any jail and start ppp system go fatal trap. If kernel compile without pf and altq then ppp and jails work. hell dumped core - see /var/crash/vmcore.27 Sun Feb 26 19:09:18 YEKT 2012 FreeBSD hell 9.0-RELEASE FreeBSD 9.0-RELEASE #5: Mon Feb 20 09:40:42 YEKT 2012 root@hell:/usr/obj/usr/src/sys/VNETGEN i386 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 "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x18 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0b08b36 stack pointer = 0x28:0xd670097c frame pointer = 0x28:0xd6700994 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 = 51915 (ppp) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0xc0a8c2b7 at kdb_backtrace+0x47 #1 0xc0a595e7 at panic+0x117 #2 0xc0da5733 at trap_fatal+0x323 #3 0xc0da57ed at trap_pfault+0xad #4 0xc0da6575 at trap+0x465 #5 0xc0d8f4cc at calltrap+0x6 #6 0xc0b0df88 at if_alloc+0xb8 #7 0xc0b1e8ec at tuncreate+0x11c #8 0xc0b2071a at tunopen+0x2a #9 0xc0970ae8 at devfs_open+0x128 #10 0xc0dc5b22 at VOP_OPEN_APV+0x42 #11 0xc0af9fc1 at vn_open_cred+0x541 #12 0xc0afa12b at vn_open+0x3b #13 0xc0af159c at kern_openat+0x1ec #14 0xc0af19c5 at kern_open+0x35 #15 0xc0af1a00 at sys_open+0x30 #16 0xc0da5d55 at syscall+0x355 #17 0xc0d8f531 at Xint0x80_syscall+0x21 Uptime: 1h30m38s Physical memory: 491 MB Dumping 173 MB: 158 142 126 110 94 78 62 46 30 14 >How-To-Repeat: 1) compile kernel with altq,vimage,pf ############################# options VIMAGE device epair device if_bridge device pf device pflog device pfsync options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_PRIQ options ALTQ_NOPCC ############################# 2)Create and start jail with use vimage 3)Start ppp >Fix: >Release-Note: >Audit-Trail: >Unformatted: