Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 11:37:13 +0300 (EEST)
From:      Jarkko Santala <jake@iki.fi>
To:        freebsd-alpha@freebsd.org
Subject:   Kernel panic with bridge+ipfw
Message-ID:  <20020414113101.Q872-100000@trillian.santala.org>

next in thread | raw e-mail | index | archive | help
Hi all,

Here's the other panic I promised:

-cut-
zem# uname -a
FreeBSD zem.santala.org 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #5: Sun
Apr 14 10:21:50 EEST 2002
root@zem.santala.org:/usr/src/sys/compile/ZEM  alpha
zem#
(wait or generate traffic)
fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0	       = 0x0
    a1	       = 0x1
    a2	       = 0xffffffffffffffff
    pc	       = 0x0
    ra	       = 0xfffffc00004ff4c0
    curproc    = 0

dbbprinttrap from 0x0
ddbprinttrap(0x0, 0x1, 0xffffffffffffffff, 0x2)
panic: trap
panic
Stopped at      Debugger+0x2c:  ldq      ra,0(sp) <0xfffffe0006cffa50>
<ra=0xfffffc0000504520,sp=0xffffe0006cffa50>
Debugger() at Debugger+0x2c
panic() at panic+0x100
trap() at trap+0620
XentMM() at XentMM+0x2c
--- memory management fault (from ipl 1) ---
-cut-

All you have to do is compile a kernel with bridge and firewall, enable
them with sysctl and wait or generate traffic.

Here's the sysctl.conf:
-cut-
net.link.ether.bridge=1
net.link.ether.bridge_ipfw=1
net.link.ether.bridge_cfg=rl0:0,de0:0
-cut-

The catch is that if you give one of the interfaces an IP address the
kernel no longer panics. Any questions?-)

	-jake

-- 
Jarkko Santala <jake@iki.fi>       http://www.iki.fi/jake/
System Administrator               Cell. +358 40 720 4512


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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