From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 25 18:40:04 2010 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 B4C7210656A6 for ; Wed, 25 Aug 2010 18:40:04 +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 753978FC0C for ; Wed, 25 Aug 2010 18:40:04 +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 o7PIe4gY029446 for ; Wed, 25 Aug 2010 18:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7PIe46U029445; Wed, 25 Aug 2010 18:40:04 GMT (envelope-from gnats) Resent-Date: Wed, 25 Aug 2010 18:40:04 GMT Resent-Message-Id: <201008251840.o7PIe46U029445@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, David Gurvich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 295B31065696 for ; Wed, 25 Aug 2010 18:31:56 +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 192CB8FC18 for ; Wed, 25 Aug 2010 18:31:56 +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 o7PIVtkc062879 for ; Wed, 25 Aug 2010 18:31:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7PIVt3g062878; Wed, 25 Aug 2010 18:31:55 GMT (envelope-from nobody) Message-Id: <201008251831.o7PIVt3g062878@www.freebsd.org> Date: Wed, 25 Aug 2010 18:31:55 GMT From: David Gurvich To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/149969: ralink rt2661 fails to maintain connection 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: Wed, 25 Aug 2010 18:40:04 -0000 >Number: 149969 >Category: kern >Synopsis: ralink rt2661 fails to maintain connection >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 25 18:40:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: David Gurvich >Release: 8.1-release >Organization: none >Environment: FreeBSD Lucifer 8.1-RELEASE FreeBSD 8.1-RELEASE #0 r210200M: Wed Jul 21 13:25:43 CEST 2010 root@neo.vx.sk:/usr/obj/i386/usr/src/sys/GENERIC i386 >Description: The ralink driver seems to put the card to sleep at random intervals and fails to wakeup or drops the connection. I can bring the connection back up by cycling ral0 with ifconfig ral0 down/up. Going through /etc/rc.d/netif restart also works. Here is the relevant output of pciconf -lv ral0@pci0:1:2:0: class=0x028000 card=0xe9351458 chip=0x04011814 rev=0x00 hdr=0x00 vendor = 'Ralink Technology, Corp.' device = 'Ralink MIMO RT 2661 Wireless 54 Mbps (RT 2661)' class = network Here are some excerpts from dmesg, with the last line repeated multiple times. ral0: mem 0xd0200000-0xd0207fff irq 11 at device 2.0 on pci1 ral0: MAC/BBP RT2661D, RF RT2529 (MIMO XR) ral0: [ITHREAD] ral0: need multicast update callback Even though I see that irq11 is being used I don't see that with vmstat -i irq11: cbb0 fwohci* I'm not certain how to get more information. >How-To-Repeat: rc.conf: wlans_ral0="wlan0" ifconfig_wlan0="WPA DHCP" wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel # Home network network={ ssid="myssid" key_mgmt=NONE wep_tx_keyidx=0 wep_key0=123456789A } >Fix: >Release-Note: >Audit-Trail: >Unformatted: