Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 16:15:10 +0400
From:      "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
To:        <freebsd-stable@freebsd.org>
Cc:        glebius@FreeBSD.org
Subject:   em (+pf+vlan+bridge+netgraph) stop sending packets (?)
Message-ID:  <D6B2C454E5A77B4D8DA0B863D3D6D492CC2FCE@demon.hhp.local>

next in thread | raw e-mail | index | archive | help
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: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6B2C454E5A77B4D8DA0B863D3D6D492CC2FCE>