bge && route problem

Alex Keda admin at lissyara.su
Wed Dec 10 21:41:38 UTC 2008


before last update (2 days ago) I have problem:
when many packets run over interface - network inaccessible - no ping, 
nothing not works. frequently I see problem when update source three 
with fast cvsup mirror. But - no problem with slow mirror.
if I down/up interface - all OK short time - 20-30 seconds.

After last update, problem still, but, system hang after
ifconfig bge0 down && ifconfig bge0 up &
I cannot correct shutdown - only reset.
when system hang, 1 process get all cpu resources:
ps -auxww | grep rout
root 1545 100,0 0,0 2704 912 ?? R 0:21 0:00,73 route add default 
192.168.250.254
ps -auxww | grep ifconf
root        1569  0,0  0,1  7912  1392  v1  L     0:22     0:00,00 
ifconfig bge0 down
root        1572  0,0  0,1  7912  1392  v1  L     0:23     0:00,00 
ifconfig bge0 down
root        1575  0,0  0,1  7912  1392  v1  L     0:23     0:00,00 
ifconfig bge0 down
root        1578  0,0  0,1  7912  1392  v1  L     0:23     0:00,00 
ifconfig bge0 down

network unrecheable

if, before first
ifconfig bge0 down && ifconfig bge0 up &
I connect to network with ssh|another tcp services - system hang later 
5-10 seconds after down/up interface



acer# uname -a
FreeBSD acer.lissyara.int.otradno.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0:
Mon Dec  8 23:41:04 MSK 2008
lissyara at acer.lissyara.int.otradno.ru:/usr/obj/usr/src/sys/color-console
  amd64
acer#

acer# ifconfig bge0
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
         ether 00:1f:29:89:38:f3
         inet 192.168.250.1 netmask 0xffffff00 broadcast 192.168.250.255
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
acer#

acer# dmesg | grep bge
bge0: <Broadcom BCM5906 A2, ASIC rev. 0xc002> mem 0xd0000000-0xd000ffff
irq 16 at device 0.0 on pci16
miibus0: <MII bus> on bge0
bge0: Ethernet address: 00:1f:29:89:38:f3
bge0: [ITHREAD]
acer#

bge0 at pci0:16:0:0:       class=0x020000 card=0x30c2103c chip=0x171314e4
rev=0x02 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'NetLink BCM5906M Fast Ethernet PCIe'
     class      = network
     subclass   = ethernet



More information about the freebsd-current mailing list