misc/87421: KERNEL PANIC: ng_ether +ng_eiface + if_bridge

Chris Dionissopoulos dionch at freemail.gr
Thu Oct 13 22:30:18 PDT 2005


>Number:         87421
>Category:       misc
>Synopsis:       KERNEL PANIC: ng_ether +ng_eiface + if_bridge
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 05:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Chris Dionissopoulos
>Release:        FreeBSD6-BETA5
>Organization:
>Environment:
FreeBSD mail.local 6.0-BETA5 FreeBSD 6.0-BETA5 #4: Fri Sep 30 19:10:42 EEST 2005     root at mail.local:/usr/obj/usr/src/sys/MAIL  i386
>Description:
              I get a kernel panic when i'm using if_bridge bridge0 interface with 2 virtuals (ng_eiface) and one physical (xl0). 
The panic message is:
sbflush_locked: cc 0 || mb 0xc1aa2400 || mbcnt 512
>How-To-Repeat:
kldload ng_ether
kldload ng_eiface

#create a bridge & 2 virtuals
ifconfig bridge0 create
ngctl mkpeer . eiface hook ether
ngctl mkpeer . eiface hook ether
# give them some settings
ifconfig ngeth0 ether 01:02:03:04:05:00
ifconfig ngeth0 192.168.1.2/24
ifconfig ngeth1 ether 01:02:03:04:05:01
ifconfig ngeth1 192.168.3.2/24
ifconfig bridge0 addm ngeth0 addm ngeth1 addm xl0
ifconfig bridge0 up

# Count traffic using ipfw
ipfw add 1 count ip from any to any in recv ngeth0
ipfw add 1 count ip from any to any out xmit ngeth0
ipfw add 2 count ip from any to any in recv ngeth1
ipfw add 2 count ip from any to any out xmit ngeth1
ipfw add 3 count ip from any to any in recv bridge0
ipfw add 4 count ip from any to any out xmit bridge0

and wait a few seconds for kernel to panic.

Traffic flows via physical(xl0) when i shoot these commands.
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list