From nobody@FreeBSD.org Fri Nov 6 19:56:15 2009 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41083106566C for ; Fri, 6 Nov 2009 19:56:15 +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 307258FC12 for ; Fri, 6 Nov 2009 19:56:15 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA6JuEpu078873 for ; Fri, 6 Nov 2009 19:56:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA6JuEkb078856; Fri, 6 Nov 2009 19:56:14 GMT (envelope-from nobody) Message-Id: <200911061956.nA6JuEkb078856@www.freebsd.org> Date: Fri, 6 Nov 2009 19:56:14 GMT From: Daniel Casner To: freebsd-gnats-submit@FreeBSD.org Subject: High bandwidth use causes loss of wlan connection X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 140346 >Category: kern >Synopsis: [wlan] High bandwidth use causes loss of wlan connection >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-net >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 06 20:00:04 UTC 2009 >Closed-Date: >Last-Modified: Mon Nov 09 01:00:39 UTC 2009 >Originator: Daniel Casner >Release: 8.0-BETA3 >Organization: Anybots Inc. >Environment: 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 08:58:35 PDT 2009 root@plutonium:/usr/obj/usr/src.RELENG_8/sys/GENERIC i386 >Description: I am using a rum wireless card (Asus WL-167g) wireless card and creating a wlan virtual device from it to connect to a wireless network. This same card worked flawlessly under FreeBSD 7. The interface associates with wireless networks just fine, however, any time I try to push a large amount of data over the interface, such as writing a 100Mb file over NFS, the connection will die and not be restored. Setting "wlandebug state+scan" it appears that the wlan device is performing background scans and re-associating correctly, however, the operating system does not resume sending packets over the interface. I can not ping from the wireless device or ping it from the out side after the connection dies. >How-To-Repeat: Set up a wireless connection, here is an example from my rc.conf wlans_rum0="wlan0" ifconfig_wlan0="ssid Anybots 10.10.10.27 netmask 255.255.255.0" defaultrouter="10.10.10.20" Mount an NFS partition, write a large file over NFS. The connection is usually lost fairly quickly. Running: ifconfig wlan0 down ifconfig wlan0 up scan Usually restores the connection, however, continuing to try and push a large amount of bandwidth will cause it to die again. >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sat Nov 7 02:42:59 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=140346 From: Weongyo Jeong To: Daniel Casner Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/140346: High bandwidth use causes loss of wlan connection Date: Sun, 8 Nov 2009 02:46:04 -0800 On Fri, Nov 06, 2009 at 07:56:14PM +0000, Daniel Casner wrote: > > >Number: 140346 > >Category: misc > >Synopsis: High bandwidth use causes loss of wlan connection > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Nov 06 20:00:04 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: Daniel Casner > >Release: 8.0-BETA3 > >Organization: > Anybots Inc. > >Environment: > 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 08:58:35 PDT 2009 root@plutonium:/usr/obj/usr/src.RELENG_8/sys/GENERIC i386 > >Description: > I am using a rum wireless card (Asus WL-167g) wireless card and creating a wlan virtual device from it to connect to a wireless network. This same card worked flawlessly under FreeBSD 7. > > The interface associates with wireless networks just fine, however, any time I try to push a large amount of data over the interface, such as writing a 100Mb file over NFS, the connection will die and not be restored. > > Setting "wlandebug state+scan" it appears that the wlan device is performing background scans and re-associating correctly, however, the operating system does not resume sending packets over the interface. I can not ping from the wireless device or ping it from the out side after the connection dies. > >How-To-Repeat: > Set up a wireless connection, here is an example from my rc.conf > > wlans_rum0="wlan0" > ifconfig_wlan0="ssid Anybots 10.10.10.27 netmask 255.255.255.0" > defaultrouter="10.10.10.20" > > Mount an NFS partition, write a large file over NFS. > > The connection is usually lost fairly quickly. > > > Running: > > ifconfig wlan0 down > ifconfig wlan0 up scan > > Usually restores the connection, however, continuing to try and push a large amount of bandwidth will cause it to die again. It looks it's a known issue and fixed at r198098. Could you please test with it? regards, Weongyo Jeong >Unformatted: