From scf@farley.org Wed Aug 20 21:11:47 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E18D1065674 for ; Wed, 20 Aug 2008 21:11:47 +0000 (UTC) (envelope-from scf@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id EF4128FC22 for ; Wed, 20 Aug 2008 21:11:46 +0000 (UTC) (envelope-from scf@farley.org) Received: from thor.farley.org (root@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m7KKx5At011630 for ; Wed, 20 Aug 2008 15:59:06 -0500 (CDT) (envelope-from scf@mail.farley.org) Received: from thor.farley.org (localhost [127.0.0.1]) by thor.farley.org (8.14.2/8.14.2) with ESMTP id m7KKx5mB042580 for ; Wed, 20 Aug 2008 15:59:05 -0500 (CDT) (envelope-from scf@thor.farley.org) Received: (from sean@localhost) by thor.farley.org (8.14.2/8.14.2/Submit) id m7KKx5NB042579; Wed, 20 Aug 2008 15:59:05 -0500 (CDT) (envelope-from scf) Message-Id: <200808202059.m7KKx5NB042579@thor.farley.org> Date: Wed, 20 Aug 2008 15:59:05 -0500 (CDT) From: Sean Farley Reply-To: Sean Farley To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: rtfree messages and network disruption upon use of if_bridge(4) X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 126695 >Category: kern >Synopsis: rtfree messages and network disruption upon use of if_bridge(4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-net >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 20 21:20:02 UTC 2008 >Closed-Date: >Last-Modified: Wed Aug 20 16:22:53 CDT 2008 >Originator: Sean Farley >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD thor.farley.org 7.0-STABLE FreeBSD 7.0-STABLE #0 r181375M: Thu Aug 7 10:14:36 CDT 2008 sean@thor.farley.org:/usr/FreeBSD/RELENG_7/obj/usr/FreeBSD/RELENG_7/src/sys/THOR i386 Multiple machines exhibit this: 1. Athlon XP (i386, two em and one sk NIC's) 2. Intel Q6600 (i386, one em NIC) 2. Intel Core 2 Duo 6300 (amd64, one bge NIC) >Description: On a 7-STABLE (built August 7th), I have noticed messages appearing in /var/log/messages: Aug 7 15:07:17 thor kernel: rtfree: 0xc7143a2c has 2 refs Aug 7 15:07:19 thor last message repeated 2 times Aug 7 15:09:28 thor last message repeated 3 times Aug 7 15:11:54 thor last message repeated 9 times This happens if I set up a bridge to have em0 and tap0 such as from: ifconfig bridge0 create ifconfig bridge0 addm em0 ifconfig bridge0 addm tap0 When I start QEMU on tap0, I would immediately lose IPv6 on em0 and eventually IPv4 would go away. I would get a lot more of messages about rtfree with QEMU started. From experimentation (and some luck), I found that if I reversed the devices on a newly created bridge then the rtfree messages would go away, but I would have problems with tap0. The workaround: create two tap devices tap0 and tap1 and add to bridge0 in the order of tap1, tap0 and em0. On another system, I noticed that a bridge between real NIC's (em1 and sk0) also reports an rtfree message during boot. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: scf Responsible-Changed-When: Wed Aug 20 16:21:37 CDT 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=126695 >Unformatted: