Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 18:31:55 GMT
From:      David Gurvich <davidgurvich@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/149969: ralink rt2661 fails to maintain connection
Message-ID:  <201008251831.o7PIVt3g062878@www.freebsd.org>
Resent-Message-ID: <201008251840.o7PIe46U029445@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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: <Ralink Technology RT2661> 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008251831.o7PIVt3g062878>