Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 15:21:16 -0500
From:      Girish Chandran <gchandran@newtecamerica.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Kernel panic: Dummynet and Bridging 4.6-stable
Message-ID:  <3DD2B43C.9040507@newtecamerica.com>

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

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




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