Date: Tue, 18 Oct 2005 11:30:15 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/87421: KERNEL PANIC: ng_ether +ng_eiface + if_bridge Message-ID: <200510181130.j9IBUFsW041095@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/87421; it has been noted by GNATS. From: Gleb Smirnoff <glebius@FreeBSD.org> To: Chris Dionissopoulos <dionch@freemail.gr> Cc: thompsa@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/87421: KERNEL PANIC: ng_ether +ng_eiface + if_bridge Date: Tue, 18 Oct 2005 15:26:02 +0400 Chris, a few questions: On Fri, Oct 14, 2005 at 05:29:26AM +0000, Chris Dionissopoulos wrote: C> 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 C> >Description: C> I get a kernel panic when i'm using if_bridge bridge0 interface with 2 virtuals (ng_eiface) and one physical (xl0). C> The panic message is: C> sbflush_locked: cc 0 || mb 0xc1aa2400 || mbcnt 512 Can you please obtain a backtrace, like desribed here: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html C> >How-To-Repeat: C> kldload ng_ether C> kldload ng_eiface C> C> #create a bridge & 2 virtuals C> ifconfig bridge0 create C> ngctl mkpeer . eiface hook ether C> ngctl mkpeer . eiface hook ether C> # give them some settings C> ifconfig ngeth0 ether 01:02:03:04:05:00 C> ifconfig ngeth0 192.168.1.2/24 C> ifconfig ngeth1 ether 01:02:03:04:05:01 C> ifconfig ngeth1 192.168.3.2/24 C> ifconfig bridge0 addm ngeth0 addm ngeth1 addm xl0 C> ifconfig bridge0 up C> C> # Count traffic using ipfw C> ipfw add 1 count ip from any to any in recv ngeth0 C> ipfw add 1 count ip from any to any out xmit ngeth0 C> ipfw add 2 count ip from any to any in recv ngeth1 C> ipfw add 2 count ip from any to any out xmit ngeth1 C> ipfw add 3 count ip from any to any in recv bridge0 C> ipfw add 4 count ip from any to any out xmit bridge0 C> C> and wait a few seconds for kernel to panic. C> C> Traffic flows via physical(xl0) when i shoot these commands. It looks like your ngeth interfaces aren't connected to any graph. Is that true? Is it essential that ng_ether node is loaded? You don't use it in your example. Actually, a bug in interoperation between ng_ether and if_bridge has been fixed in CURRENT. It is not yet merged to RELENG_6. However, your panic looks different. That's why I am asking about backtrace. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510181130.j9IBUFsW041095>