kern/114632: promisc mode on re not applied

Matthieu Michaud ohmer at epita.info
Mon Jul 16 15:20:02 UTC 2007


>Number:         114632
>Category:       kern
>Synopsis:       promisc mode on re not applied
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 16 15:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu Michaud
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Matthieu Michaud
>Environment:
System: FreeBSD isisgesun2.epfl.ch 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jul 16 16:09:55 CEST 2007 root at isisgesun2.epfl.ch:/home/ohmer/obj/usr/src/sys/NETEYE i386

>Description:
the change described in [1] are working on my hardware :

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

dmesg :
re0: <D-Link DGE-528(T) Gigabit Ethernet Adapter> port 0xe800-0xe8ff mem 0xfe125000-0xfe1250ff irq 28 at device 6.0 on pci0
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:11:95:61:d1:62
re0: [FAST]

it's a pci device into a dell poweredge 1600sc.

[1] http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c.diff?r1=1.46.2.26;r2=1.46.2.27;only_with_tag=RELENG_6

>How-To-Repeat:
try to tcpdump on re0 and see there is no packet not destinated to your host coming even if there actually is.

>Fix:
i reverted the commit, then remade and reloaded the driver as kld (i'm using a GENERIC kernel stripped of some devices) and now see those packets. however, if one does, the hardware has to be reseted to get in promiscuous mode which is also annoying.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list