Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2012 16:09:16 GMT
From:      Nikolay <exzzec@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/165488: Fatal trap 12 jails and ppp , kernel with vimage, altq, pf
Message-ID:  <201202261609.q1QG9GmB072718@red.freebsd.org>
Resent-Message-ID: <201202261610.q1QGA0Td000802@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202261609.q1QG9GmB072718>