From owner-freebsd-stable@FreeBSD.ORG Wed Apr 19 12:15:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58F8316A401; Wed, 19 Apr 2006 12:15:30 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from mx.gfk.ru (mx.gfk.ru [84.21.231.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B27E43D48; Wed, 19 Apr 2006 12:15:28 +0000 (GMT) (envelope-from Yuriy.Tsibizov@gfk.ru) Received: from demon.hhp.local by mx.gfk.ru (MDaemon.PRO.v8.1.4.R) with ESMTP id md50000176863.msg; Wed, 19 Apr 2006 16:15:14 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Apr 2006 16:15:10 +0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: em (+pf+vlan+bridge+netgraph) stop sending packets (?) thread-index: AcZjqueiWgzcqT1ZSRG8M8YOLMePiA== From: "Yuriy Tsibizov" To: X-Spam-Processed: mx.gfk.ru, Wed, 19 Apr 2006 16:15:14 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.8 X-Return-Path: Yuriy.Tsibizov@gfk.ru X-MDAV-Processed: mx.gfk.ru, Wed, 19 Apr 2006 16:15:18 +0400 Cc: glebius@FreeBSD.org Subject: em (+pf+vlan+bridge+netgraph) stop sending packets (?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 12:15:30 -0000 I run a 6.1-RC (as of Apr, 14th) and after a day nothing can be sent = from em interface. It is a filtering+accounting bridge-on-a-stick, with em interface = connected to 3Com Switch 4200 100Mbit (not Gbit) port with 4 tagged = vlans on it: # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. hostname=3D"XXXX.gfk.ru" defaultrouter=3D"10.X.X.X" ifconfig_sis0=3D"10.X.X.X/24" ifconfig_em0=3D"up" cloned_interfaces=3D"vlan0 vlan1 vlan2 vlan3 bridge0 bridge1" ifconfig_vlan0=3D"84.X.X.X/28 vlan 21 vlandev em0 up" ifconfig_vlan1=3D"vlan 22 vlandev em0 up" ifconfig_bridge0=3D"addm vlan0 addm vlan1 up" ifconfig_vlan2=3D"217.X.X.X/29 vlan 31 vlandev em0 up" ifconfig_vlan3=3D"vlan 32 vlandev em0 up" ifconfig_bridge1=3D"addm vlan2 addm vlan3 up" syslogd_flags=3D"-ss" sshd_enable=3D"YES" ipsec_enable=3D"YES" pf_enable=3D"YES" pf_rules=3D"/etc/pf.freeroute" pflog_enable=3D"YES" and kernel is GENERIC with unused hardware removed and=20 #### options DEVICE_POLLING options IPSEC options IPSEC_ESP options IPSEC_FILTERGIF device vlan device pf device pflog device pfsync device if_bridge # altq(9). Enable the base part of the hooks with the ALTQ option. # also have the ALTQ_NOPCC option. options ALTQ options ALTQ_CBQ # Class Bases Queueing options ALTQ_RED # Random Early Detection options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler options ALTQ_CDNR # Traffic conditioner options ALTQ_PRIQ # Priority Queueing options ALTQ_NOPCC # Required for SMP build #options ALTQ_DEBUG added. em0 is=20 em0@pci0:10:0: class=3D0x020000 card=3D0x002e8086 chip=3D0x100e8086 = rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82540EM Gigabit Ethernet Controller' class =3D network subclass =3D ethernet em0: port = 0xb400-0xb43f mem 0xd7ea0000-0xd7ebffff,0xd7e80000-0xd7e9ffff irq 18 at = device 10.0 on pci0 em0: [GIANT-LOCKED] em0: Ethernet address: 00:07:e9:09:c2:3d Polling was not used (I'll try to work with polling enabled on em0). ALTQ is not configured, pf has all block rules logged and I can't see = anything relevant logged to pflog. This machine also use netgraph netflow for traffic accounting on vlan = interfaces, but shutting down all netgraph nodes does not help. Turning vlans, bridge and em down and up does not help too. Traffic is received (I can see pairs of OSPF HELO messages from ISP = router logged on pflog0 exactly every 10 seconds), but it looks like = nothing can be sent. Yuriy Tsibizov, GfK RUS