Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 11:48:15 +0300 (EEST)
From:      "Prokofiev S.P." <proks@logos.uptel.net>
To:        freebsd-net@freebsd.org
Cc:        freebsd-bugs@freebsd.org
Subject:   Hang up/down re0: <D-Link DGE-528(T) in promisc mode
Message-ID:  <20070413104122.I17217@logos.uptel.net>

next in thread | raw e-mail | index | archive | help

I have a problem on FreeBSD 6.2-STABLE with NIC D-Link DGE-528(T).
When I put interface into promiscuous mode or output by tcpdump or simply
ifconfig xxx promisc/ifconfig xxx -promisc, the NIC hang down and then hang up.
This is not normal behaviour...
Sorry for my English.

freebsd>[10:58:47]#>uname -a
FreeBSD freebsd.xxxxx.xx 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Feb 13 16:19:02 EET 2007   proks@freebsd.xxxxx.xx:/usr/obj/usr/src/sys/FREEBSD  i386

from src/sys/dev/re/if_re.c:
__FBSDID("$FreeBSD: src/sys/dev/re/if_re.c,v 1.46.2.25 2007/02/02 00:48:55 yongari Exp $");

freebsd>[11:02:07]#>less /var/log/messages
.......
Apr 13 10:54:52 freebsd kernel: net0: link state changed to DOWN
Apr 13 10:54:52 freebsd kernel: vlan30: link state changed to DOWN
Apr 13 10:54:52 freebsd kernel: vlan10: link state changed to DOWN
Apr 13 10:54:56 freebsd kernel: net0: link state changed to UP
Apr 13 10:54:56 freebsd kernel: vlan30: link state changed to UP
Apr 13 10:54:56 freebsd kernel: vlan10: link state changed to UP

from dmesg:
re0: <D-Link DGE-528(T) Gigabit Ethernet Adapter> port 0xe800-0xe8ff mem 0xee020000-0xee0200ff irq 11 at device 
14.0 on pci0
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
re0: Ethernet address: 00:15:e9:ef:9b:6a
re0: [FAST]

from pciconf -lv:
re0@pci0:14:0:  class=0x020000 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00
     vendor   = 'D-Link System Inc'
     class    = network
     subclass = ethernet

ifconfig:
net0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=4b<RXCSUM,TXCSUM,VLAN_MTU,POLLING>
         ether 00:15:e9:ef:9b:6a
         media: Ethernet autoselect (1000baseTX <full-duplex>)
         status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet 127.0.0.1 netmask 0xff000000 
vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet xxx.xxx.xxx.x netmask 0xffffffc0 broadcast xxx.xxx.xxx.xx
         ether 00:15:e9:ef:9b:6a
         media: Ethernet autoselect (1000baseTX <full-duplex>)
         status: active
         vlan: 10 parent interface: net0
vlan30: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet xxx.xxx.xxx.xxx netmask 0xffffffc0 broadcast xxx.xxx.xxx.xxx
         ether 00:15:e9:ef:9b:6a
         media: Ethernet autoselect (1000baseTX <full-duplex>)
         status: active
         vlan: 30 parent interface: net0




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