From owner-freebsd-bugs Wed Nov 13 12:29:21 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99ADA37B404 for ; Wed, 13 Nov 2002 12:29:19 -0800 (PST) Received: from newtecamerica.com (www.NewtecAmerica.com [64.69.103.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id C77A443E42 for ; Wed, 13 Nov 2002 12:29:18 -0800 (PST) (envelope-from gchandran@newtecamerica.com) Received: from newtecamerica.com [192.168.16.29] by newtecamerica.com with Novonyx SMTP Server $Revision: 2.71 $; Wed, 13 Nov 2002 15:21:21 -0500 (EDT) Message-ID: <3DD2B43C.9040507@newtecamerica.com> Date: Wed, 13 Nov 2002 15:21:16 -0500 From: Girish Chandran User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bugs@FreeBSD.org Subject: Kernel panic: Dummynet and Bridging 4.6-stable Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am using the 4.6 stable kernel. I compiled a kernel (call it Kernel A) with firewalling and bridging options. options BRIDGE options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 Bridging appears to work fine. ( net.link.ether.bridge=1 net.link.ether.bridge_ipfw=1 net.link.ether.bridge_cfg=fxp0:0,em0:0 ) Then I added options DUMMYNET and compiled the kernel (call it Kernel B) again. Kernel panic with automatic reboots. Here is the error message Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0229f5b stack pointer = 0x10:0xcdcdfdfc frame pointer = 0x10:0xcdcdfe08 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 = 47 (sysctl) interrupt mask = none trap number = 12 panic: page fault syncing disks... 8 3 2 1 done Uptime: 28s Automatic reboot in 15 seconds ... I also noticed that during boot (before the kernel panic) there are a set of messages with can't re-use a leaf (bridge_xxx) can't re-use a leaf (bridge_yyy) can't re-use a leaf (bridge_zzz) .... I did not see these messages with a kernel A. Then I booted using Kernel A, commented out the sysctl variables for bridging. Then I booted using Kernel B. Kernel B now boots fine. Any suggestions? Thanks Girish Chandran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message