From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 6 06:00:11 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3D91065684 for ; Fri, 6 Jun 2008 06:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 64C1D8FC1D for ; Fri, 6 Jun 2008 06:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5660BWx054120 for ; Fri, 6 Jun 2008 06:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5660BaA054119; Fri, 6 Jun 2008 06:00:11 GMT (envelope-from gnats) Resent-Date: Fri, 6 Jun 2008 06:00:11 GMT Resent-Message-Id: <200806060600.m5660BaA054119@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, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C14321065672 for ; Fri, 6 Jun 2008 05:54:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A5E9B8FC16 for ; Fri, 6 Jun 2008 05:54:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m565sbOo017109 for ; Fri, 6 Jun 2008 05:54:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m565sbGE017108; Fri, 6 Jun 2008 05:54:37 GMT (envelope-from nobody) Message-Id: <200806060554.m565sbGE017108@www.freebsd.org> Date: Fri, 6 Jun 2008 05:54:37 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/124341: promiscuous mode for wireless device ral0 looses signal after ~30 mins (airodump-ng loses all stations after ~30 minutes) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2008 06:00:11 -0000 >Number: 124341 >Category: kern >Synopsis: promiscuous mode for wireless device ral0 looses signal after ~30 mins (airodump-ng loses all stations after ~30 minutes) >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: Fri Jun 06 06:00:10 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 7.0-STABLE >Organization: n/a >Environment: >Description: When I try using net-mgmt/airodump-ng (/usr/local/sbin/airodump-ng -w xx ral0) it works for ~30 mins and then loses all stations one by one. Restarting this command gets it to the state with no stations right away. But after I do 'ifconfig ral0 down ; ifconfig ral0 up' command works again. Until it loses stations in ~30 minutes again and everything repeats. It seems that ral0 gets into some internal state that prevents airodump-ng from picking up packets. And down/up clears it. But the output of 'ifconfig ral0' doesn't change after down/up: ral0: flags=2a9c3 metric 0 mtu 1500 ether 00:18:f8:2e:40:25 inet 192.168.168.133 netmask 0xffffff00 broadcast 192.168.168.255 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: associated ssid "" channel 5 (2432 Mhz 11g) bssid 00:18:f8:2e:40:25 authmode OPEN privacy OFF txpower 50 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS My card is recognized as: ral0: mem 0xcffe8000-0xcffeffff irq 17 at device 10.0 on pci0 And I use 7.0-STABLE. This seems like a bug in the driver. But I am asking here hoping someone will have an answer off the top of their head. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: