From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 16 15:20:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A729916A405 for ; Mon, 16 Jul 2007 15:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 84A2113C494 for ; Mon, 16 Jul 2007 15:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6GFK2Ip048109 for ; Mon, 16 Jul 2007 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6GFK25T048108; Mon, 16 Jul 2007 15:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 16 Jul 2007 15:20:02 GMT Resent-Message-Id: <200707161520.l6GFK25T048108@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthieu Michaud Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17BD116A403 for ; Mon, 16 Jul 2007 15:13:37 +0000 (UTC) (envelope-from ohmer@isisgesun2.epfl.ch) Received: from isisgesun2.epfl.ch (isisgesun2.epfl.ch [128.178.21.71]) by mx1.freebsd.org (Postfix) with ESMTP id A2B6A13C4B4 for ; Mon, 16 Jul 2007 15:13:36 +0000 (UTC) (envelope-from ohmer@isisgesun2.epfl.ch) Received: from isisgesun2.epfl.ch (localhost [127.0.0.1]) by isisgesun2.epfl.ch (8.14.1/8.14.1) with ESMTP id l6GEqqrb001392 for ; Mon, 16 Jul 2007 16:52:52 +0200 (CEST) (envelope-from ohmer@isisgesun2.epfl.ch) Received: (from ohmer@localhost) by isisgesun2.epfl.ch (8.14.1/8.14.1/Submit) id l6GEqqUa001391; Mon, 16 Jul 2007 16:52:52 +0200 (CEST) (envelope-from ohmer) Message-Id: <200707161452.l6GEqqUa001391@isisgesun2.epfl.ch> Date: Mon, 16 Jul 2007 16:52:52 +0200 (CEST) From: Matthieu Michaud To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/114632: promisc mode on re not applied X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthieu Michaud List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 15:20:02 -0000 >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@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@pci0:6:0: class=0x020000 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00 vendor = 'D-Link System Inc' class = network subclass = ethernet dmesg : re0: port 0xe800-0xe8ff mem 0xfe125000-0xfe1250ff irq 28 at device 6.0 on pci0 miibus0: on re0 rgephy0: 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: