From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 1 01:10:14 2011 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 3337D10656CD for ; Sat, 1 Jan 2011 01:10:14 +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 6E0358FC37 for ; Sat, 1 Jan 2011 01:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p011ACrG012306 for ; Sat, 1 Jan 2011 01:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p011AC4T012305; Sat, 1 Jan 2011 01:10:12 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2011 01:10:12 GMT Resent-Message-Id: <201101010110.p011AC4T012305@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, Raphael Kubo da Costa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1EFC106564A for ; Sat, 1 Jan 2011 01:02:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A12548FC12 for ; Sat, 1 Jan 2011 01:02:23 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0112NVM063555 for ; Sat, 1 Jan 2011 01:02:23 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p0112NJf063554; Sat, 1 Jan 2011 01:02:23 GMT (envelope-from nobody) Message-Id: <201101010102.p0112NJf063554@red.freebsd.org> Date: Sat, 1 Jan 2011 01:02:23 GMT From: Raphael Kubo da Costa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/153594: iwn: Network keeps disconnecting when /etc/rc.d/netif restart is run 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: Sat, 01 Jan 2011 01:10:14 -0000 >Number: 153594 >Category: kern >Synopsis: iwn: Network keeps disconnecting when /etc/rc.d/netif restart is run >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: Sat Jan 01 01:10:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Raphael Kubo da Costa >Release: FreeBSD 8.2-PRERELEASE >Organization: >Environment: FreeBSD gibbon 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #23: Wed Dec 29 01:41:46 BRST 2010 root@gibbon:/usr/obj/usr/src/sys/GIBBON amd64 >Description: My wireless network card is an Intel PRO/Wireless 5100, and I'm using the iwn driver. /etc/rc.conf contains the following: wlans_iwn0="wlan0" ifconfig_wlan0="WPA SYNCDHCP" And /etc/wpa_supplicat.conf has the appropriate settings for some access points. When the system boots, the network is established correctly, but whenever I need to restart it via '/etc/rc.d/netif restart', when I ping my access point around 10 packets are sent before the network goes down and 'ifconfig wlan0' shows it is looking for different APs (or even the same AP in diverse channels, for example). When a connection is established to the AP again, it goes down after a few seconds again. If I do '/etc/rc.d/netif restart' again, the connection stops dropping. >How-To-Repeat: /etc/rc.d/netif restart >Fix: >Release-Note: >Audit-Trail: >Unformatted: