From owner-freebsd-pf@FreeBSD.ORG Sun Apr 11 12:45:08 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30E0B106564A; Sun, 11 Apr 2010 12:45:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id B14098FC1A; Sun, 11 Apr 2010 12:45:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id BF19A41C707; Sun, 11 Apr 2010 14:45:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id AMsm5N6KJwda; Sun, 11 Apr 2010 14:45:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 063CF41C6A1; Sun, 11 Apr 2010 14:45:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 7B01D4448EC; Sun, 11 Apr 2010 12:43:42 +0000 (UTC) Date: Sun, 11 Apr 2010 12:43:42 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Jille Timmermans In-Reply-To: <8d194046e93da0b44295f29a75a5775f@imap.hexon.cx> Message-ID: <20100411124229.Q40281@maildrop.int.zabbadoz.net> References: <8d194046e93da0b44295f29a75a5775f@imap.hexon.cx> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: Panic with VIMAGE and pf X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 12:45:08 -0000 On Sun, 11 Apr 2010, Jille Timmermans wrote: Hi, > I was trying to enable VIMAGE (for use with jails) but stumbled upon the > following panic: > > Fatal trap 12: page fault while in kernel mode > fault virtual address: 0x28 > current proceess = 38 (pfctl) > > db> bt > pfil_head_get() at +0x41 > pfioctl() at +0x11f2 > devfs_ioctl_f() at +0x77 > kern_ioctl() at +0xf6 > ioctl() at +0xf0 > syscall() +0x137 > > I can easily reproduce this in single user mode using: > # kldload pf > # pfctl -f /etc/pf.conf > > I disabled VIMAGE and the panic didn't occur anymore. > > I'm running amd64 stable/8; r206458. (I also tried this 3 weeks ago; but > had the same problem) > > I'm not able to get a dump; the memory dump-thing stalls after printing > the first mark. This is a FAQ. pf hasn't been virtulaized (in-tree) yet. See http://lists.freebsd.org/pipermail/freebsd-virtualization/2010-February/000449.html for how far it is and how to get it. That might, btw., be the better list to ask VIMAGE questions;) /bz -- Bjoern A. Zeeb It will not break if you know what you are doing.