From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 14 05:30:18 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E49C16A41F for ; Fri, 14 Oct 2005 05:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F11E43D48 for ; Fri, 14 Oct 2005 05:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9E5UHt9035630 for ; Fri, 14 Oct 2005 05:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9E5UHBe035629; Fri, 14 Oct 2005 05:30:17 GMT (envelope-from gnats) Resent-Date: Fri, 14 Oct 2005 05:30:17 GMT Resent-Message-Id: <200510140530.j9E5UHBe035629@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Dionissopoulos Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43EA716A41F for ; Fri, 14 Oct 2005 05:29:27 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FC0043D46 for ; Fri, 14 Oct 2005 05:29:27 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9E5TQXA071281 for ; Fri, 14 Oct 2005 05:29:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9E5TQ6B071280; Fri, 14 Oct 2005 05:29:26 GMT (envelope-from nobody) Message-Id: <200510140529.j9E5TQ6B071280@www.freebsd.org> Date: Fri, 14 Oct 2005 05:29:26 GMT From: Chris Dionissopoulos To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/87421: KERNEL PANIC: ng_ether +ng_eiface + if_bridge X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 05:30:18 -0000 >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@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: